2 #ifndef __PERF_CONFIG_H 3 #define __PERF_CONFIG_H 6 #include <linux/list.h> 17 struct list_head items;
23 struct list_head sections;
28 typedef int (*
config_fn_t)(
const char *,
const char *,
void *);
40 const char *var,
const char *
value);
49 #define perf_config_sections__for_each_entry(list, section) \ 50 list_for_each_entry(section, list, node) 57 #define perf_config_items__for_each_entry(list, item) \ 58 list_for_each_entry(item, list, node) 66 #define perf_config_set__for_each_entry(set, section, item) \ 67 perf_config_sections__for_each_entry(&set->sections, section) \ 68 perf_config_items__for_each_entry(§ion->items, item)
int perf_default_config(const char *, const char *, void *)
int config_error_nonbool(const char *)
struct perf_config_set * perf_config_set__new(void)
const char * config_exclusive_filename
int perf_config_set__collect(struct perf_config_set *set, const char *file_name, const char *var, const char *value)
void perf_config__refresh(void)
int perf_config(config_fn_t fn, void *)
void perf_config_set__delete(struct perf_config_set *set)
const char * perf_etc_perfconfig(void)
int perf_config_int(int *dest, const char *, const char *)
int(* config_fn_t)(const char *, const char *, void *)
void perf_config__exit(void)
int perf_config_u64(u64 *dest, const char *, const char *)
int perf_config_bool(const char *, const char *)