diff options
author | Ian Rogers <[email protected]> | 2023-08-01 13:54:52 -0700 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2023-08-08 14:33:57 -0300 |
commit | 487ae3b42d1040b4cd5ff9754e7516b409204029 (patch) | |
tree | 996cbcd5b153ecb60688f7bc39a84125ffec7026 /lib/memory-notifier-error-inject.c | |
parent | 8cdd4aeff2e858c95bb088409028893cfb4e53d4 (diff) |
perf stat: Don't display zero tool counts
Andi reported (see link below) a regression when printing the
'duration_time' tool event, where it gets printed as "not counted" for
most of the CPUs, fix it by skipping zero counts for tool events.
Reported-by: Andi Kleen <[email protected]>
Signed-off-by: Ian Rogers <[email protected]>
Tested-by: Andi Kleen <[email protected]>
Tested-by: Arnaldo Carvalho de Melo <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Athira Rajeev <[email protected]>
Cc: Claire Jensen <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Kan Liang <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: https://lore.kernel.org/all/ZMlrzcVrVi1lTDmn@tassilo/
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions