Lines Matching refs:term
777 struct perf_evsel_config_term *term; in apply_config_terms() local
788 list_for_each_entry(term, config_terms, list) { in apply_config_terms()
789 switch (term->type) { in apply_config_terms()
791 if (!(term->weak && opts->user_interval != ULLONG_MAX)) { in apply_config_terms()
792 attr->sample_period = term->val.period; in apply_config_terms()
798 if (!(term->weak && opts->user_freq != UINT_MAX)) { in apply_config_terms()
799 attr->sample_freq = term->val.freq; in apply_config_terms()
805 if (term->val.time) in apply_config_terms()
811 callgraph_buf = term->val.callgraph; in apply_config_terms()
814 if (term->val.branch && strcmp(term->val.branch, "no")) { in apply_config_terms()
816 parse_branch_str(term->val.branch, in apply_config_terms()
822 dump_size = term->val.stack_user; in apply_config_terms()
825 max_stack = term->val.max_stack; in apply_config_terms()
828 evsel->max_events = term->val.max_events; in apply_config_terms()
837 attr->inherit = term->val.inherit ? 1 : 0; in apply_config_terms()
840 attr->write_backward = term->val.overwrite ? 1 : 0; in apply_config_terms()
847 attr->aux_output = term->val.aux_output ? 1 : 0; in apply_config_terms()
1235 struct perf_evsel_config_term *term, *h; in perf_evsel__free_config_terms() local
1237 list_for_each_entry_safe(term, h, &evsel->config_terms, list) { in perf_evsel__free_config_terms()
1238 list_del_init(&term->list); in perf_evsel__free_config_terms()
1239 free(term); in perf_evsel__free_config_terms()