diff options
author | Madhavan Srinivasan <maddy@linux.vnet.ibm.com> | 2017-07-31 11:33:21 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-08-10 14:30:05 +0200 |
commit | 91e0bd1e62519bdb50e35775ec37b27a9535b8d7 (patch) | |
tree | 50b00ae891be1dd56d273517909b63d40ade8e3e /arch/powerpc/perf/power9-pmu.c | |
parent | powerpc/perf: Factor out PPMU_ONLY_COUNT_RUN check code from power8 (diff) | |
download | linux-91e0bd1e62519bdb50e35775ec37b27a9535b8d7.tar.xz linux-91e0bd1e62519bdb50e35775ec37b27a9535b8d7.zip |
powerpc/perf: Add PM_LD_MISS_L1 and PM_BR_2PATH to power9 event list
Add couple of more events (PM_LD_MISS_L1 and PM_BR_2PATH) to
power9 event list and power9_event_alternatives array (these
events can be counted in more than one PMC).
Signed-off-by: Madhavan Srinivasan <maddy@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/perf/power9-pmu.c')
-rw-r--r-- | arch/powerpc/perf/power9-pmu.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/perf/power9-pmu.c b/arch/powerpc/perf/power9-pmu.c index d83aa24b77d4..bbf675983f21 100644 --- a/arch/powerpc/perf/power9-pmu.c +++ b/arch/powerpc/perf/power9-pmu.c @@ -109,6 +109,8 @@ static const unsigned int power9_event_alternatives[][MAX_ALT] = { { PM_INST_DISP, PM_INST_DISP_ALT }, { PM_RUN_CYC_ALT, PM_RUN_CYC }, { PM_RUN_INST_CMPL_ALT, PM_RUN_INST_CMPL }, + { PM_LD_MISS_L1, PM_LD_MISS_L1_ALT }, + { PM_BR_2PATH, PM_BR_2PATH_ALT }, }; static int power9_get_alternatives(u64 event, unsigned int flags, u64 alt[]) |