Lines Matching refs:head_config
46 static int get_config_terms(struct list_head *head_config,
409 struct list_head *head_config) in parse_events_add_cache() argument
427 config_name = get_config_name(head_config); in parse_events_add_cache()
469 if (head_config) { in parse_events_add_cache()
470 if (config_attr(&attr, head_config, err, in parse_events_add_cache()
474 if (get_config_terms(head_config, &config_terms)) in parse_events_add_cache()
513 struct list_head *head_config) in add_tracepoint() argument
523 if (head_config) { in add_tracepoint()
526 if (get_config_terms(head_config, &config_terms)) in add_tracepoint()
538 struct list_head *head_config) in add_tracepoint_multi_event() argument
570 err, head_config); in add_tracepoint_multi_event()
586 struct list_head *head_config) in add_tracepoint_event() argument
590 err, head_config) : in add_tracepoint_event()
592 err, head_config); in add_tracepoint_event()
598 struct list_head *head_config) in add_tracepoint_multi_sys() argument
622 evt_name, err, head_config); in add_tracepoint_multi_sys()
632 struct list_head *head_config; member
659 param->head_config); in add_bpf_event()
686 struct list_head *head_config) in parse_events_load_bpf_obj() argument
690 struct __add_bpf_event_param param = {parse_state, list, head_config}; in parse_events_load_bpf_obj()
739 struct list_head *head_config) in parse_events_config_bpf() argument
744 if (!head_config || list_empty(head_config)) in parse_events_config_bpf()
747 list_for_each_entry(term, head_config, list) { in parse_events_config_bpf()
817 struct list_head *head_config) in parse_events_load_bpf() argument
823 if (head_config) in parse_events_load_bpf()
824 split_bpf_config_terms(head_config, &obj_head_config); in parse_events_load_bpf()
846 err = parse_events_load_bpf_obj(parse_state, list, obj, head_config); in parse_events_load_bpf()
855 if (head_config) in parse_events_load_bpf()
856 list_splice_tail(&obj_head_config, head_config); in parse_events_load_bpf()
1169 static int get_config_terms(struct list_head *head_config, in get_config_terms() argument
1189 list_for_each_entry(term, head_config, list) { in get_config_terms()
1248 struct list_head *head_config) in parse_events_add_tracepoint() argument
1250 if (head_config) { in parse_events_add_tracepoint()
1253 if (config_attr(&attr, head_config, err, in parse_events_add_tracepoint()
1260 err, head_config); in parse_events_add_tracepoint()
1263 err, head_config); in parse_events_add_tracepoint()
1269 struct list_head *head_config) in parse_events_add_numeric() argument
1278 if (head_config) { in parse_events_add_numeric()
1279 if (config_attr(&attr, head_config, parse_state->error, in parse_events_add_numeric()
1283 if (get_config_terms(head_config, &config_terms)) in parse_events_add_numeric()
1288 get_config_name(head_config), &config_terms); in parse_events_add_numeric()
1312 struct list_head *head_config, in parse_events_add_pmu() argument
1342 if (!head_config) { in parse_events_add_pmu()
1355 if (perf_pmu__check_alias(pmu, head_config, &info)) in parse_events_add_pmu()
1362 if (config_attr(&attr, head_config, parse_state->error, config_term_pmu)) in parse_events_add_pmu()
1365 if (get_config_terms(head_config, &config_terms)) in parse_events_add_pmu()
1368 if (perf_pmu__config(pmu, &attr, head_config, parse_state->error)) in parse_events_add_pmu()
1372 get_config_name(head_config), pmu, in parse_events_add_pmu()