| /Linux-v5.15/tools/perf/ |
| D | builtin-report.c | 117 symbol_conf.event_group = perf_config_bool(var, value); in report__config() 128 symbol_conf.cumulate_callchain = perf_config_bool(var, value); in report__config() 178 } else if (symbol_conf.cumulate_callchain) { in hist_iter__report_callback() 260 .hide_unresolved = symbol_conf.hide_unresolved, in process_sample_event() 282 if (symbol_conf.hide_unresolved && al.sym == NULL) in process_sample_event() 300 } else if (symbol_conf.cumulate_callchain) { in process_sample_event() 371 if (symbol_conf.use_callchain && in report__setup_sample_type() 372 !symbol_conf.show_branchflag_count) { in report__setup_sample_type() 380 !symbol_conf.use_callchain) { in report__setup_sample_type() 381 symbol_conf.use_callchain = true; in report__setup_sample_type() [all …]
|
| D | builtin-annotate.c | 188 .hide_unresolved = symbol_conf.hide_unresolved, in process_branch_callback() 430 if (symbol_conf.event_group && !evsel__is_group_leader(pos)) in __cmd_annotate() 495 OPT_STRING('d', "dsos", &symbol_conf.dso_list_str, "dso[,dso...]", in cmd_annotate() 509 OPT_BOOLEAN(0, "ignore-vmlinux", &symbol_conf.ignore_vmlinux, in cmd_annotate() 511 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_annotate() 513 OPT_BOOLEAN('m', "modules", &symbol_conf.use_modules, in cmd_annotate() 521 OPT_BOOLEAN_SET(0, "group", &symbol_conf.event_group, in cmd_annotate() 540 OPT_BOOLEAN(0, "demangle", &symbol_conf.demangle, in cmd_annotate() 542 OPT_BOOLEAN(0, "demangle-kernel", &symbol_conf.demangle_kernel, in cmd_annotate() 544 OPT_BOOLEAN(0, "group", &symbol_conf.event_group, in cmd_annotate() [all …]
|
| D | builtin-mem.c | 205 field_sep = symbol_conf.field_sep; in dump_raw_samples() 210 symbol_conf.field_sep = " "; in dump_raw_samples() 214 symbol_conf.field_sep, in dump_raw_samples() 216 symbol_conf.field_sep, in dump_raw_samples() 218 symbol_conf.field_sep, in dump_raw_samples() 220 symbol_conf.field_sep); in dump_raw_samples() 225 symbol_conf.field_sep); in dump_raw_samples() 231 symbol_conf.field_sep); in dump_raw_samples() 241 symbol_conf.field_sep, in dump_raw_samples() 243 symbol_conf.field_sep, in dump_raw_samples() [all …]
|
| D | builtin-top.c | 303 if (symbol_conf.event_group && !evsel__is_group_leader(pos)) { in perf_top__resort_hists() 352 top->min_percent, stdout, !symbol_conf.use_callchain); in perf_top__print_sym_table() 781 symbol_conf.kptr_restrict && in perf_event__process_sample() 811 if (symbol_conf.vmlinux_name) { in perf_event__process_sample() 815 symbol_conf.vmlinux_name, serr, msg); in perf_event__process_sample() 835 if (symbol_conf.cumulate_callchain) in perf_event__process_sample() 1362 symbol_conf.use_callchain = true; in callchain_opt() 1378 symbol_conf.use_callchain = false; in parse_callchain_opt() 1393 symbol_conf.cumulate_callchain = perf_config_bool(var, value); in perf_top_config() 1457 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_top() [all …]
|
| D | builtin-kallsyms.c | 63 symbol_conf.sort_by_name = true; in cmd_kallsyms() 64 symbol_conf.try_vmlinux_path = (symbol_conf.vmlinux_name == NULL); in cmd_kallsyms()
|
| D | builtin-probe.c | 556 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in __cmd_probe() 558 OPT_STRING('s', "source", &symbol_conf.source_prefix, in __cmd_probe() 578 OPT_BOOLEAN(0, "demangle", &symbol_conf.demangle, in __cmd_probe() 580 OPT_BOOLEAN(0, "demangle-kernel", &symbol_conf.demangle_kernel, in __cmd_probe() 583 OPT_STRING(0, "symfs", &symbol_conf.symfs, "directory", in __cmd_probe() 646 symbol_conf.try_vmlinux_path = (symbol_conf.vmlinux_name == NULL); in __cmd_probe() 653 if (!strchr("lda", params.command) && symbol_conf.vmlinux_name) in __cmd_probe() 654 symbol_conf.ignore_vmlinux_buildid = true; in __cmd_probe()
|
| D | builtin-script.c | 609 symbol_conf.use_callchain = false; in perf_session__check_output_opt() 616 if (symbol_conf.use_callchain && in perf_session__check_output_opt() 702 if (symbol_conf.nanosecs) { in tod_scnprintf() 744 else if (PRINT_FIELD(IP) && evsel__has_callchain(evsel) && symbol_conf.use_callchain) in perf_sample__fprintf_start() 831 if (symbol_conf.nanosecs) in perf_sample__fprintf_start() 1494 if (symbol_conf.use_callchain && sample->callchain && in perf_sample__fprintf_bts() 1509 symbol_conf.bt_stop_list, fp); in perf_sample__fprintf_bts() 1950 if (!symbol_conf.graph_function) in show_event() 1960 const char *s = symbol_conf.graph_function; in show_event() 2048 if (symbol_conf.use_callchain && sample->callchain && in process_event() [all …]
|
| D | builtin-diff.c | 317 if (symbol_conf.filter_relative) { in formula_delta() 952 symbol_conf.report_block = true; in hists__process() 955 !symbol_conf.use_callchain); in hists__process() 1280 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name, 1282 OPT_BOOLEAN('m', "modules", &symbol_conf.use_modules, 1284 OPT_STRING('d', "dsos", &symbol_conf.dso_list_str, "dso[,dso...]", 1286 OPT_STRING('C', "comms", &symbol_conf.comm_list_str, "comm[,comm...]", 1288 OPT_STRING('S', "symbols", &symbol_conf.sym_list_str, "symbol[,symbol...]", 1293 OPT_STRING_NOEMPTY('t', "field-separator", &symbol_conf.field_sep, "separator", 1305 OPT_STRING(0, "pid", &symbol_conf.pid_list_str, "pid[,pid...]", [all …]
|
| /Linux-v5.15/tools/perf/util/ |
| D | symbol.c | 51 struct symbol_conf symbol_conf = { variable 191 if (symbol_conf.allow_aliases) in symbols__fixup_duplicate() 269 struct symbol *sym = calloc(1, (symbol_conf.priv_size + in symbol__new() 274 if (symbol_conf.priv_size) { in symbol__new() 275 if (symbol_conf.init_annotation) { in symbol__new() 279 sym = ((void *)sym) + symbol_conf.priv_size; in symbol__new() 297 free(((void *)sym) - symbol_conf.priv_size); in symbol__delete() 812 if (!symbol_conf.use_modules) in maps__split_kallsyms() 933 if (symbol_conf.kptr_restrict) { in symbol__restricted_filename() 2069 if (!symbol_conf.ignore_vmlinux_buildid) in dso__load_vmlinux_path() [all …]
|
| D | thread.h | 140 if (symbol_conf.comm_list && in thread__is_filtered() 141 !strlist__has_entry(symbol_conf.comm_list, thread__comm_str(thread))) { in thread__is_filtered() 145 if (symbol_conf.pid_list && in thread__is_filtered() 146 !intlist__has_entry(symbol_conf.pid_list, thread->pid_)) { in thread__is_filtered() 150 if (symbol_conf.tid_list && in thread__is_filtered() 151 !intlist__has_entry(symbol_conf.tid_list, thread->tid)) { in thread__is_filtered()
|
| D | hist.c | 74 !symbol_conf.col_width_list_str && !symbol_conf.field_sep && in hists__set_unres_dso_col_len() 75 !symbol_conf.dso_list) in hists__set_unres_dso_col_len() 215 if (symbol_conf.nanosecs) in hists__calc_col_len() 286 unsigned long time_quantum = symbol_conf.time_quantum; in hist_time() 334 if (symbol_conf.cumulate_callchain) in hists__decay_entry() 446 if (symbol_conf.cumulate_callchain) { in hist_entry__init() 479 if (hist_entry__has_callchains(he) && symbol_conf.use_callchain) in hist_entry__init() 494 if (symbol_conf.res_sample) { in hist_entry__init() 496 symbol_conf.res_sample); in hist_entry__init() 506 if (!symbol_conf.report_hierarchy) in hist_entry__init() [all …]
|
| D | symbol_conf.h | 10 struct symbol_conf { struct 82 extern struct symbol_conf symbol_conf; argument
|
| D | event.c | 698 if (symbol_conf.dso_list && in machine__resolve() 699 (!dso || !(strlist__has_entry(symbol_conf.dso_list, in machine__resolve() 702 strlist__has_entry(symbol_conf.dso_list, in machine__resolve() 708 } else if (symbol_conf.dso_list) { in machine__resolve() 712 if (symbol_conf.sym_list) { in machine__resolve() 718 ret = strlist__has_entry(symbol_conf.sym_list, in machine__resolve() 724 ret = strlist__has_entry(symbol_conf.sym_list, in machine__resolve() 727 if (!ret && symbol_conf.addr_list && al->map) { in machine__resolve() 730 ret = intlist__has_entry(symbol_conf.addr_list, addr); in machine__resolve() 731 if (!ret && symbol_conf.addr_range) { in machine__resolve() [all …]
|
| D | callchain.c | 177 symbol_conf.use_callchain = true; in __parse_callchain_report_opt() 186 symbol_conf.use_callchain = false; in __parse_callchain_report_opt() 1087 if (sample->callchain == NULL && !symbol_conf.show_branchflag_count) in sample__resolve_callchain() 1090 if (symbol_conf.use_callchain || symbol_conf.cumulate_callchain || in sample__resolve_callchain() 1091 perf_hpp_list.parent || symbol_conf.show_branchflag_count) { in sample__resolve_callchain() 1100 if ((!symbol_conf.use_callchain || sample->callchain == NULL) && in hist_entry__append_callchain() 1101 !symbol_conf.show_branchflag_count) in hist_entry__append_callchain() 1485 if (!symbol_conf.use_callchain) in free_callchain() 1513 if (!symbol_conf.use_callchain) in decay_callchain() 1605 if (symbol_conf.use_callchain || symbol_conf.cumulate_callchain) { in callchain_param_setup()
|
| D | machine.c | 349 (symbol_conf.guestmount)) { in machines__findnew() 350 sprintf(path, "%s/%d", symbol_conf.guestmount, pid); in machines__findnew() 1001 if (symbol_conf.vmlinux_name) in machine__get_kernel() 1002 vmlinux_name = symbol_conf.vmlinux_name; in machine__get_kernel() 1007 if (symbol_conf.default_guest_vmlinux_name) in machine__get_kernel() 1008 vmlinux_name = symbol_conf.default_guest_vmlinux_name; in machine__get_kernel() 1029 scnprintf(buf, bufsz, "%s", symbol_conf.default_guest_kallsyms); in machine__get_kallsyms_filename() 1239 if (symbol_conf.default_guest_vmlinux_name || in machines__create_guest_kernel_maps() 1240 symbol_conf.default_guest_modules || in machines__create_guest_kernel_maps() 1241 symbol_conf.default_guest_kallsyms) { in machines__create_guest_kernel_maps() [all …]
|
| D | symbol.h | 91 return path__join(bf, size, symbol_conf.symfs, path); in __symbol__join_symfs() 101 return ((void *)sym) - symbol_conf.priv_size; in symbol__priv()
|
| D | block-info.c | 291 symbol_conf.disable_add2line_warn = true; in block_range_entry() 474 symbol_conf.report_individual_block = true; in report__browse_block_hists() 479 symbol_conf.report_individual_block = true; in report__browse_block_hists()
|
| /Linux-v5.15/tools/perf/tests/ |
| D | hists_cumulate.c | 94 if (symbol_conf.cumulate_callchain) in add_hist_entries() 197 symbol_conf.use_callchain, in do_test() 198 symbol_conf.cumulate_callchain); in do_test() 215 if (symbol_conf.cumulate_callchain) in do_test() 218 if (!symbol_conf.use_callchain) in do_test() 245 !symbol_conf.use_callchain || nr_expected == nr_callchain); in do_test() 281 symbol_conf.use_callchain = false; in test1() 282 symbol_conf.cumulate_callchain = false; in test1() 428 symbol_conf.use_callchain = true; in test2() 429 symbol_conf.cumulate_callchain = false; in test2() [all …]
|
| D | expand-cgroup.c | 122 symbol_conf.event_group = true; in expand_group_events() 152 symbol_conf.event_group = true; in expand_libpfm_events()
|
| /Linux-v5.15/tools/perf/ui/stdio/ |
| D | hist.c | 77 if (symbol_conf.show_branchflag_count) { in ipchain__fprintf_graph() 258 if (symbol_conf.show_branchflag_count) in callchain__fprintf_graph() 332 const char *sep = symbol_conf.field_sep ?: ";"; in __callchain__fprintf_folded() 387 if (symbol_conf.cumulate_callchain) in hist_entry_callchain__fprintf() 417 const char *sep = symbol_conf.field_sep; in __hist_entry__snprintf() 423 if (symbol_conf.exclude_other && !he->parent) in __hist_entry__snprintf() 462 const char *sep = symbol_conf.field_sep; in hist_entry__hierarchy_fprintf() 470 if (symbol_conf.exclude_other && !he->parent) in hist_entry__hierarchy_fprintf() 527 if (he->leaf && hist_entry__has_callchains(he) && symbol_conf.use_callchain) { in hist_entry__hierarchy_fprintf() 597 if (symbol_conf.report_hierarchy) in hist_entry__fprintf() [all …]
|
| /Linux-v5.15/tools/perf/ui/ |
| D | hist.c | 120 if (symbol_conf.field_sep) { in hpp__fmt() 137 if (!symbol_conf.cumulate_callchain) { in hpp__fmt_acc() 233 if (symbol_conf.group_sort_idx && symbol_conf.event_group) { in __hpp__sort() 235 symbol_conf.group_sort_idx); in __hpp__sort() 239 if (ret || !symbol_conf.event_group) in __hpp__sort() 269 if (symbol_conf.cumulate_callchain) { in __hpp__sort_acc() 277 if (a->thread != b->thread || !hist_entry__has_callchains(a) || !symbol_conf.use_callchain) in __hpp__sort_acc() 294 if (symbol_conf.event_group) in hpp__width_fn() 559 if (symbol_conf.cumulate_callchain) { in perf_hpp__init() 566 if (symbol_conf.show_cpu_utilization) { in perf_hpp__init() [all …]
|
| /Linux-v5.15/tools/perf/ui/gtk/ |
| D | hists.c | 184 first ? "" : symbol_conf.field_sep ?: "; ", in perf_gtk__add_callchain_folded() 200 first ? "" : symbol_conf.field_sep ?: "; ", in perf_gtk__add_callchain_folded() 388 symbol_conf.use_callchain && hists__has(hists, sym)) { in perf_gtk__show_hists() 390 total = symbol_conf.cumulate_callchain ? in perf_gtk__show_hists() 485 if (he->leaf && hist_entry__has_callchains(he) && symbol_conf.use_callchain) { in perf_gtk__add_hierarchy_entries() 487 total = symbol_conf.cumulate_callchain ? in perf_gtk__add_hierarchy_entries() 642 if (symbol_conf.event_group) { in evlist__gtk_browse_hists() 658 if (symbol_conf.report_hierarchy) in evlist__gtk_browse_hists()
|
| /Linux-v5.15/tools/perf/ui/browsers/ |
| D | hists.c | 58 return hists__has_filter(hb->hists) || hb->min_pcnt || symbol_conf.has_filter || hb->c2c_filter; in hist_browser__has_filter() 92 if (symbol_conf.report_hierarchy) in hist_browser__nr_entries() 473 if (symbol_conf.report_hierarchy) in hist_browser__toggle_fold() 484 if (symbol_conf.report_hierarchy) in hist_browser__toggle_fold() 492 if (symbol_conf.report_hierarchy) in hist_browser__toggle_fold() 693 if (hist_browser__has_filter(browser) || symbol_conf.report_hierarchy) in hist_browser__handle_hotkey() 877 if (symbol_conf.show_branchflag_count) { in hist_browser__show_callchain_list() 1008 symbol_conf.field_sep ?: ";", str) < 0) in hist_browser__folded_callchain_str() 1184 if (symbol_conf.cumulate_callchain) in hist_browser__show_callchain() 1264 if (!symbol_conf.cumulate_callchain) { \ [all …]
|
| D | annotate.c | 893 if (symbol_conf.show_total_period) { in annotate_browser__run() 894 symbol_conf.show_total_period = false; in annotate_browser__run() 895 symbol_conf.show_nr_samples = true; in annotate_browser__run() 896 } else if (symbol_conf.show_nr_samples) in annotate_browser__run() 897 symbol_conf.show_nr_samples = false; in annotate_browser__run() 899 symbol_conf.show_total_period = true; in annotate_browser__run()
|
| D | res_sample.c | 88 symbol_conf.inline_name ? "--inline" : "", in res_sample_browse()
|