xref: /linux/tools/perf/arch/powerpc/util/mem-events.c (revision 79790b6818e96c58fe2bffee1b418c16e64e7b80)
1f0fabf9cSRavi Bangoria // SPDX-License-Identifier: GPL-2.0
2abbdd79bSKan Liang #include "util/map_symbol.h"
3abbdd79bSKan Liang #include "util/mem-events.h"
4f0fabf9cSRavi Bangoria #include "mem-events.h"
5f0fabf9cSRavi Bangoria 
6*db95c2ceSKan Liang #define E(t, n, s, l, a) { .tag = t, .name = n, .event_name = s, .ldlat = l, .aux_event = a }
7f0fabf9cSRavi Bangoria 
8abbdd79bSKan Liang struct perf_mem_event perf_mem_events_power[PERF_MEM_EVENTS__MAX] = {
9*db95c2ceSKan Liang 	E("ldlat-loads",	"%s/mem-loads/",	"mem-loads",	false,	0),
10*db95c2ceSKan Liang 	E("ldlat-stores",	"%s/mem-stores/",	"mem-stores",	false,	0),
11abbdd79bSKan Liang 	E(NULL,			NULL,			NULL,		false,	0),
12abbdd79bSKan Liang };
13