]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/perf: Add mem access events to sysfs
authorMadhavan Srinivasan <maddy@linux.vnet.ibm.com>
Mon, 10 Dec 2018 03:59:05 +0000 (09:29 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 30 Jan 2019 23:38:27 +0000 (10:38 +1100)
commit2ac67ac14698b341c3aa0becb2fa889f8f63ee4d
tree14d7ec122184aba6d6099dade1f24d8daeb4b049
parenta559d96cc19b26a67ba4f8983174d416f04d240c
powerpc/perf: Add mem access events to sysfs

Add mem-loads/mem-stores events to sysfs.
The event is formed based on raw event encoding.
Primary PMU event used here is PM_MRK_INST_CMPL
along with MMCRA[SM] modes and Thresholding bit

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