]> git.dujemihanovic.xyz Git - u-boot.git/commit
event: Support a simple spy record
authorSimon Glass <sjg@chromium.org>
Tue, 22 Aug 2023 03:16:48 +0000 (21:16 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 31 Aug 2023 17:16:54 +0000 (13:16 -0400)
commitba5e3e1ed0afb3daa446d2168e5c8c9fe119cbaf
treed265d9442db79b365039fc727d5d0cbe987fbd58
parentb81a024e4a37097d3dcffccb225850f8f6dc8277
event: Support a simple spy record

The current event spy is always passed the event context and the event.
The context is always NULL for a static spy. The event is not often used.

Introduce a 'simple' spy which takes no arguments. This allows us to drop
the adaptation code that many of these spy records use.

Update the event script to find these in the image.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/event.c
include/event.h
scripts/event_dump.py
test/common/event.c
test/py/tests/test_event_dump.py