xref: /linux/tools/perf/util/config.h (revision 0883c2c06fb5bcf5b9e008270827e63c09a88c1e)
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 */
27