/linux-6.3-rc2/tools/perf/ |
A D | builtin-report.c | 382 if (symbol_conf.use_callchain && in report__setup_sample_type() 391 !symbol_conf.use_callchain) { in report__setup_sample_type() 392 symbol_conf.use_callchain = true; in report__setup_sample_type() 399 if (symbol_conf.cumulate_callchain) { in report__setup_sample_type() 479 if (symbol_conf.filter_relative) { in hists__fprintf_nr_sample_events() 493 if (symbol_conf.filter_relative) { in hists__fprintf_nr_sample_events() 1071 symbol_conf.use_callchain = false; in report_parse_callchain_opt() 1452 data.force = symbol_conf.force; in cmd_report() 1511 symbol_conf.use_callchain = true; in cmd_report() 1526 if (symbol_conf.report_hierarchy) { in cmd_report() [all …]
|
A D | builtin-mem.c | 216 field_sep = symbol_conf.field_sep; in dump_raw_samples() 221 symbol_conf.field_sep = " "; in dump_raw_samples() 225 symbol_conf.field_sep, in dump_raw_samples() 227 symbol_conf.field_sep, in dump_raw_samples() 229 symbol_conf.field_sep, in dump_raw_samples() 231 symbol_conf.field_sep); in dump_raw_samples() 236 symbol_conf.field_sep); in dump_raw_samples() 242 symbol_conf.field_sep); in dump_raw_samples() 252 symbol_conf.field_sep, in dump_raw_samples() 254 symbol_conf.field_sep, in dump_raw_samples() [all …]
|
A D | builtin-annotate.c | 195 .hide_unresolved = symbol_conf.hide_unresolved, in process_branch_callback() 446 if (symbol_conf.event_group && !evsel__is_group_leader(pos)) in __cmd_annotate() 541 OPT_BOOLEAN(0, "ignore-vmlinux", &symbol_conf.ignore_vmlinux, in cmd_annotate() 543 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_annotate() 545 OPT_BOOLEAN('m', "modules", &symbol_conf.use_modules, in cmd_annotate() 553 OPT_BOOLEAN_SET(0, "group", &symbol_conf.event_group, in cmd_annotate() 572 OPT_BOOLEAN(0, "demangle", &symbol_conf.demangle, in cmd_annotate() 574 OPT_BOOLEAN(0, "demangle-kernel", &symbol_conf.demangle_kernel, in cmd_annotate() 576 OPT_BOOLEAN(0, "group", &symbol_conf.event_group, in cmd_annotate() 624 if (symbol_conf.show_nr_samples && annotate.use_gtk) { in cmd_annotate() [all …]
|
A D | builtin-top.c | 781 symbol_conf.kptr_restrict && in perf_event__process_sample() 811 if (symbol_conf.vmlinux_name) { in perf_event__process_sample() 835 if (symbol_conf.cumulate_callchain) in perf_event__process_sample() 1361 symbol_conf.use_callchain = true; in callchain_opt() 1377 symbol_conf.use_callchain = false; in parse_callchain_opt() 1637 if (symbol_conf.report_hierarchy) { in cmd_top() 1639 symbol_conf.event_group = false; in cmd_top() 1640 symbol_conf.cumulate_callchain = false; in cmd_top() 1661 symbol_conf.show_branchflag_count = true; in cmd_top() 1723 symbol_conf.cumulate_callchain = false; in cmd_top() [all …]
|
A 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()
|
A D | builtin-probe.c | 565 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in __cmd_probe() 567 OPT_STRING('s', "source", &symbol_conf.source_prefix, in __cmd_probe() 587 OPT_BOOLEAN(0, "demangle", &symbol_conf.demangle, in __cmd_probe() 589 OPT_BOOLEAN(0, "demangle-kernel", &symbol_conf.demangle_kernel, in __cmd_probe() 592 OPT_STRING(0, "symfs", &symbol_conf.symfs, "directory", in __cmd_probe() 660 symbol_conf.try_vmlinux_path = (symbol_conf.vmlinux_name == NULL); in __cmd_probe() 667 if (!strchr("lda", params.command) && symbol_conf.vmlinux_name) in __cmd_probe() 668 symbol_conf.ignore_vmlinux_buildid = true; in __cmd_probe()
|
A D | builtin-script.c | 653 if (symbol_conf.use_callchain && in perf_session__check_output_opt() 739 if (symbol_conf.nanosecs) { in tod_scnprintf() 875 if (symbol_conf.nanosecs) in perf_sample__fprintf_start() 2101 if (!symbol_conf.graph_function) in show_event() 3755 symbol_conf.nanosecs = true; in parse_insn_trace() 3776 symbol_conf.nanosecs = true; in parse_call_trace() 3787 symbol_conf.nanosecs = true; in parse_callret_trace() 3999 if (symbol_conf.guestmount || in cmd_script() 4003 symbol_conf.guest_code) { in cmd_script() 4011 data.force = symbol_conf.force; in cmd_script() [all …]
|
A 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, 1341 const char *fmt = symbol_conf.field_sep ? "%.2f" : "%6.2f%%"; in hpp__entry_baseline() 1369 symbol_conf.disable_add2line_warn = true; in cycles_printf() 1675 if (symbol_conf.field_sep) in hpp__entry_global() 1990 symbol_conf.show_branchflag_count = true; in cmd_diff() 1991 symbol_conf.disable_add2line_warn = true; in cmd_diff() [all …]
|
/linux-6.3-rc2/tools/perf/util/ |
A D | symbol.c | 51 struct symbol_conf symbol_conf = { variable 186 if (symbol_conf.allow_aliases) in symbols__fixup_duplicate() 295 if (symbol_conf.priv_size) { in symbol__new() 318 if (symbol_conf.priv_size) { in symbol__delete() 2272 if (!symbol_conf.ignore_vmlinux && symbol_conf.vmlinux_name != NULL) { in dso__load_kernel_sym() 2559 symbol_conf.priv_size = PERF_ALIGN(symbol_conf.priv_size, sizeof(u64)); in symbol__init() 2570 if (symbol_conf.field_sep && *symbol_conf.field_sep == '.') { in symbol__init() 2595 if (symbol_conf.sym_list && in symbol__init() 2596 setup_addrlist(&symbol_conf.addr_list, symbol_conf.sym_list) < 0) in symbol__init() 2611 symbol_conf.symfs = ""; in symbol__init() [all …]
|
A D | thread.h | 141 if (symbol_conf.comm_list && in thread__is_filtered() 142 !strlist__has_entry(symbol_conf.comm_list, thread__comm_str(thread))) { in thread__is_filtered() 146 if (symbol_conf.pid_list && in thread__is_filtered() 147 !intlist__has_entry(symbol_conf.pid_list, thread->pid_)) { in thread__is_filtered() 151 if (symbol_conf.tid_list && in thread__is_filtered() 152 !intlist__has_entry(symbol_conf.tid_list, thread->tid)) { in thread__is_filtered()
|
A 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() 220 if (symbol_conf.nanosecs) in hists__calc_col_len() 331 if (symbol_conf.cumulate_callchain) in hists__decay_entry() 491 if (symbol_conf.res_sample) { in hist_entry__init() 493 symbol_conf.res_sample); in hist_entry__init() 503 if (!symbol_conf.report_hierarchy) in hist_entry__init() 556 if (symbol_conf.use_callchain) in hist_entry__new() 749 if (he && symbol_conf.res_sample) in __hists__add_entry() 1900 if (symbol_conf.filter_relative) in output_resort() [all …]
|
A D | symbol_conf.h | 10 struct symbol_conf { struct 83 extern struct symbol_conf symbol_conf; argument
|
A D | event.c | 720 if (symbol_conf.dso_list && in machine__resolve() 721 (!dso || !(strlist__has_entry(symbol_conf.dso_list, in machine__resolve() 724 strlist__has_entry(symbol_conf.dso_list, in machine__resolve() 730 } else if (symbol_conf.dso_list) { in machine__resolve() 734 if (symbol_conf.sym_list) { in machine__resolve() 740 ret = strlist__has_entry(symbol_conf.sym_list, in machine__resolve() 746 ret = strlist__has_entry(symbol_conf.sym_list, in machine__resolve() 749 if (!ret && symbol_conf.addr_list && al->map) { in machine__resolve() 753 if (!ret && symbol_conf.addr_range) { in machine__resolve() 754 ret = check_address_range(symbol_conf.addr_list, in machine__resolve() [all …]
|
A D | callchain.c | 178 symbol_conf.use_callchain = true; in __parse_callchain_report_opt() 187 symbol_conf.use_callchain = false; in __parse_callchain_report_opt() 1093 if (sample->callchain == NULL && !symbol_conf.show_branchflag_count) in sample__resolve_callchain() 1096 if (symbol_conf.use_callchain || symbol_conf.cumulate_callchain || in sample__resolve_callchain() 1097 perf_hpp_list.parent || symbol_conf.show_branchflag_count) { in sample__resolve_callchain() 1106 if ((!symbol_conf.use_callchain || sample->callchain == NULL) && in hist_entry__append_callchain() 1107 !symbol_conf.show_branchflag_count) in hist_entry__append_callchain() 1483 if (!symbol_conf.use_callchain) in free_callchain() 1511 if (!symbol_conf.use_callchain) in decay_callchain() 1603 if (symbol_conf.use_callchain || symbol_conf.cumulate_callchain) { in callchain_param_setup()
|
A D | srcline.c | 309 if (!symbol_conf.disable_add2line_warn) in addr2line() 561 if (!symbol_conf.disable_add2line_warn) in addr2line() 576 if (!symbol_conf.disable_add2line_warn) in addr2line() 583 if (!symbol_conf.disable_add2line_warn) in addr2line() 593 if (!symbol_conf.disable_add2line_warn) in addr2line() 601 if (!symbol_conf.disable_add2line_warn) in addr2line()
|
A D | map.c | 415 char buf[symbol_conf.pad_output_len_dso + 1]; in map__fprintf_dsoname() 419 if (symbol_conf.show_kernel_path && map->dso->long_name) in map__fprintf_dsoname() 425 if (symbol_conf.pad_output_len_dso) { in map__fprintf_dsoname() 426 scnprintf_pad(buf, symbol_conf.pad_output_len_dso, "%s", dsoname); in map__fprintf_dsoname()
|
A D | machine.c | 364 (symbol_conf.guestmount)) { in machines__findnew() 1111 if (symbol_conf.vmlinux_name) in machine__get_kernel() 1112 vmlinux_name = symbol_conf.vmlinux_name; in machine__get_kernel() 1117 if (symbol_conf.default_guest_vmlinux_name) in machine__get_kernel() 1345 if (symbol_conf.default_guest_vmlinux_name || in machines__create_guest_kernel_maps() 1346 symbol_conf.default_guest_modules || in machines__create_guest_kernel_maps() 1347 symbol_conf.default_guest_kallsyms) { in machines__create_guest_kernel_maps() 1351 if (symbol_conf.guestmount) { in machines__create_guest_kernel_maps() 1369 symbol_conf.guestmount, in machines__create_guest_kernel_maps() 1604 modules = symbol_conf.default_guest_modules; in machine__create_modules() [all …]
|
/linux-6.3-rc2/tools/perf/tests/ |
A 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() 281 symbol_conf.use_callchain = false; in test1() 282 symbol_conf.cumulate_callchain = false; in test1() 428 symbol_conf.use_callchain = true; in test2() 486 symbol_conf.use_callchain = false; in test3() 487 symbol_conf.cumulate_callchain = true; in test3() [all …]
|
A D | expand-cgroup.c | 122 symbol_conf.event_group = true; in expand_group_events() 154 symbol_conf.event_group = true; in expand_libpfm_events()
|
A D | builtin-test.c | 546 symbol_conf.priv_size = sizeof(int); in cmd_test() 547 symbol_conf.sort_by_name = true; in cmd_test() 548 symbol_conf.try_vmlinux_path = true; in cmd_test()
|
/linux-6.3-rc2/tools/perf/ui/stdio/ |
A 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() 387 if (symbol_conf.cumulate_callchain) in hist_entry_callchain__fprintf() 417 const char *sep = symbol_conf.field_sep; in __hist_entry__snprintf() 462 const char *sep = symbol_conf.field_sep; in hist_entry__hierarchy_fprintf() 597 if (symbol_conf.report_hierarchy) in hist_entry__fprintf() 600 if (symbol_conf.report_block) in hist_entry__fprintf() 603 if (symbol_conf.report_individual_block) in hist_entry__fprintf() 642 const char *sep = symbol_conf.field_sep; in hists__fprintf_hierarchy_headers() 810 if (symbol_conf.report_hierarchy) in hists__fprintf_headers() [all …]
|
/linux-6.3-rc2/tools/perf/ui/ |
A 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() 294 if (symbol_conf.event_group) in hpp__width_fn() 571 if (symbol_conf.cumulate_callchain) { in perf_hpp__init() 588 if (symbol_conf.show_nr_samples) in perf_hpp__init() 591 if (symbol_conf.show_total_period) in perf_hpp__init() [all …]
|
/linux-6.3-rc2/tools/perf/ui/gtk/ |
A 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-6.3-rc2/tools/perf/ui/browsers/ |
A D | hists.c | 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() 1184 if (symbol_conf.cumulate_callchain) in hist_browser__show_callchain() 1808 if (symbol_conf.report_hierarchy) in hist_browser__show_headers() 2231 if (symbol_conf.report_hierarchy) { in hist_browser__init() 3027 if (symbol_conf.col_width_list_str) in evsel__hists_browse() 3060 if (!symbol_conf.event_group || in evsel__hists_browse() 3189 symbol_conf.filter_relative ^= 1; in evsel__hists_browse() [all …]
|
A D | annotate.c | 889 if (symbol_conf.show_total_period) { in annotate_browser__run() 890 symbol_conf.show_total_period = false; in annotate_browser__run() 891 symbol_conf.show_nr_samples = true; in annotate_browser__run() 892 } else if (symbol_conf.show_nr_samples) in annotate_browser__run() 893 symbol_conf.show_nr_samples = false; in annotate_browser__run() 895 symbol_conf.show_total_period = true; in annotate_browser__run()
|