diff options
author | Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com> | 2016-01-11 23:55:26 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-03-10 12:56:05 +0100 |
commit | e0728b50d480da6be228dd160a43b37e4c0b1636 (patch) | |
tree | 7cbe66270a412a5a8b886685d48294580029aef3 /arch/ia64/install.sh | |
parent | powerpc/perf: Remove PME_ prefix for power7 events (diff) | |
download | linux-e0728b50d480da6be228dd160a43b37e4c0b1636.tar.xz linux-e0728b50d480da6be228dd160a43b37e4c0b1636.zip |
powerpc/perf: Export Power8 generic and cache events to sysfs
Power8 supports a large number of events in each susbystem so when a
user runs:
perf stat -e branch-instructions sleep 1
perf stat -e L1-dcache-loads sleep 1
it is not clear as to which PMU events were monitored.
Export the generic hardware and cache perf events for Power8 to sysfs,
so users can precisely determine the PMU event monitored by the generic
event.
Eg:
cat /sys/bus/event_source/devices/cpu/events/branch-instructions
event=0x10068
$ cat /sys/bus/event_source/devices/cpu/events/L1-dcache-loads
event=0x100ee
Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/ia64/install.sh')
0 files changed, 0 insertions, 0 deletions