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