diff options
| author | Heinrich Schuchardt <[email protected]> | 2025-12-21 02:58:58 +0100 |
|---|---|---|
| committer | Heinrich Schuchardt <[email protected]> | 2026-01-19 10:31:21 +0100 |
| commit | ddfb487a280497f7f4f4efcc092257ab4bc05341 (patch) | |
| tree | 6d9f691c872d3d76271e1cffddf837a55a7436e5 /test | |
| parent | e7bbbd8e094cada44234130ac94ed847506d3c4f (diff) | |
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 <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'test')
| -rw-r--r-- | test/py/tests/test_trace.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/py/tests/test_trace.py b/test/py/tests/test_trace.py index fcdcbe2c6db..3cb14b1c6b9 100644 --- a/test/py/tests/test_trace.py +++ b/test/py/tests/test_trace.py @@ -159,7 +159,8 @@ def check_function(ubman, fname, proftool, map_fname, trace_dat): base = timestamp # Check for some expected functions - assert 'initf_malloc' in vals.keys() + 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() |
