mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 19:00:25 +00:00
powerpc/perf: Support to export SIERs bit in Power9
Patch to export SIER bits to userspace via perf_mem_data_src and perf_sample_data struct. Signed-off-by: Madhavan Srinivasan <maddy@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
parent
453ce7a943
commit
d148c94c27
1 changed files with 2 additions and 0 deletions
|
@ -427,6 +427,8 @@ static struct power_pmu power9_pmu = {
|
|||
.bhrb_filter_map = power9_bhrb_filter_map,
|
||||
.get_constraint = isa207_get_constraint,
|
||||
.get_alternatives = power9_get_alternatives,
|
||||
.get_mem_data_src = isa207_get_mem_data_src,
|
||||
.get_mem_weight = isa207_get_mem_weight,
|
||||
.disable_pmc = isa207_disable_pmc,
|
||||
.flags = PPMU_HAS_SIER | PPMU_ARCH_207S,
|
||||
.n_generic = ARRAY_SIZE(power9_generic_events),
|
||||
|
|
Loading…
Reference in a new issue