test: initf_malloc is only traced with EARLY_TRACE
Only if early tracing is enable the function initf_malloc can be traced. Add a configuration check. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <simon.glass@canonical.com>
This commit is contained in:
@@ -159,6 +159,7 @@ def check_function(ubman, fname, proftool, map_fname, trace_dat):
|
||||
base = timestamp
|
||||
|
||||
# Check for some expected functions
|
||||
if ubman.config.buildconfig.get('config_trace_early'):
|
||||
assert 'initf_malloc' in vals.keys()
|
||||
assert 'initr_watchdog' in vals.keys()
|
||||
assert 'initr_dm' in vals.keys()
|
||||
|
||||
Reference in New Issue
Block a user