diff options
author | Ian Rogers <[email protected]> | 2022-12-14 22:47:24 -0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2022-12-21 14:52:40 -0300 |
commit | ed4c1778cc1abd18d491d0eecb7947c7cac3a598 (patch) | |
tree | 7da29050ea867f6ca6820d2293a45f3103da0f1a /net/unix/af_unix.c | |
parent | ad9ef9eb64a2230c12fa5c6c98aed176428012e8 (diff) |
perf test pmu-events: Fake PMU metric workaround
We test metrics with fake events with fake values. The fake values may
yield division by zero and so we count both up and down to try to
avoid this. Unfortunately this isn't sufficient for some metrics and
so don't fail the test for them.
Add the metric name to debug output.
Signed-off-by: Ian Rogers <[email protected]>
Acked-by: Kan Liang <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Caleb Biggers <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: John Garry <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Perry Taylor <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: Xing Zhengjun <[email protected]>
Link: http://lore.kernel.org/lkml/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions