Lines Matching refs:head_config
37 static int get_config_terms(struct list_head *head_config,
445 struct list_head *head_config)
449 const char *config_name = get_config_name(head_config);
450 const char *metric_id = get_config_metric_id(head_config);
470 if (head_config) {
471 if (config_attr(&attr, head_config, parse_state->error, config_term_common))
474 if (get_config_terms(head_config, &config_terms))
523 struct list_head *head_config, void *loc_)
533 if (head_config) {
536 if (get_config_terms(head_config, &config_terms))
548 struct list_head *head_config, YYLTYPE *loc)
580 err, head_config, loc);
596 struct list_head *head_config, YYLTYPE *loc)
600 err, head_config, loc) :
602 err, head_config, loc);
608 struct list_head *head_config, YYLTYPE *loc)
632 evt_name, err, head_config, loc);
683 struct list_head *head_config __maybe_unused)
708 if (head_config) {
709 if (config_attr(&attr, head_config, parse_state->error,
713 if (get_config_terms(head_config, &config_terms))
717 name = get_config_name(head_config);
1082 static int get_config_terms(struct list_head *head_config,
1116 list_for_each_entry(term, head_config, list) {
1197 static int get_config_chgs(struct perf_pmu *pmu, struct list_head *head_config,
1204 list_for_each_entry(term, head_config, list) {
1254 struct list_head *head_config, void *loc_)
1258 if (head_config) {
1261 if (config_attr(&attr, head_config, err,
1268 err, head_config, loc);
1271 err, head_config, loc);
1277 (void)head_config;
1287 u64 config, struct list_head *head_config)
1302 if (head_config) {
1303 if (config_attr(&attr, head_config, parse_state->error,
1307 if (get_config_terms(head_config, &config_terms))
1311 name = get_config_name(head_config);
1312 metric_id = get_config_metric_id(head_config);
1323 struct list_head *head_config,
1340 config, head_config);
1348 type, /*extended_type=*/0, config, head_config);
1372 struct list_head *head_config,
1399 if (pmu->selectable && !head_config) {
1403 parse_events_term__to_strbuf(head_config, &sb);
1409 if (head_config)
1410 fix_raw(head_config, pmu);
1420 if (!head_config) {
1429 if (!parse_state->fake_pmu && perf_pmu__check_alias(pmu, head_config, &info, err))
1436 parse_events_term__to_strbuf(head_config, &sb);
1445 if (config_attr(&attr, head_config, parse_state->error, config_term_pmu))
1448 if (get_config_terms(head_config, &config_terms))
1455 if (pmu->default_config && get_config_chgs(pmu, head_config, &config_terms))
1458 if (!parse_state->fake_pmu && perf_pmu__config(pmu, &attr, head_config, parse_state->error)) {
1464 get_config_name(head_config),
1465 get_config_metric_id(head_config), pmu,