diff options
author | Sukadev Bhattiprolu <[email protected]> | 2013-01-22 22:24:54 -0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2013-01-31 13:07:50 -0300 |
commit | 1c53a270724df91276d28d66f8e5a302fc6a5d74 (patch) | |
tree | 73351ee19f0c8fe04815e4f3603329cecbe0b2c8 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 2663960c159f23cbfb8e196c96e9fc9f3b5f1a8d (diff) |
perf/POWER7: Make generic event translations available in sysfs
Make the generic perf events in POWER7 available via sysfs.
$ ls /sys/bus/event_source/devices/cpu/events
branch-instructions
branch-misses
cache-misses
cache-references
cpu-cycles
instructions
stalled-cycles-backend
stalled-cycles-frontend
$ cat /sys/bus/event_source/devices/cpu/events/cache-misses
event=0x400f0
This patch is based on commits that implement this functionality on x86.
Eg:
commit a47473939db20e3961b200eb00acf5fcf084d755
Author: Jiri Olsa <[email protected]>
Date: Wed Oct 10 14:53:11 2012 +0200
perf/x86: Make hardware event translations available in sysfs
Changelog:[v2]
[Jiri Osla] Drop EVENT_ID() macro since it is only used once.
Signed-off-by: Sukadev Bhattiprolu <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Anton Blanchard <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Robert Richter <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions