Lines Matching defs:set
37 static int set_config(struct perf_config_set *set, const char *file_name)
44 if (set == NULL)
54 perf_config_items__for_each_entry(&set->sections, section) {
72 static int show_spec_config(struct perf_config_set *set, const char *var)
77 if (set == NULL)
80 perf_config_items__for_each_entry(&set->sections, section) {
102 static int show_config(struct perf_config_set *set)
107 if (set == NULL)
110 perf_config_set__for_each_entry(set, section, item) {
159 struct perf_config_set *set;
185 * At only 'config' sub-command, individually use the config set
188 set = perf_config_set__new();
189 if (!set)
199 if (show_config(set) < 0) {
225 if (show_spec_config(set, var) < 0) {
232 if (perf_config_set__collect(set, config_filename,
247 if (set_config(set, config_filename) < 0) {
248 pr_err("Failed to set the configs on %s\n",
256 perf_config_set__delete(set);