summaryrefslogtreecommitdiffstats
path: root/tools/perf/arch/powerpc/util/mem-events.c
blob: d08311f04e95fc7d0ac00226b38b39ec62b31bca (plain)
1
2
3
4
5
6
7
8
9
10
11
// SPDX-License-Identifier: GPL-2.0
#include "mem-events.h"

/* PowerPC does not support 'ldlat' parameter. */
char *perf_mem_events__name(int i)
{
	if (i == PERF_MEM_EVENTS__LOAD)
		return (char *) "cpu/mem-loads/";

	return (char *) "cpu/mem-stores/";
}