/tools/perf/util/ |
D | parse-events.y | 78 %type <term> event_term 105 struct parse_events_term *term; member 535 struct parse_events_term *term = $3; variable 538 list_add_tail(&term->list, head); 545 struct parse_events_term *term = $1; variable 549 list_add_tail(&term->list, head); 556 struct parse_events_term *term; variable 558 ABORT_ON(parse_events_term__str(&term, PARSE_EVENTS__TERM_TYPE_USER, 560 $$ = term; 565 struct parse_events_term *term; variable [all …]
|
D | parse-events.c | 300 static int parse_events__is_name_term(struct parse_events_term *term) in parse_events__is_name_term() argument 302 return term->type_term == PARSE_EVENTS__TERM_TYPE_NAME; in parse_events__is_name_term() 307 struct parse_events_term *term; in get_config_name() local 312 list_for_each_entry(term, head_terms, list) in get_config_name() 313 if (parse_events__is_name_term(term)) in get_config_name() 314 return term->val.str; in get_config_name() 396 struct parse_events_term *term, 399 struct parse_events_term *term, 741 struct parse_events_term *term; in parse_events_config_bpf() local 747 list_for_each_entry(term, head_config, list) { in parse_events_config_bpf() [all …]
|
D | pmu.c | 313 struct parse_events_term *term; in __perf_pmu__new_alias() local 345 list_for_each_entry(term, &alias->terms, list) { in __perf_pmu__new_alias() 349 if (term->type_val == PARSE_EVENTS__TERM_TYPE_NUM) in __perf_pmu__new_alias() 351 "%s=%#x", term->config, term->val.num); in __perf_pmu__new_alias() 352 else if (term->type_val == PARSE_EVENTS__TERM_TYPE_STR) in __perf_pmu__new_alias() 354 "%s=%s", term->config, term->val.str); in __perf_pmu__new_alias() 495 struct parse_events_term *term, *cloned; in pmu_alias_terms() local 499 list_for_each_entry(term, &alias->terms, list) { in pmu_alias_terms() 500 ret = parse_events_term__clone(&cloned, term); in pmu_alias_terms() 968 static int pmu_resolve_param_term(struct parse_events_term *term, in pmu_resolve_param_term() argument [all …]
|
D | parse-events.l | 166 static int term(yyscan_t scanner, int type) in term() function 270 config { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_CONFIG); } 271 config1 { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_CONFIG1); } 272 config2 { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_CONFIG2); } 273 name { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_NAME); } 274 period { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_SAMPLE_PERIOD); } 275 freq { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_SAMPLE_FREQ); } 276 branch_type { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_BRANCH_SAMPLE_TYPE); } 277 time { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_TIME); } 278 call-graph { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_CALLGRAPH); } [all …]
|
D | color_config.c | 32 char *term = getenv("TERM"); in perf_config_colorbool() local 33 if (term && strcmp(term, "dumb")) in perf_config_colorbool()
|
D | bpf-loader.c | 863 bpf_map_op_setkey(struct bpf_map_op *op, struct parse_events_term *term) in bpf_map_op_setkey() argument 866 if (!term) in bpf_map_op_setkey() 869 if (term->array.nr_ranges) { in bpf_map_op_setkey() 870 size_t memsz = term->array.nr_ranges * in bpf_map_op_setkey() 873 op->k.array.ranges = memdup(term->array.ranges, memsz); in bpf_map_op_setkey() 879 op->k.array.nr_ranges = term->array.nr_ranges; in bpf_map_op_setkey() 885 bpf_map_op__new(struct parse_events_term *term) in bpf_map_op__new() argument 897 err = bpf_map_op_setkey(op, term); in bpf_map_op__new() 987 bpf_map__add_newop(struct bpf_map *map, struct parse_events_term *term) in bpf_map__add_newop() argument 992 op = bpf_map_op__new(term); in bpf_map__add_newop() [all …]
|
D | parse-events.h | 128 int parse_events__is_hardcoded_term(struct parse_events_term *term); 129 int parse_events_term__num(struct parse_events_term **term, 133 int parse_events_term__str(struct parse_events_term **term, 136 int parse_events_term__sym_hw(struct parse_events_term **term, 139 struct parse_events_term *term);
|
D | bpf-loader.h | 72 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()
|
D | evsel_fprintf.c | 68 const char *term = "sample_freq"; in perf_evsel__fprintf() local 71 term = "sample_period"; in perf_evsel__fprintf() 74 term, (u64)evsel->core.attr.sample_freq); in perf_evsel__fprintf()
|
D | evsel.c | 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() [all …]
|
D | Build | 114 perf-y += term.o
|
/tools/perf/tests/ |
D | stat.c | 32 #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()
|
D | parse-events.c | 596 struct parse_events_term *term; in test__checkterms_simple() local 599 term = list_entry(terms->next, struct parse_events_term, list); in test__checkterms_simple() 601 term->type_term == PARSE_EVENTS__TERM_TYPE_CONFIG); in test__checkterms_simple() 603 term->type_val == PARSE_EVENTS__TERM_TYPE_NUM); in test__checkterms_simple() 604 TEST_ASSERT_VAL("wrong val", term->val.num == 10); in test__checkterms_simple() 605 TEST_ASSERT_VAL("wrong config", !term->config); in test__checkterms_simple() 608 term = list_entry(term->list.next, struct parse_events_term, list); in test__checkterms_simple() 610 term->type_term == PARSE_EVENTS__TERM_TYPE_CONFIG1); in test__checkterms_simple() 612 term->type_val == PARSE_EVENTS__TERM_TYPE_NUM); in test__checkterms_simple() 613 TEST_ASSERT_VAL("wrong val", term->val.num == 1); in test__checkterms_simple() [all …]
|
/tools/testing/selftests/watchdog/ |
D | watchdog-test.c | 59 static void term(int sig) in term() function 245 signal(SIGINT, term); in main()
|
/tools/perf/arch/arm/util/ |
D | cs-etm.c | 218 struct perf_evsel_config_term *term; in cs_etm_set_sink_attr() local 225 list_for_each_entry(term, &evsel->config_terms, list) { in cs_etm_set_sink_attr() 226 if (term->type != PERF_EVSEL__CONFIG_TERM_DRV_CFG) in cs_etm_set_sink_attr() 229 sink = term->val.drv_cfg; in cs_etm_set_sink_attr()
|
/tools/memory-model/ |
D | linux-kernel.cat | 106 * 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/Documentation/ |
D | intel-pt.txt | 114 If the 'cyc' config term (see config terms section below) was used, then IPC is 116 used - refer to the 'mtc' config term. When MTC is used, however, the values 194 Note that the default config must be overridden for each term i.e. 400 pt Specifies pass-through which enables the 'branch' config term. 403 never need to specify this term. 774 flow packets which can be disabled by using the config term "branch=0". Refer 779 recorded only if the "ptw" config term was used. Refer to the config terms 786 event packets are recorded only if the "pwr_evt" config term was used. Refer to 928 Recording is selected by using the aux-output config term e.g.
|
/tools/perf/ |
D | builtin-top.c | 940 struct perf_evsel_config_term *term; in perf_top__overwrite_check() local 948 list_for_each_entry(term, config_terms, list) { in perf_top__overwrite_check() 949 if (term->type == PERF_EVSEL__CONFIG_TERM_OVERWRITE) in perf_top__overwrite_check() 950 set = term->val.overwrite ? 1 : 0; in perf_top__overwrite_check()
|
/tools/memory-model/Documentation/ |
D | recipes.txt | 278 first place (control dependency). Note that the term "data dependency"
|
/tools/usb/usbip/ |
D | COPYING | 70 the term "modification".) Each licensee is addressed as "you".
|