Home
last modified time | relevance | path

Searched refs:term (Results 1 – 25 of 25) sorted by relevance

/tools/perf/util/
Dparse-events.y93 %type <term> event_term
94 %destructor { parse_events_term__delete ($$); } <term>
129 struct parse_events_term *term; member
725 struct parse_events_term *term = $3; variable
728 parse_events_term__delete(term);
731 list_add_tail(&term->list, head);
738 struct parse_events_term *term = $1; variable
742 list_add_tail(&term->list, head);
749 struct parse_events_term *term; variable
751 ABORT_ON(parse_events_term__num(&term, PARSE_EVENTS__TERM_TYPE_CONFIG,
[all …]
Dparse-events.c328 static int parse_events__is_name_term(struct parse_events_term *term) in parse_events__is_name_term() argument
330 return term->type_term == PARSE_EVENTS__TERM_TYPE_NAME; in parse_events__is_name_term()
335 struct parse_events_term *term; in get_config_name() local
340 list_for_each_entry(term, head_terms, list) in get_config_name()
341 if (parse_events__is_name_term(term)) in get_config_name()
342 return term->val.str; in get_config_name()
445 struct parse_events_term *term,
448 struct parse_events_term *term,
789 struct parse_events_term *term; in parse_events_config_bpf() local
795 list_for_each_entry(term, head_config, list) { in parse_events_config_bpf()
[all …]
Dparse-events.l173 static int term(yyscan_t scanner, int type) in term() function
279 config { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_CONFIG); }
280 config1 { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_CONFIG1); }
281 config2 { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_CONFIG2); }
282 name { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_NAME); }
283 period { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_SAMPLE_PERIOD); }
284 freq { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_SAMPLE_FREQ); }
285 branch_type { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_BRANCH_SAMPLE_TYPE); }
286 time { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_TIME); }
287 call-graph { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_CALLGRAPH); }
[all …]
Dpmu.c316 struct parse_events_term *term; in __perf_pmu__new_alias() local
349 list_for_each_entry(term, &alias->terms, list) { in __perf_pmu__new_alias()
353 if (term->type_val == PARSE_EVENTS__TERM_TYPE_NUM) in __perf_pmu__new_alias()
355 "%s=%#x", term->config, term->val.num); in __perf_pmu__new_alias()
356 else if (term->type_val == PARSE_EVENTS__TERM_TYPE_STR) in __perf_pmu__new_alias()
358 "%s=%s", term->config, term->val.str); in __perf_pmu__new_alias()
501 struct parse_events_term *term, *cloned; in pmu_alias_terms() local
505 list_for_each_entry(term, &alias->terms, list) { in pmu_alias_terms()
506 ret = parse_events_term__clone(&cloned, term); in pmu_alias_terms()
1031 static int pmu_resolve_param_term(struct parse_events_term *term, in pmu_resolve_param_term() argument
[all …]
Dcolor_config.c32 char *term = getenv("TERM"); in perf_config_colorbool() local
33 if (term && strcmp(term, "dumb")) in perf_config_colorbool()
Dbpf-loader.c855 bpf_map_op_setkey(struct bpf_map_op *op, struct parse_events_term *term) in bpf_map_op_setkey() argument
858 if (!term) in bpf_map_op_setkey()
861 if (term->array.nr_ranges) { in bpf_map_op_setkey()
862 size_t memsz = term->array.nr_ranges * in bpf_map_op_setkey()
865 op->k.array.ranges = memdup(term->array.ranges, memsz); in bpf_map_op_setkey()
871 op->k.array.nr_ranges = term->array.nr_ranges; in bpf_map_op_setkey()
877 bpf_map_op__new(struct parse_events_term *term) in bpf_map_op__new() argument
889 err = bpf_map_op_setkey(op, term); in bpf_map_op__new()
979 bpf_map__add_newop(struct bpf_map *map, struct parse_events_term *term) in bpf_map__add_newop() argument
984 op = bpf_map_op__new(term); in bpf_map__add_newop()
[all …]
Dparse-events.h146 int parse_events__is_hardcoded_term(struct parse_events_term *term);
147 int parse_events_term__num(struct parse_events_term **term,
151 int parse_events_term__str(struct parse_events_term **term,
154 int parse_events_term__sym_hw(struct parse_events_term **term,
157 struct parse_events_term *term);
158 void parse_events_term__delete(struct parse_events_term *term);
Dbpf-loader.h72 int bpf__config_obj(struct bpf_object *obj, struct parse_events_term *term,
75 struct parse_events_term *term,
121 struct parse_events_term *term __maybe_unused, in bpf__config_obj()
184 struct parse_events_term *term __maybe_unused, in bpf__strerror_config_obj()
Drecord.c40 struct evsel_config_term *term; in evsel__config_term_mask() local
44 list_for_each_entry(term, config_terms, list) { in evsel__config_term_mask()
45 term_types |= 1 << term->type; in evsel__config_term_mask()
Devsel.c875 struct evsel_config_term *term; in evsel__apply_config_terms() local
886 list_for_each_entry(term, config_terms, list) { in evsel__apply_config_terms()
887 switch (term->type) { in evsel__apply_config_terms()
889 if (!(term->weak && opts->user_interval != ULLONG_MAX)) { in evsel__apply_config_terms()
890 attr->sample_period = term->val.period; in evsel__apply_config_terms()
896 if (!(term->weak && opts->user_freq != UINT_MAX)) { in evsel__apply_config_terms()
897 attr->sample_freq = term->val.freq; in evsel__apply_config_terms()
903 if (term->val.time) in evsel__apply_config_terms()
909 callgraph_buf = term->val.str; in evsel__apply_config_terms()
912 if (term->val.str && strcmp(term->val.str, "no")) { in evsel__apply_config_terms()
[all …]
Devsel_fprintf.c67 const char *term = "sample_freq"; in evsel__fprintf() local
70 term = "sample_period"; in evsel__fprintf()
73 term, (u64)evsel->core.attr.sample_freq); in evsel__fprintf()
Dauxtrace.c727 struct evsel_config_term *term; in auxtrace_parse_sample_options() local
769 term = evsel__get_config_term(evsel, AUX_SAMPLE_SIZE); in auxtrace_parse_sample_options()
770 if (term) { in auxtrace_parse_sample_options()
772 evsel->core.attr.aux_sample_size = term->val.aux_sample_size; in auxtrace_parse_sample_options()
DBuild123 perf-y += term.o
/tools/testing/selftests/arm64/signal/testcases/
Dtestcases.c30 struct _aarch64_ctx *term; in validate_extra_context() local
36 term = GET_RESV_NEXT_HEAD(&extra->head); in validate_extra_context()
37 if (!term || term->magic || term->size) { in validate_extra_context()
45 else if (extra->datap != (uint64_t)term + sizeof(*term)) in validate_extra_context()
/tools/perf/tests/
Dparse-events.c599 struct parse_events_term *term; in test__checkterms_simple() local
602 term = list_entry(terms->next, struct parse_events_term, list); in test__checkterms_simple()
604 term->type_term == PARSE_EVENTS__TERM_TYPE_CONFIG); in test__checkterms_simple()
606 term->type_val == PARSE_EVENTS__TERM_TYPE_NUM); in test__checkterms_simple()
607 TEST_ASSERT_VAL("wrong val", term->val.num == 10); in test__checkterms_simple()
608 TEST_ASSERT_VAL("wrong config", !term->config); in test__checkterms_simple()
611 term = list_entry(term->list.next, struct parse_events_term, list); in test__checkterms_simple()
613 term->type_term == PARSE_EVENTS__TERM_TYPE_CONFIG1); in test__checkterms_simple()
615 term->type_val == PARSE_EVENTS__TERM_TYPE_NUM); in test__checkterms_simple()
616 TEST_ASSERT_VAL("wrong val", term->val.num == 1); in test__checkterms_simple()
[all …]
Dstat.c32 #define HAS(term, val) \ in process_stat_config_event() argument
33 has_term(config, PERF_STAT_CONFIG_TERM__##term, val) in process_stat_config_event()
/tools/testing/selftests/watchdog/
Dwatchdog-test.c59 static void term(int sig) in term() function
245 signal(SIGINT, term); in main()
/tools/perf/arch/arm/util/
Dcs-etm.c219 struct evsel_config_term *term; in cs_etm_set_sink_attr() local
226 list_for_each_entry(term, &evsel->config_terms, list) { in cs_etm_set_sink_attr()
227 if (term->type != EVSEL__CONFIG_TERM_DRV_CFG) in cs_etm_set_sink_attr()
230 sink = term->val.str; in cs_etm_set_sink_attr()
/tools/perf/Documentation/
Dperf-intel-pt.txt149 If the 'cyc' config term (see config terms section below) was used, then IPC is
151 used - refer to the 'mtc' config term. When MTC is used, however, the values
229 Note that the default config must be overridden for each term i.e.
435 pt Specifies pass-through which enables the 'branch' config term.
438 never need to specify this term.
493 An alternative to '--aux-sample' is to add the config term 'aux-sample-size' to
884 flow packets which can be disabled by using the config term "branch=0". Refer
889 recorded only if the "ptw" config term was used. Refer to the config terms
896 event packets are recorded only if the "pwr_evt" config term was used. Refer to
1005 --count option, or 'period' config term.
[all …]
/tools/memory-model/
Dlinux-kernel.cat106 * In the definition of rcu-fence below, the po term at the left-hand side
107 * of each disjunct and the po? term at the right-hand end have been factored
/tools/perf/
Dbuiltin-top.c953 struct evsel_config_term *term; in perf_top__overwrite_check() local
961 list_for_each_entry(term, config_terms, list) { in perf_top__overwrite_check()
962 if (term->type == EVSEL__CONFIG_TERM_OVERWRITE) in perf_top__overwrite_check()
963 set = term->val.overwrite ? 1 : 0; in perf_top__overwrite_check()
/tools/perf/arch/x86/util/
Dintel-pt.c567 struct evsel_config_term *term = evsel__get_config_term(evsel, CFG_CHG); in intel_pt_config_sample_mode() local
569 if (term) in intel_pt_config_sample_mode()
570 user_bits = term->val.cfg_chg; in intel_pt_config_sample_mode()
/tools/memory-model/Documentation/
Drecipes.txt278 first place (control dependency). Note that the term "data dependency"
Dlitmus-tests.txt721 "r0" not to the value of "x", but again to its address. This term of the
/tools/usb/usbip/
DCOPYING70 the term "modification".) Each licensee is addressed as "you".