xref: /linux/tools/perf/arch/arm64/util/mem-events.c (revision 79790b6818e96c58fe2bffee1b418c16e64e7b80)
140714c58SLeo Yan // SPDX-License-Identifier: GPL-2.0
2bb65acdcSKan Liang #include "util/map_symbol.h"
3bb65acdcSKan Liang #include "util/mem-events.h"
440714c58SLeo Yan #include "mem-events.h"
540714c58SLeo Yan 
6*db95c2ceSKan Liang #define E(t, n, s, l, a) { .tag = t, .name = n, .event_name = s, .ldlat = l, .aux_event = a }
740714c58SLeo Yan 
8bb65acdcSKan Liang struct perf_mem_event perf_mem_events_arm[PERF_MEM_EVENTS__MAX] = {
9*db95c2ceSKan Liang 	E("spe-load",	"%s/ts_enable=1,pa_enable=1,load_filter=1,store_filter=0,min_latency=%u/",	NULL,	true,	0),
10*db95c2ceSKan Liang 	E("spe-store",	"%s/ts_enable=1,pa_enable=1,load_filter=0,store_filter=1/",			NULL,	false,	0),
11*db95c2ceSKan Liang 	E("spe-ldst",	"%s/ts_enable=1,pa_enable=1,load_filter=1,store_filter=1,min_latency=%u/",	NULL,	true,	0),
1240714c58SLeo Yan };
13