summaryrefslogtreecommitdiff
path: root/tools/perf/builtin-trace.c
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2022-07-13 15:34:59 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2022-07-17 16:57:07 +0300
commitdeb44a6249f696106645c63c0603eab08a6122af (patch)
tree3fb55a9e1858294d96b10193deceb52a9f383238 /tools/perf/builtin-trace.c
parent498c7a54f169b2699104d3060604d840424f15d2 (diff)
downloadlinux-deb44a6249f696106645c63c0603eab08a6122af.tar.xz
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 <kan.liang@linux.intel.com> Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Cc: Ian Rogers <irogers@google.com> Cc: Jin Yao <yao.jin@linux.intel.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Thomas Richter <tmricht@linux.ibm.com> Link: https://lore.kernel.org/r/20220713123459.24145-3-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-trace.c')
0 files changed, 0 insertions, 0 deletions