blob: 5c5e3043733e0aed24ef1b5684d1be35cc15aabc [file] [log] [blame]
Simon Glass0fd87062022-03-04 08:43:08 -07001.. SPDX-License-Identifier: GPL-2.0+
2
Heinrich Schuchardt1b0c3162024-01-14 14:53:13 +01003.. index::
4 single: event (command)
5
Simon Glass0fd87062022-03-04 08:43:08 -07006event command
7=============
8
9Synopsis
10--------
11
12::
13
14 event list
15
16Description
17-----------
18
19The event command provides spy list.
20
21This shows the following information:
22
23Seq
24 Sequence number of the spy, numbered from 0
25
26Type
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
30Function
31 Address of the function to call
32
33ID
34 ID string for this event, if `CONFIG_EVENT_DEBUG` is enabled. Otherwise this
35 just shows `?`.
36
37
Tom Rini28532562022-04-04 10:45:33 -040038See :doc:`../../develop/event` for more information on events.
Simon Glass0fd87062022-03-04 08:43:08 -070039
40Example
41-------
42
43::
44
45 => event list
46 Seq Type Function ID
47 0 7 misc_init_f 55a070517c68 ?
48
49Configuration
50-------------
51
52The event command is only available if CONFIG_CMD_EVENT=y.