summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/parse-events.h
diff options
context:
space:
mode:
authorJin Yao <yao.jin@linux.intel.com>2021-04-27 09:01:20 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2021-04-29 15:30:59 +0200
commit12279429d8620fe0cb2cdc0ba68cae3cc2c826f9 (patch)
tree0d1dce13e457be9c81d1cec4baca459f9c38fd65 /tools/perf/util/parse-events.h
parentperf pmu: Add hybrid helper functions (diff)
downloadlinux-12279429d8620fe0cb2cdc0ba68cae3cc2c826f9.tar.xz
linux-12279429d8620fe0cb2cdc0ba68cae3cc2c826f9.zip
perf stat: Uniquify hybrid event name
It would be useful to let user know the pmu which the event belongs to. perf-stat has supported '--no-merge' option and it can print the pmu name after the event name, such as: "cycles [cpu_core]" Now this option is enabled by default for hybrid platform but change the format to: "cpu_core/cycles/" If user configs the name, we still use the user specified name. 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> ink: https://lore.kernel.org/r/20210427070139.25256-8-yao.jin@linux.intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/parse-events.h')
0 files changed, 0 insertions, 0 deletions