]> git.baikalelectronics.ru Git - uboot.git/commit
event: Add a script to decode the event-spy list
authorSimon Glass <sjg@chromium.org>
Fri, 4 Mar 2022 15:43:07 +0000 (08:43 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 10 Mar 2022 13:28:36 +0000 (08:28 -0500)
commitc2073dc88bd3bcf895c9d7f98dbc85444073a822
treeffb9e3009d8b9b9559b7cf784b9f47d0837092b9
parentc3b1cee1e3f42d54b478d3fddac6983974358007
event: Add a script to decode the event-spy list

For debugging and dicoverability it is useful to be able to see a list of
each event spy in a U-Boot ELF file. Add a script which shows this, along
with the event type and the source location. This makes events a little
easier to use than weak functions, for example.

Add a basic sandbox test as well. We could provide a test for other
boards, but for now, few use events.

Signed-off-by: Simon Glass <sjg@chromium.org>
MAINTAINERS
scripts/event_dump.py [new file with mode: 0755]
test/py/tests/test_event_dump.py [new file with mode: 0644]