Commit | Line | Data |
---|---|---|
acbe613e JO |
1 | #ifndef __PERF_MEM_EVENTS_H |
2 | #define __PERF_MEM_EVENTS_H | |
3 | ||
4 | #include <stdbool.h> | |
5 | ||
6 | struct perf_mem_event { | |
7 | bool record; | |
ce1e22b0 | 8 | const char *tag; |
acbe613e JO |
9 | const char *name; |
10 | }; | |
11 | ||
12 | enum { | |
13 | PERF_MEM_EVENTS__LOAD, | |
14 | PERF_MEM_EVENTS__STORE, | |
15 | PERF_MEM_EVENTS__MAX, | |
16 | }; | |
17 | ||
18 | extern struct perf_mem_event perf_mem_events[PERF_MEM_EVENTS__MAX]; | |
19 | ||
ce1e22b0 JO |
20 | int perf_mem_events__parse(const char *str); |
21 | ||
acbe613e | 22 | #endif /* __PERF_MEM_EVENTS_H */ |