/tools/perf/util/ |
D | parse-events.y | 71 %type <term> event_term 98 struct parse_events_term *term; member 237 struct parse_events_term *term; variable 241 ABORT_ON(parse_events_term__num(&term, PARSE_EVENTS__TERM_TYPE_USER, 243 list_add_tail(&term->list, head); 255 struct parse_events_term *term; variable 261 ABORT_ON(parse_events_term__num(&term, PARSE_EVENTS__TERM_TYPE_USER, 263 list_add_tail(&term->list, head); 495 struct parse_events_term *term = $3; variable 498 list_add_tail(&term->list, head); [all …]
|
D | drv_configs.c | 27 struct perf_evsel_config_term *term; in perf_evsel__apply_drv_configs() local 36 list_for_each_entry(term, &evsel->config_terms, list) { in perf_evsel__apply_drv_configs() 37 if (term->type != PERF_EVSEL__CONFIG_TERM_DRV_CFG) in perf_evsel__apply_drv_configs() 47 *err_term = term; in perf_evsel__apply_drv_configs() 51 err = pmu->set_drv_config(term); in perf_evsel__apply_drv_configs() 53 *err_term = term; in perf_evsel__apply_drv_configs()
|
D | parse-events.c | 283 static int parse_events__is_name_term(struct parse_events_term *term) in parse_events__is_name_term() argument 285 return term->type_term == PARSE_EVENTS__TERM_TYPE_NAME; in parse_events__is_name_term() 290 struct parse_events_term *term; in get_config_name() local 295 list_for_each_entry(term, head_terms, list) in get_config_name() 296 if (parse_events__is_name_term(term)) in get_config_name() 297 return term->val.str; in get_config_name() 356 struct parse_events_term *term, 359 struct parse_events_term *term, 685 struct parse_events_term *term; in parse_events_config_bpf() local 691 list_for_each_entry(term, head_config, list) { in parse_events_config_bpf() [all …]
|
D | pmu.c | 373 struct parse_events_term *term, *cloned; in pmu_alias_terms() local 377 list_for_each_entry(term, &alias->terms, list) { in pmu_alias_terms() 378 ret = parse_events_term__clone(&cloned, term); in pmu_alias_terms() 704 static int pmu_resolve_param_term(struct parse_events_term *term, in pmu_resolve_param_term() argument 712 if (!strcmp(t->config, term->config)) { in pmu_resolve_param_term() 721 printf("Required parameter '%s' not specified\n", term->config); in pmu_resolve_param_term() 754 struct parse_events_term *term, in pmu_config_term() argument 766 if (term->used) in pmu_config_term() 773 if (parse_events__is_hardcoded_term(term)) in pmu_config_term() 776 format = pmu_find_format(formats, term->config); in pmu_config_term() [all …]
|
D | parse-events.l | 114 static int term(yyscan_t scanner, int type) in term() function 213 config { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_CONFIG); } 214 config1 { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_CONFIG1); } 215 config2 { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_CONFIG2); } 216 name { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_NAME); } 217 period { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_SAMPLE_PERIOD); } 218 freq { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_SAMPLE_FREQ); } 219 branch_type { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_BRANCH_SAMPLE_TYPE); } 220 time { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_TIME); } 221 call-graph { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_CALLGRAPH); } [all …]
|
D | bpf-loader.c | 855 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 …]
|
D | parse-events.h | 122 int parse_events__is_hardcoded_term(struct parse_events_term *term); 123 int parse_events_term__num(struct parse_events_term **term, 126 int parse_events_term__str(struct parse_events_term **term, 129 int parse_events_term__sym_hw(struct parse_events_term **term, 132 struct parse_events_term *term);
|
D | bpf-loader.h | 73 int bpf__config_obj(struct bpf_object *obj, struct parse_events_term *term, 76 struct parse_events_term *term, 119 struct parse_events_term *term __maybe_unused, in bpf__config_obj() 176 struct parse_events_term *term __maybe_unused, in bpf__strerror_config_obj()
|
D | drv_configs.h | 25 struct perf_evsel_config_term **term);
|
D | color.c | 32 char *term = getenv("TERM"); in perf_config_colorbool() local 33 if (term && strcmp(term, "dumb")) in perf_config_colorbool()
|
D | evsel_fprintf.c | 62 const char *term = "sample_freq"; in perf_evsel__fprintf() local 65 term = "sample_period"; in perf_evsel__fprintf() 68 term, (u64)evsel->attr.sample_freq); in perf_evsel__fprintf()
|
D | pmu.h | 29 int (*set_drv_config) (struct perf_evsel_config_term *term);
|
D | evsel.c | 681 struct perf_evsel_config_term *term; in apply_config_terms() local 692 list_for_each_entry(term, config_terms, list) { in apply_config_terms() 693 switch (term->type) { in apply_config_terms() 695 attr->sample_period = term->val.period; in apply_config_terms() 699 attr->sample_freq = term->val.freq; in apply_config_terms() 703 if (term->val.time) in apply_config_terms() 709 callgraph_buf = term->val.callgraph; in apply_config_terms() 712 dump_size = term->val.stack_user; in apply_config_terms() 715 max_stack = term->val.max_stack; in apply_config_terms() 724 attr->inherit = term->val.inherit ? 1 : 0; in apply_config_terms() [all …]
|
D | Build | 85 libperf-y += term.o
|
/tools/testing/selftests/watchdog/ |
D | watchdog-test.c | 37 static void term(int sig) in term() function 93 signal(SIGINT, term); in main()
|
/tools/perf/arch/arm/util/ |
D | cs-etm.h | 24 int cs_etm_set_drv_config(struct perf_evsel_config_term *term);
|
D | cs-etm.c | 604 int cs_etm_set_drv_config(struct perf_evsel_config_term *term) in cs_etm_set_drv_config() argument 610 term->val.drv_cfg, "enable_sink"); in cs_etm_set_drv_config()
|
/tools/perf/tests/ |
D | stat.c | 30 #define HAS(term, val) \ in process_stat_config_event() argument 31 has_term(config, PERF_STAT_CONFIG_TERM__##term, val) in process_stat_config_event()
|
D | parse-events.c | 564 struct parse_events_term *term; in test__checkterms_simple() local 567 term = list_entry(terms->next, struct parse_events_term, list); in test__checkterms_simple() 569 term->type_term == PARSE_EVENTS__TERM_TYPE_CONFIG); in test__checkterms_simple() 571 term->type_val == PARSE_EVENTS__TERM_TYPE_NUM); in test__checkterms_simple() 572 TEST_ASSERT_VAL("wrong val", term->val.num == 10); in test__checkterms_simple() 573 TEST_ASSERT_VAL("wrong config", !term->config); in test__checkterms_simple() 576 term = list_entry(term->list.next, struct parse_events_term, list); in test__checkterms_simple() 578 term->type_term == PARSE_EVENTS__TERM_TYPE_CONFIG1); in test__checkterms_simple() 580 term->type_val == PARSE_EVENTS__TERM_TYPE_NUM); in test__checkterms_simple() 581 TEST_ASSERT_VAL("wrong val", term->val.num == 1); in test__checkterms_simple() [all …]
|
/tools/lguest/ |
D | lguest.c | 2662 struct termios term = orig_term; in setup_console() local 2667 term.c_lflag &= ~(ISIG|ICANON|ECHO); in setup_console() 2668 tcsetattr(STDIN_FILENO, TCSANOW, &term); in setup_console()
|
/tools/usb/usbip/ |
D | COPYING | 70 the term "modification".) Each licensee is addressed as "you".
|
/tools/perf/Documentation/ |
D | intel-pt.txt | 161 Note that the default config must be overridden for each term i.e.
|