Lines Matching refs:set
38 static int set_config(struct perf_config_set *set, const char *file_name) in set_config() argument
45 if (set == NULL) in set_config()
55 perf_config_items__for_each_entry(&set->sections, section) { in set_config()
73 static int show_spec_config(struct perf_config_set *set, const char *var) in show_spec_config() argument
78 if (set == NULL) in show_spec_config()
81 perf_config_items__for_each_entry(&set->sections, section) { in show_spec_config()
103 static int show_config(struct perf_config_set *set) in show_config() argument
108 if (set == NULL) in show_config()
111 perf_config_set__for_each_entry(set, section, item) { in show_config()
162 struct perf_config_set *set; in perf_config__set_variable() local
175 set = perf_config_set__new(); in perf_config__set_variable()
176 if (!set) in perf_config__set_variable()
179 if (perf_config_set__collect(set, config_filename, var, value) < 0) { in perf_config__set_variable()
184 if (set_config(set, config_filename) < 0) { in perf_config__set_variable()
191 perf_config_set__delete(set); in perf_config__set_variable()
198 struct perf_config_set *set; in cmd_config() local
228 set = perf_config_set__new(); in cmd_config()
229 if (!set) in cmd_config()
239 if (show_config(set) < 0) { in cmd_config()
265 if (show_spec_config(set, var) < 0) { in cmd_config()
272 if (perf_config_set__collect(set, config_filename, in cmd_config()
287 if (set_config(set, config_filename) < 0) { in cmd_config()
296 perf_config_set__delete(set); in cmd_config()