summaryrefslogtreecommitdiffstats
path: root/tools/perf/arch/powerpc/util/pmu.c
blob: 554675deef7ba2890da2d413369d56f3c695462a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// SPDX-License-Identifier: GPL-2.0

#include <string.h>

#include "../../../util/pmu.h"
#include "mem-events.h"

void perf_pmu__arch_init(struct perf_pmu *pmu)
{
	if (pmu->is_core)
		pmu->mem_events = perf_mem_events_power;
}