mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-21 18:14:48 +08:00
powerpc/perf: Support to export SIERs bit in Power8
Patch to export SIER bits to userspace via perf_mem_data_src and perf_sample_data struct. Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com> 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
170a315f41
commit
453ce7a943
@ -325,6 +325,8 @@ static struct power_pmu power8_pmu = {
|
||||
.bhrb_filter_map = power8_bhrb_filter_map,
|
||||
.get_constraint = isa207_get_constraint,
|
||||
.get_alternatives = power8_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(power8_generic_events),
|
||||
|
Loading…
Reference in New Issue
Block a user