mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
event: Allow multiple spy declarations for each event
At present only one spy is allowed per event. Update the naming to allow more than one, since some need this flexibility, e.g. the EVT_FT_FIXUP event. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
f39e5b802a
commit
b5001cb4bd
2 changed files with 5 additions and 3 deletions
|
@ -17,8 +17,10 @@ sys.path.insert(1, os.path.join(our_path, '../tools'))
|
|||
from binman import elf
|
||||
from patman import tools
|
||||
|
||||
# A typical symbol looks like this:
|
||||
# _u_boot_list_2_evspy_info_2_EVT_MISC_INIT_F_3_sandbox_misc_init_f
|
||||
PREFIX = '_u_boot_list_2_evspy_info_2_'
|
||||
RE_EVTYPE = re.compile('%s(.*)' % PREFIX)
|
||||
RE_EVTYPE = re.compile('%s(.*)_3_.*' % PREFIX)
|
||||
|
||||
def show_sym(fname, data, endian, evtype, sym):
|
||||
"""Show information about an evspy entry
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue