event.rst 851 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. .. SPDX-License-Identifier: GPL-2.0+
  2. event command
  3. =============
  4. Synopsis
  5. --------
  6. ::
  7. event list
  8. Description
  9. -----------
  10. The event command provides spy list.
  11. This shows the following information:
  12. Seq
  13. Sequence number of the spy, numbered from 0
  14. Type
  15. Type of the spy, both as a number and a label. If `CONFIG_EVENT_DEBUG` is
  16. not enabled, the label just shows `(unknown)`.
  17. Function
  18. Address of the function to call
  19. ID
  20. ID string for this event, if `CONFIG_EVENT_DEBUG` is enabled. Otherwise this
  21. just shows `?`.
  22. See :doc:`../../develop/event` for more information on events.
  23. Example
  24. -------
  25. ::
  26. => event list
  27. Seq Type Function ID
  28. 0 7 misc_init_f 55a070517c68 ?
  29. Configuration
  30. -------------
  31. The event command is only available if CONFIG_CMD_EVENT=y.