perf mem: Add -e record option
[deliverable/linux.git] / tools / perf / util / mem-events.h
CommitLineData
acbe613e
JO
1#ifndef __PERF_MEM_EVENTS_H
2#define __PERF_MEM_EVENTS_H
3
4#include <stdbool.h>
5
6struct perf_mem_event {
7 bool record;
ce1e22b0 8 const char *tag;
acbe613e
JO
9 const char *name;
10};
11
12enum {
13 PERF_MEM_EVENTS__LOAD,
14 PERF_MEM_EVENTS__STORE,
15 PERF_MEM_EVENTS__MAX,
16};
17
18extern struct perf_mem_event perf_mem_events[PERF_MEM_EVENTS__MAX];
19
ce1e22b0
JO
20int perf_mem_events__parse(const char *str);
21
acbe613e 22#endif /* __PERF_MEM_EVENTS_H */
This page took 0.028949 seconds and 5 git commands to generate.