Lines Matching full:terms
164 list_for_each_entry(term, &head_terms->terms, list) in get_config_str()
189 * @config_terms: the list of terms that may contain a raw term.
196 list_for_each_entry(term, &config_terms->terms, list) { in fix_raw()
1086 * Always succeed for sysfs terms, as we dont know in config_term_pmu()
1131 strdup("valid terms: call-graph,stack-size\n")); in config_term_tracepoint()
1147 list_for_each_entry(term, &head->terms, list) in config_attr()
1188 list_for_each_entry(term, &head_config->terms, list) { in get_config_terms()
1276 list_for_each_entry(term, &head_config->terms, list) { in get_config_chgs()
1461 list_empty(&const_parsed_terms->terms)) { in parse_events_add_pmu()
1478 if (!const_parsed_terms || list_empty(&const_parsed_terms->terms)) { in parse_events_add_pmu()
1496 /* Configure attr/terms with a known PMU, this will set hardcoded terms. */ in parse_events_add_pmu()
1502 /* Look for event names in the terms and rewrite into format based terms. */ in parse_events_add_pmu()
1518 /* Configure attr/terms again if an alias was expanded. */ in parse_events_add_pmu()
1603 list_add_tail(&term->list, &parsed_terms.terms); in parse_events_multi_pmu_add()
1907 * parse event config string, return a list of event terms.
1909 int parse_events_terms(struct parse_events_terms *terms, const char *str, FILE *input) in parse_events_terms() argument
1912 .terms = NULL, in parse_events_terms()
1919 list_splice(&parse_state.terms->terms, &terms->terms); in parse_events_terms()
1921 zfree(&parse_state.terms); in parse_events_terms()
2644 list_for_each_entry (term, &src->terms, list) { in parse_events_terms__copy()
2652 list_add_tail(&n->list, &dest->terms); in parse_events_terms__copy()
2657 void parse_events_terms__init(struct parse_events_terms *terms) in parse_events_terms__init() argument
2659 INIT_LIST_HEAD(&terms->terms); in parse_events_terms__init()
2662 void parse_events_terms__exit(struct parse_events_terms *terms) in parse_events_terms__exit() argument
2666 list_for_each_entry_safe(term, h, &terms->terms, list) { in parse_events_terms__exit()
2672 void parse_events_terms__delete(struct parse_events_terms *terms) in parse_events_terms__delete() argument
2674 if (!terms) in parse_events_terms__delete()
2676 parse_events_terms__exit(terms); in parse_events_terms__delete()
2677 free(terms); in parse_events_terms__delete()
2680 int parse_events_terms__to_strbuf(const struct parse_events_terms *terms, struct strbuf *sb) in parse_events_terms__to_strbuf() argument
2685 if (!terms) in parse_events_terms__to_strbuf()
2688 list_for_each_entry(term, &terms->terms, list) { in parse_events_terms__to_strbuf()
2751 * Return string contains valid config terms of an event.
2752 * @additional_terms: For terms such as PMU sysfs terms.
2762 /* valid terms */ in parse_events_formats_error_string()
2764 if (asprintf(&str, "valid terms: %s,%s", in parse_events_formats_error_string()
2768 if (asprintf(&str, "valid terms: %s", static_terms) < 0) in parse_events_formats_error_string()