1 // SPDX-License-Identifier: GPL-2.0 2 #include "util/map_symbol.h" 3 #include "util/mem-events.h" 4 #include "mem-events.h" 5 6 #define E(t, n, s, l, a) { .tag = t, .name = n, .event_name = s, .ldlat = l, .aux_event = a } 7 8 struct perf_mem_event perf_mem_events_power[PERF_MEM_EVENTS__MAX] = { 9 E("ldlat-loads", "%s/mem-loads/", "mem-loads", false, 0), 10 E("ldlat-stores", "%s/mem-stores/", "mem-stores", false, 0), 11 E(NULL, NULL, NULL, false, 0), 12 }; 13