aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorIan Rogers <[email protected]>2022-06-17 18:39:57 -0700
committerArnaldo Carvalho de Melo <[email protected]>2022-06-19 11:24:05 -0300
commitc788ef61ef2ae51dc9cbd589e118f827585c156f (patch)
tree986d43dce09e9c904a00e80e6857d918070153d2 /lib/memory-notifier-error-inject.c
parent37402d5d061ba914a12d16ee8dda6d6964b4819d (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 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions