Lines Matching refs:head_config
48 static int get_config_terms(struct list_head *head_config,
458 struct list_head *head_config) in parse_events_add_cache() argument
475 config_name = get_config_name(head_config); in parse_events_add_cache()
517 if (head_config) { in parse_events_add_cache()
518 if (config_attr(&attr, head_config, err, in parse_events_add_cache()
522 if (get_config_terms(head_config, &config_terms)) in parse_events_add_cache()
562 struct list_head *head_config) in add_tracepoint() argument
571 if (head_config) { in add_tracepoint()
574 if (get_config_terms(head_config, &config_terms)) in add_tracepoint()
586 struct list_head *head_config) in add_tracepoint_multi_event() argument
618 err, head_config); in add_tracepoint_multi_event()
634 struct list_head *head_config) in add_tracepoint_event() argument
638 err, head_config) : in add_tracepoint_event()
640 err, head_config); in add_tracepoint_event()
646 struct list_head *head_config) in add_tracepoint_multi_sys() argument
670 evt_name, err, head_config); in add_tracepoint_multi_sys()
680 struct list_head *head_config; member
707 param->head_config); in add_bpf_event()
734 struct list_head *head_config) in parse_events_load_bpf_obj() argument
738 struct __add_bpf_event_param param = {parse_state, list, head_config}; in parse_events_load_bpf_obj()
787 struct list_head *head_config) in parse_events_config_bpf() argument
792 if (!head_config || list_empty(head_config)) in parse_events_config_bpf()
795 list_for_each_entry(term, head_config, list) { in parse_events_config_bpf()
867 struct list_head *head_config) in parse_events_load_bpf() argument
873 if (head_config) in parse_events_load_bpf()
874 split_bpf_config_terms(head_config, &obj_head_config); in parse_events_load_bpf()
896 err = parse_events_load_bpf_obj(parse_state, list, obj, head_config); in parse_events_load_bpf()
905 if (head_config) in parse_events_load_bpf()
906 list_splice_tail(&obj_head_config, head_config); in parse_events_load_bpf()
1237 static int get_config_terms(struct list_head *head_config, in get_config_terms() argument
1271 list_for_each_entry(term, head_config, list) { in get_config_terms()
1342 static int get_config_chgs(struct perf_pmu *pmu, struct list_head *head_config, in get_config_chgs() argument
1349 list_for_each_entry(term, head_config, list) { in get_config_chgs()
1375 struct list_head *head_config) in parse_events_add_tracepoint() argument
1377 if (head_config) { in parse_events_add_tracepoint()
1380 if (config_attr(&attr, head_config, err, in parse_events_add_tracepoint()
1387 err, head_config); in parse_events_add_tracepoint()
1390 err, head_config); in parse_events_add_tracepoint()
1396 struct list_head *head_config) in parse_events_add_numeric() argument
1405 if (head_config) { in parse_events_add_numeric()
1406 if (config_attr(&attr, head_config, parse_state->error, in parse_events_add_numeric()
1410 if (get_config_terms(head_config, &config_terms)) in parse_events_add_numeric()
1415 get_config_name(head_config), &config_terms); in parse_events_add_numeric()
1439 struct list_head *head_config, in parse_events_add_pmu() argument
1456 if (head_config) { in parse_events_add_pmu()
1459 list_for_each_entry(term, head_config, list) { in parse_events_add_pmu()
1485 if (!head_config) { in parse_events_add_pmu()
1498 if (!parse_state->fake_pmu && perf_pmu__check_alias(pmu, head_config, &info)) in parse_events_add_pmu()
1504 if (head_config) { in parse_events_add_pmu()
1507 list_for_each_entry(term, head_config, list) { in parse_events_add_pmu()
1518 if (config_attr(&attr, head_config, parse_state->error, config_term_pmu)) in parse_events_add_pmu()
1521 if (get_config_terms(head_config, &config_terms)) in parse_events_add_pmu()
1528 if (pmu->default_config && get_config_chgs(pmu, head_config, &config_terms)) in parse_events_add_pmu()
1531 if (!parse_state->fake_pmu && perf_pmu__config(pmu, &attr, head_config, parse_state->error)) { in parse_events_add_pmu()
1544 get_config_name(head_config), pmu, in parse_events_add_pmu()