diff options
author | Petri Savolainen <petri.savolainen@nokia.com> | 2022-12-05 12:12:54 +0200 |
---|---|---|
committer | Petri Savolainen <petri.savolainen@nokia.com> | 2022-12-05 13:28:24 +0200 |
commit | af27b8bed4c7bff04679309c651dfa7dffa578db (patch) | |
tree | 520a44d4d96c8bb8fc05c36a8bb4a21923d1caf2 /test | |
parent | b531763e0ffc93e6193b74c2a3aac08c490d203e (diff) |
test: sched_perf: print SHM in verbose mode
Print SHM memory reservations which may be useful information
when debugging.
Signed-off-by: Petri Savolainen <petri.savolainen@nokia.com>
Reviewed-by: Matias Elo <matias.elo@nokia.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/performance/odp_sched_perf.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/performance/odp_sched_perf.c b/test/performance/odp_sched_perf.c index cd1afdf60..a97686c12 100644 --- a/test/performance/odp_sched_perf.c +++ b/test/performance/odp_sched_perf.c @@ -1375,6 +1375,9 @@ int main(int argc, char **argv) if (create_queues(global)) return -1; + if (global->test_options.verbose) + odp_shm_print_all(); + /* Start workers */ start_workers(global, instance); |