powerpc/perf: Export Power9 generic and cache events to sysfs
authorMadhavan Srinivasan <maddy@linux.vnet.ibm.com>
Sun, 26 Jun 2016 17:37:09 +0000 (23:07 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 5 Jul 2016 13:49:48 +0000 (23:49 +1000)
commitf1fb60bfde65fe4c4372d480d1b5d57bdba20367
tree09ba8c51cfed3d60a798474e4abaa2e0bc5f14dc
parent8c002dbd05eecbb2933e9668da9614b33c7a97d2
powerpc/perf: Export Power9 generic and cache events to sysfs

Export the generic hardware and cache perf events for Power9 to sysfs,
so users can determine the PMU event monitored.

Signed-off-by: Madhavan Srinivasan <maddy@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/perf/power9-pmu.c