diff options
author | Weilin Wang <[email protected]> | 2023-06-20 10:00:25 -0700 |
---|---|---|
committer | Namhyung Kim <[email protected]> | 2023-06-21 22:23:32 -0700 |
commit | 3ad7092f5145aab4118f575b57f0ab1707b1cd36 (patch) | |
tree | 6d0070fada45e02147dfaa8deccaf02fe1c5516d /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 362f9c907fd8c2be3d5c5686ea787bca25443cdc (diff) |
perf test: Add metric value validation test
Add metric value validation test to check if metric values are with in
correct value ranges. There are three types of tests included: 1)
positive-value test checks if all the metrics collected are non-negative;
2) single-value test checks if the list of metrics have values in given
value ranges; 3) relationship test checks if multiple metrics follow a
given relationship, e.g. memory_bandwidth_read + memory_bandwidth_write =
memory_bandwidth_total.
Signed-off-by: Weilin Wang <[email protected]>
Tested-by: Namhyung Kim <[email protected]>
Cc: [email protected]
Cc: Ian Rogers <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Caleb Biggers <[email protected]>
Cc: Perry Taylor <[email protected]>
Cc: Samantha Alt <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Kan Liang <[email protected]>
Cc: Ingo Molnar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Namhyung Kim <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions