diff options
author | Jin Yao <yao.jin@linux.intel.com> | 2021-04-27 15:01:37 +0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2021-04-29 10:31:00 -0300 |
commit | d9da6f70eb23511007cc6ed0aba02d9f61b3d6cf (patch) | |
tree | 3ab23ed808cd10c697fd1aefffb32956bad342a0 /tools/perf/perf.h | |
parent | c102038892f73cf70f8c50e4fafb45d6e5465129 (diff) | |
download | linux-d9da6f70eb23511007cc6ed0aba02d9f61b3d6cf.tar.bz2 |
perf tests: Support 'Convert perf time to TSC' test for hybrid
Since for "cycles:u' on hybrid platform, it creates two "cycles". So
the second evsel in evlist also needs initialization.
With this patch,
# ./perf test 71
71: Convert perf time to TSC : Ok
Signed-off-by: Jin Yao <yao.jin@linux.intel.com>
Reviewed-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Kan Liang <kan.liang@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20210427070139.25256-25-yao.jin@linux.intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/perf.h')
0 files changed, 0 insertions, 0 deletions