aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/sendmsg4_prog.c
diff options
context:
space:
mode:
authorAdrian Hunter <[email protected]>2022-07-13 15:34:59 +0300
committerArnaldo Carvalho de Melo <[email protected]>2022-07-17 10:57:07 -0300
commitdeb44a6249f696106645c63c0603eab08a6122af (patch)
tree3fb55a9e1858294d96b10193deceb52a9f383238 /tools/testing/selftests/bpf/progs/sendmsg4_prog.c
parent498c7a54f169b2699104d3060604d840424f15d2 (diff)
perf tests: Fix Convert perf time to TSC test for hybrid
The test does not always correctly determine the number of events for hybrids, nor allow for more than 1 evsel when parsing. Fix by iterating the events actually created and getting the correct evsel for the events processed. Fixes: d9da6f70eb235110 ("perf tests: Support 'Convert perf time to TSC' test for hybrid") Reviewed-by: Kan Liang <[email protected]> Signed-off-by: Adrian Hunter <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Jin Yao <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Thomas Richter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/sendmsg4_prog.c')
0 files changed, 0 insertions, 0 deletions