xref: /linux/tools/perf/arch/powerpc/util/pmu.c (revision 79790b6818e96c58fe2bffee1b418c16e64e7b80)
1 // SPDX-License-Identifier: GPL-2.0
2 
3 #include <string.h>
4 
5 #include "../../../util/pmu.h"
6 #include "mem-events.h"
7 
perf_pmu__arch_init(struct perf_pmu * pmu)8 void perf_pmu__arch_init(struct perf_pmu *pmu)
9 {
10 	if (pmu->is_core)
11 		pmu->mem_events = perf_mem_events_power;
12 }
13