aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-annotate.c
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2012-10-10 12:53:17 +0000
committerIngo Molnar <[email protected]>2012-10-24 08:41:27 +0000
commit1d33d6dce11e2c900daeca8110d56b95f1174188 (patch)
tree39effb8dbf8d935d4d83df660733aa578a35f02b /tools/perf/builtin-annotate.c
parentperf tools: Fix PMU object alias initialization (diff)
downloadkernel-1d33d6dce11e2c900daeca8110d56b95f1174188.tar.gz
kernel-1d33d6dce11e2c900daeca8110d56b95f1174188.zip
perf tools: Add support to specify hw event as PMU event term
Add a way to specify hw event as PMU event term like: 'cpu/event=cpu-cycles/u' 'cpu/event=instructions,.../u' 'cpu/cycles,.../u' The 'event=cpu-cycles' term is replaced/translated by the hw events term translation, which is exposed by sysfs 'events' group attribute. Add parser bits, the rest is already handled by the PMU alias code. Signed-off-by: Jiri Olsa <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Corey Ashford <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Stephane Eranian <[email protected]> Signed-off-by: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/builtin-annotate.c')
0 files changed, 0 insertions, 0 deletions