diff options
author | Ian Rogers <[email protected]> | 2022-06-17 18:39:57 -0700 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2022-06-19 11:24:05 -0300 |
commit | c788ef61ef2ae51dc9cbd589e118f827585c156f (patch) | |
tree | 986d43dce09e9c904a00e80e6857d918070153d2 /scripts/gdb/linux/genpd.py | |
parent | 37402d5d061ba914a12d16ee8dda6d6964b4819d (diff) |
perf metrics: Ensure at least 1 id per metric
We may have no events for a metric evaluated to a constant. In such a
case ensure a tool event is at least evaluated for metric parsing and
displaying.
Fixes: 8586d2744ff3065e ("perf metrics: Don't add all tool events for sharing")
Signed-off-by: Ian Rogers <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: John Garry <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: Xing Zhengjun <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/genpd.py')
0 files changed, 0 insertions, 0 deletions