summaryrefslogtreecommitdiff
path: root/doc/usage/cmd/event.rst
blob: 47c900d17e9e6f0e8c134674c3fc0b69b46ea4ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
.. SPDX-License-Identifier: GPL-2.0+

event command
=============

Synopsis
--------

::

    event list

Description
-----------

The event command provides spy list.

This shows the following information:

Seq
    Sequence number of the spy, numbered from 0

Type
    Type of the spy, both as a number and a label. If `CONFIG_EVENT_DEBUG` is
    not enabled, the label just shows `(unknown)`.

Function
    Address of the function to call

ID
    ID string for this event, if `CONFIG_EVENT_DEBUG` is enabled. Otherwise this
    just shows `?`.


See :doc:`../../develop/event` for more information on events.

Example
-------

::

    => event list
    Seq  Type                              Function  ID
      0  7   misc_init_f               55a070517c68  ?

Configuration
-------------

The event command is only available if CONFIG_CMD_EVENT=y.