Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/j.anaszewski...
[linux-2.6-block.git] / tools / perf / util / config.h
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 */