xref: /linux/tools/perf/arch/powerpc/util/mem-events.c (revision f0fabf9c897327abd39018aefb5029aff8c7e133)
1*f0fabf9cSRavi Bangoria // SPDX-License-Identifier: GPL-2.0
2*f0fabf9cSRavi Bangoria #include "mem-events.h"
3*f0fabf9cSRavi Bangoria 
4*f0fabf9cSRavi Bangoria /* PowerPC does not support 'ldlat' parameter. */
5*f0fabf9cSRavi Bangoria char *perf_mem_events__name(int i)
6*f0fabf9cSRavi Bangoria {
7*f0fabf9cSRavi Bangoria 	if (i == PERF_MEM_EVENTS__LOAD)
8*f0fabf9cSRavi Bangoria 		return (char *) "cpu/mem-loads/";
9*f0fabf9cSRavi Bangoria 
10*f0fabf9cSRavi Bangoria 	return (char *) "cpu/mem-stores/";
11*f0fabf9cSRavi Bangoria }
12