Lines Matching defs:set
38 static int set_config(struct perf_config_set *set, const char *file_name)
45 if (set == NULL)
55 perf_config_items__for_each_entry(&set->sections, section) {
73 static int show_spec_config(struct perf_config_set *set, const char *var)
78 if (set == NULL)
81 perf_config_items__for_each_entry(&set->sections, section) {
103 static int show_config(struct perf_config_set *set)
108 if (set == NULL)
111 perf_config_set__for_each_entry(set, section, item) {
160 struct perf_config_set *set;
187 * At only 'config' sub-command, individually use the config set
190 set = perf_config_set__new();
191 if (!set)
201 if (show_config(set) < 0) {
227 if (show_spec_config(set, var) < 0) {
234 if (perf_config_set__collect(set, config_filename,
249 if (set_config(set, config_filename) < 0) {
250 pr_err("Failed to set the configs on %s\n",
258 perf_config_set__delete(set);