blob: 47c900d17e9e6f0e8c134674c3fc0b69b46ea4ab [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
Tom Rini28532562022-04-04 10:45:33 -040035See :doc:`../../develop/event` for more information on events.
Simon Glass0fd87062022-03-04 08:43:08 -070036
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.