Simon Glass | 0fd8706 | 2022-03-04 08:43:08 -0700 | [diff] [blame] | 1 | .. SPDX-License-Identifier: GPL-2.0+ |
| 2 | |
Heinrich Schuchardt | 1b0c316 | 2024-01-14 14:53:13 +0100 | [diff] [blame] | 3 | .. index:: |
| 4 | single: event (command) |
| 5 | |
Simon Glass | 0fd8706 | 2022-03-04 08:43:08 -0700 | [diff] [blame] | 6 | event command |
| 7 | ============= |
| 8 | |
| 9 | Synopsis |
| 10 | -------- |
| 11 | |
| 12 | :: |
| 13 | |
| 14 | event list |
| 15 | |
| 16 | Description |
| 17 | ----------- |
| 18 | |
| 19 | The event command provides spy list. |
| 20 | |
| 21 | This shows the following information: |
| 22 | |
| 23 | Seq |
| 24 | Sequence number of the spy, numbered from 0 |
| 25 | |
| 26 | Type |
| 27 | Type of the spy, both as a number and a label. If `CONFIG_EVENT_DEBUG` is |
| 28 | not enabled, the label just shows `(unknown)`. |
| 29 | |
| 30 | Function |
| 31 | Address of the function to call |
| 32 | |
| 33 | ID |
| 34 | ID string for this event, if `CONFIG_EVENT_DEBUG` is enabled. Otherwise this |
| 35 | just shows `?`. |
| 36 | |
| 37 | |
Tom Rini | 2853256 | 2022-04-04 10:45:33 -0400 | [diff] [blame] | 38 | See :doc:`../../develop/event` for more information on events. |
Simon Glass | 0fd8706 | 2022-03-04 08:43:08 -0700 | [diff] [blame] | 39 | |
| 40 | Example |
| 41 | ------- |
| 42 | |
| 43 | :: |
| 44 | |
| 45 | => event list |
| 46 | Seq Type Function ID |
| 47 | 0 7 misc_init_f 55a070517c68 ? |
| 48 | |
| 49 | Configuration |
| 50 | ------------- |
| 51 | |
| 52 | The event command is only available if CONFIG_CMD_EVENT=y. |