Contributors: 7
Author |
Tokens |
Token Proportion |
Commits |
Commit Proportion |
Kan Liang |
66 |
37.50% |
4 |
28.57% |
Jiri Olsa |
48 |
27.27% |
3 |
21.43% |
Leo Yan |
24 |
13.64% |
1 |
7.14% |
Ravi Bangoria |
21 |
11.93% |
1 |
7.14% |
Jin Yao |
12 |
6.82% |
2 |
14.29% |
Arnaldo Carvalho de Melo |
4 |
2.27% |
2 |
14.29% |
Greg Kroah-Hartman |
1 |
0.57% |
1 |
7.14% |
Total |
176 |
|
14 |
|
// SPDX-License-Identifier: GPL-2.0
#include "linux/string.h"
#include "util/map_symbol.h"
#include "util/mem-events.h"
#include "mem-events.h"
#define MEM_LOADS_AUX 0x8203
#define E(t, n, s, l, a) { .tag = t, .name = n, .event_name = s, .ldlat = l, .aux_event = a }
struct perf_mem_event perf_mem_events_intel[PERF_MEM_EVENTS__MAX] = {
E("ldlat-loads", "%s/mem-loads,ldlat=%u/P", "mem-loads", true, 0),
E("ldlat-stores", "%s/mem-stores/P", "mem-stores", false, 0),
E(NULL, NULL, NULL, false, 0),
};
struct perf_mem_event perf_mem_events_intel_aux[PERF_MEM_EVENTS__MAX] = {
E("ldlat-loads", "{%s/mem-loads-aux/,%s/mem-loads,ldlat=%u/}:P", "mem-loads", true, MEM_LOADS_AUX),
E("ldlat-stores", "%s/mem-stores/P", "mem-stores", false, 0),
E(NULL, NULL, NULL, false, 0),
};
struct perf_mem_event perf_mem_events_amd[PERF_MEM_EVENTS__MAX] = {
E(NULL, NULL, NULL, false, 0),
E(NULL, NULL, NULL, false, 0),
E("mem-ldst", "%s//", NULL, false, 0),
};