Lines Matching refs:head_config
50 static int get_config_terms(struct list_head *head_config,
464 struct list_head *head_config, in parse_events_add_cache() argument
483 config_name = get_config_name(head_config); in parse_events_add_cache()
525 if (head_config) { in parse_events_add_cache()
526 if (config_attr(&attr, head_config, err, in parse_events_add_cache()
530 if (get_config_terms(head_config, &config_terms)) in parse_events_add_cache()
580 struct list_head *head_config) in add_tracepoint() argument
589 if (head_config) { in add_tracepoint()
592 if (get_config_terms(head_config, &config_terms)) in add_tracepoint()
604 struct list_head *head_config) in add_tracepoint_multi_event() argument
636 err, head_config); in add_tracepoint_multi_event()
652 struct list_head *head_config) in add_tracepoint_event() argument
656 err, head_config) : in add_tracepoint_event()
658 err, head_config); in add_tracepoint_event()
664 struct list_head *head_config) in add_tracepoint_multi_sys() argument
688 evt_name, err, head_config); in add_tracepoint_multi_sys()
699 struct list_head *head_config; member
726 param->head_config); in add_bpf_event()
753 struct list_head *head_config) in parse_events_load_bpf_obj() argument
757 struct __add_bpf_event_param param = {parse_state, list, head_config}; in parse_events_load_bpf_obj()
806 struct list_head *head_config) in parse_events_config_bpf() argument
811 if (!head_config || list_empty(head_config)) in parse_events_config_bpf()
814 list_for_each_entry(term, head_config, list) { in parse_events_config_bpf()
886 struct list_head *head_config) in parse_events_load_bpf() argument
892 if (head_config) in parse_events_load_bpf()
893 split_bpf_config_terms(head_config, &obj_head_config); in parse_events_load_bpf()
915 err = parse_events_load_bpf_obj(parse_state, list, obj, head_config); in parse_events_load_bpf()
924 if (head_config) in parse_events_load_bpf()
925 list_splice_tail(&obj_head_config, head_config); in parse_events_load_bpf()
932 struct list_head *head_config __maybe_unused) in parse_events_load_bpf_obj()
944 struct list_head *head_config __maybe_unused) in parse_events_load_bpf()
1280 static int get_config_terms(struct list_head *head_config, in get_config_terms() argument
1314 list_for_each_entry(term, head_config, list) { in get_config_terms()
1385 static int get_config_chgs(struct perf_pmu *pmu, struct list_head *head_config, in get_config_chgs() argument
1392 list_for_each_entry(term, head_config, list) { in get_config_chgs()
1418 struct list_head *head_config) in parse_events_add_tracepoint() argument
1420 if (head_config) { in parse_events_add_tracepoint()
1423 if (config_attr(&attr, head_config, err, in parse_events_add_tracepoint()
1430 err, head_config); in parse_events_add_tracepoint()
1433 err, head_config); in parse_events_add_tracepoint()
1439 struct list_head *head_config) in parse_events_add_numeric() argument
1450 if (head_config) { in parse_events_add_numeric()
1451 if (config_attr(&attr, head_config, parse_state->error, in parse_events_add_numeric()
1455 if (get_config_terms(head_config, &config_terms)) in parse_events_add_numeric()
1460 get_config_name(head_config), in parse_events_add_numeric()
1466 get_config_name(head_config), &config_terms); in parse_events_add_numeric()
1493 struct list_head *head_config) in parse_events__inside_hybrid_pmu() argument
1498 if (parse_state->fake_pmu || !head_config || list_empty(head_config) || in parse_events__inside_hybrid_pmu()
1506 if (head_config->next && head_config->next->next != head_config) in parse_events__inside_hybrid_pmu()
1509 term = list_first_entry(head_config, struct parse_events_term, list); in parse_events__inside_hybrid_pmu()
1520 struct list_head *head_config, in parse_events_add_pmu() argument
1535 if (head_config) { in parse_events_add_pmu()
1538 list_for_each_entry(term, head_config, list) { in parse_events_add_pmu()
1565 if (!head_config) { in parse_events_add_pmu()
1578 if (!parse_state->fake_pmu && perf_pmu__check_alias(pmu, head_config, &info)) in parse_events_add_pmu()
1584 if (head_config) { in parse_events_add_pmu()
1587 list_for_each_entry(term, head_config, list) { in parse_events_add_pmu()
1598 if (config_attr(&attr, head_config, parse_state->error, config_term_pmu)) in parse_events_add_pmu()
1601 if (get_config_terms(head_config, &config_terms)) in parse_events_add_pmu()
1608 if (pmu->default_config && get_config_chgs(pmu, head_config, &config_terms)) in parse_events_add_pmu()
1612 head_config)) { in parse_events_add_pmu()
1616 if (!parse_state->fake_pmu && perf_pmu__config(pmu, &attr, head_config, parse_state->error)) { in parse_events_add_pmu()
1622 get_config_name(head_config), pmu, in parse_events_add_pmu()