Commit | Line | Data |
---|---|---|
20105ca1 TS |
1 | #ifndef __PERF_CONFIG_H |
2 | #define __PERF_CONFIG_H | |
3 | ||
4 | #include <stdbool.h> | |
5 | #include <linux/list.h> | |
6 | ||
7 | struct perf_config_item { | |
8 | char *name; | |
9 | char *value; | |
10 | struct list_head node; | |
11 | }; | |
12 | ||
13 | struct perf_config_section { | |
14 | char *name; | |
15 | struct list_head items; | |
16 | struct list_head node; | |
17 | }; | |
18 | ||
19 | struct perf_config_set { | |
20 | struct list_head sections; | |
21 | }; | |
22 | ||
23 | struct perf_config_set *perf_config_set__new(void); | |
24 | void perf_config_set__delete(struct perf_config_set *set); | |
25 | ||
26 | #endif /* __PERF_CONFIG_H */ |