| /linux-6.15/tools/perf/ |
| H A D | builtin-report.c | 395 if (symbol_conf.use_callchain && in report__setup_sample_type() 404 !symbol_conf.use_callchain) { in report__setup_sample_type() 405 symbol_conf.use_callchain = true; in report__setup_sample_type() 492 if (symbol_conf.filter_relative) { in hists__fprintf_nr_sample_events() 506 if (symbol_conf.filter_relative) { in hists__fprintf_nr_sample_events() 1179 symbol_conf.use_callchain = false; in report_parse_callchain_opt() 1535 if (!symbol_conf.addr2line_path) in cmd_report() 1575 data.force = symbol_conf.force; in cmd_report() 1659 symbol_conf.use_callchain = true; in cmd_report() 1741 symbol_conf.enable_latency = true; in cmd_report() [all …]
|
| H A D | builtin-annotate.c | 205 .hide_unresolved = symbol_conf.hide_unresolved, in process_branch_callback() 613 if (symbol_conf.event_group) { in __cmd_annotate() 732 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_annotate() 734 OPT_BOOLEAN('m', "modules", &symbol_conf.use_modules, in cmd_annotate() 742 OPT_BOOLEAN_SET(0, "group", &symbol_conf.event_group, in cmd_annotate() 763 OPT_BOOLEAN(0, "demangle", &symbol_conf.demangle, in cmd_annotate() 832 if (!symbol_conf.addr2line_path) in cmd_annotate() 897 symbol_conf.try_vmlinux_path = true; in cmd_annotate() 916 symbol_conf.annotate_data_member = true; in cmd_annotate() 917 symbol_conf.annotate_data_sample = true; in cmd_annotate() [all …]
|
| H A D | builtin-top.c | 783 symbol_conf.kptr_restrict && in perf_event__process_sample() 813 if (symbol_conf.vmlinux_name) { in perf_event__process_sample() 838 if (symbol_conf.cumulate_callchain) in perf_event__process_sample() 1386 symbol_conf.use_callchain = true; in callchain_opt() 1402 symbol_conf.use_callchain = false; in parse_callchain_opt() 1669 if (!symbol_conf.addr2line_path) in cmd_top() 1692 if (symbol_conf.report_hierarchy) { in cmd_top() 1694 symbol_conf.event_group = false; in cmd_top() 1695 symbol_conf.cumulate_callchain = false; in cmd_top() 1718 symbol_conf.use_callchain = true; in cmd_top() [all …]
|
| H A D | builtin-mem.c | 208 field_sep = symbol_conf.field_sep; in dump_raw_samples() 213 symbol_conf.field_sep = " "; in dump_raw_samples() 217 symbol_conf.field_sep, in dump_raw_samples() 219 symbol_conf.field_sep, in dump_raw_samples() 221 symbol_conf.field_sep, in dump_raw_samples() 223 symbol_conf.field_sep); in dump_raw_samples() 228 symbol_conf.field_sep); in dump_raw_samples() 234 symbol_conf.field_sep); in dump_raw_samples() 244 symbol_conf.field_sep, in dump_raw_samples() 246 symbol_conf.field_sep, in dump_raw_samples() [all …]
|
| H A D | builtin-probe.c | 574 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in __cmd_probe() 576 OPT_STRING('s', "source", &symbol_conf.source_prefix, in __cmd_probe() 596 OPT_BOOLEAN(0, "demangle", &symbol_conf.demangle, in __cmd_probe() 598 OPT_BOOLEAN(0, "demangle-kernel", &symbol_conf.demangle_kernel, in __cmd_probe() 601 OPT_STRING(0, "symfs", &symbol_conf.symfs, "directory", in __cmd_probe() 669 symbol_conf.try_vmlinux_path = (symbol_conf.vmlinux_name == NULL); in __cmd_probe() 676 if (!strchr("lda", params->command) && symbol_conf.vmlinux_name) in __cmd_probe() 677 symbol_conf.ignore_vmlinux_buildid = true; in __cmd_probe()
|
| H A D | builtin-kallsyms.c | 65 symbol_conf.try_vmlinux_path = (symbol_conf.vmlinux_name == NULL); in cmd_kallsyms()
|
| H A D | builtin-script.c | 696 if (symbol_conf.use_callchain && in perf_session__check_output_opt() 782 if (symbol_conf.nanosecs) { in tod_scnprintf() 936 if (symbol_conf.nanosecs) in perf_sample__fprintf_start() 2152 if (!symbol_conf.graph_function) in show_event() 3648 symbol_conf.nanosecs = true; in parse_insn_trace() 3669 symbol_conf.nanosecs = true; in parse_call_trace() 3680 symbol_conf.nanosecs = true; in parse_callret_trace() 3864 if (symbol_conf.guestmount || in cmd_script() 3868 symbol_conf.guest_code) { in cmd_script() 3876 data.force = symbol_conf.force; in cmd_script() [all …]
|
| H A D | builtin-diff.c | 318 if (symbol_conf.filter_relative) { in formula_delta() 941 symbol_conf.report_block = true; in hists__process() 944 !symbol_conf.use_callchain); in hists__process() 1269 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name, 1271 OPT_BOOLEAN('m', "modules", &symbol_conf.use_modules, 1330 const char *fmt = symbol_conf.field_sep ? "%.2f" : "%6.2f%%"; in hpp__entry_baseline() 1358 symbol_conf.disable_add2line_warn = true; in cycles_printf() 1664 if (symbol_conf.field_sep) in hpp__entry_global() 1991 symbol_conf.show_branchflag_count = true; in cmd_diff() 1992 symbol_conf.disable_add2line_warn = true; in cmd_diff() [all …]
|
| H A D | builtin-lock.c | 1618 if (symbol_conf.field_sep) in print_header() 1619 print_header_csv(symbol_conf.field_sep); in print_header() 1731 if (symbol_conf.field_sep) in print_lock_stat() 1732 print_lock_stat_csv(con, st, symbol_conf.field_sep); in print_lock_stat() 1790 if (symbol_conf.field_sep) in print_footer() 1823 if (symbol_conf.field_sep) in print_contention_result() 1876 symbol_conf.allow_aliases = true; in __cmd_report() 1971 if (symbol_conf.field_sep) { in check_lock_contention_options() 2040 symbol_conf.allow_aliases = true; in __cmd_contention() 2106 if (symbol_conf.field_sep) { in __cmd_contention() [all …]
|
| /linux-6.15/tools/perf/util/ |
| H A D | symbol.c | 53 struct symbol_conf symbol_conf = { variable 206 if (symbol_conf.allow_aliases) in symbols__fixup_duplicate() 308 if (symbol_conf.priv_size) { in symbol__new() 331 if (symbol_conf.priv_size) { in symbol__delete() 2198 if (!symbol_conf.ignore_vmlinux && symbol_conf.vmlinux_name != NULL) { in dso__load_kernel_sym() 2514 symbol_conf.priv_size = PERF_ALIGN(symbol_conf.priv_size, sizeof(u64)); in symbol__init() 2521 if (symbol_conf.field_sep && *symbol_conf.field_sep == '.') { in symbol__init() 2549 if (symbol_conf.sym_list && in symbol__init() 2550 setup_addrlist(&symbol_conf.addr_list, symbol_conf.sym_list) < 0) in symbol__init() 2565 symbol_conf.symfs = ""; in symbol__init() [all …]
|
| H A D | hist.c | 81 !symbol_conf.col_width_list_str && !symbol_conf.field_sep && in hists__set_unres_dso_col_len() 82 !symbol_conf.dso_list) in hists__set_unres_dso_col_len() 231 if (symbol_conf.nanosecs) in hists__calc_col_len() 350 if (symbol_conf.cumulate_callchain) in hists__decay_entry() 518 if (symbol_conf.res_sample) { in hist_entry__init() 530 if (!symbol_conf.report_hierarchy) in hist_entry__init() 583 if (symbol_conf.use_callchain) in hist_entry__new() 787 if (he && symbol_conf.res_sample) in __hists__add_entry() 1652 symbol_conf.use_callchain) { in hists__hierarchy_insert_entry() 1998 if (symbol_conf.filter_relative) in output_resort() [all …]
|
| H A D | symbol_conf.h | 12 struct symbol_conf { struct 93 extern struct symbol_conf symbol_conf; argument
|
| H A D | event.c | 640 load_map = !symbol_conf.lazy_load_kernel_maps; in thread__find_map() 646 load_map = !symbol_conf.lazy_load_kernel_maps; in thread__find_map() 782 if (symbol_conf.dso_list && in machine__resolve() 786 strlist__has_entry(symbol_conf.dso_list, in machine__resolve() 792 } else if (symbol_conf.dso_list) { in machine__resolve() 796 if (symbol_conf.sym_list) { in machine__resolve() 802 ret = strlist__has_entry(symbol_conf.sym_list, in machine__resolve() 808 ret = strlist__has_entry(symbol_conf.sym_list, in machine__resolve() 811 if (!ret && symbol_conf.addr_list && al->map) { in machine__resolve() 815 if (!ret && symbol_conf.addr_range) { in machine__resolve() [all …]
|
| H A D | thread.h | 339 if (symbol_conf.comm_list && in thread__is_filtered() 340 !strlist__has_entry(symbol_conf.comm_list, thread__comm_str(thread))) { in thread__is_filtered() 344 if (symbol_conf.pid_list && in thread__is_filtered() 345 !intlist__has_entry(symbol_conf.pid_list, thread__pid(thread))) { in thread__is_filtered() 349 if (symbol_conf.tid_list && in thread__is_filtered() 350 !intlist__has_entry(symbol_conf.tid_list, thread__tid(thread))) { in thread__is_filtered()
|
| H A D | srcline.c | 372 if (!symbol_conf.disable_add2line_warn) in addr2line() 534 if (!symbol_conf.disable_add2line_warn) { in addr2line_configure() 716 addr2line_subprocess_init(symbol_conf.addr2line_path, dso_name)); in addr2line() 721 if (!symbol_conf.disable_add2line_warn) in addr2line() 741 if (!symbol_conf.disable_add2line_warn) in addr2line() 750 if (!symbol_conf.disable_add2line_warn) in addr2line() 766 if (!symbol_conf.disable_add2line_warn) in addr2line() 774 if (!symbol_conf.disable_add2line_warn) in addr2line()
|
| H A D | callchain.c | 179 symbol_conf.use_callchain = true; in __parse_callchain_report_opt() 188 symbol_conf.use_callchain = false; in __parse_callchain_report_opt() 1118 if (sample->callchain == NULL && !symbol_conf.show_branchflag_count) in sample__resolve_callchain() 1121 if (symbol_conf.use_callchain || symbol_conf.cumulate_callchain || in sample__resolve_callchain() 1122 perf_hpp_list.parent || symbol_conf.show_branchflag_count) { in sample__resolve_callchain() 1131 if ((!symbol_conf.use_callchain || sample->callchain == NULL) && in hist_entry__append_callchain() 1132 !symbol_conf.show_branchflag_count) in hist_entry__append_callchain() 1516 if (!symbol_conf.use_callchain) in free_callchain() 1544 if (!symbol_conf.use_callchain) in decay_callchain() 1674 if (symbol_conf.use_callchain || symbol_conf.cumulate_callchain) { in callchain_param_setup()
|
| H A D | machine.c | 294 (symbol_conf.guestmount)) { in machines__findnew() 931 if (symbol_conf.vmlinux_name) in machine__get_kernel() 932 vmlinux_name = symbol_conf.vmlinux_name; in machine__get_kernel() 937 if (symbol_conf.default_guest_vmlinux_name) in machine__get_kernel() 1184 if (symbol_conf.default_guest_vmlinux_name || in machines__create_guest_kernel_maps() 1185 symbol_conf.default_guest_modules || in machines__create_guest_kernel_maps() 1186 symbol_conf.default_guest_kallsyms) { in machines__create_guest_kernel_maps() 1190 if (symbol_conf.guestmount) { in machines__create_guest_kernel_maps() 1208 symbol_conf.guestmount, in machines__create_guest_kernel_maps() 1457 modules = symbol_conf.default_guest_modules; in machine__create_modules() [all …]
|
| /linux-6.15/tools/perf/tests/ |
| H A D | hists_cumulate.c | 95 if (symbol_conf.cumulate_callchain) in add_hist_entries() 210 symbol_conf.use_callchain, in do_test() 211 symbol_conf.cumulate_callchain); in do_test() 228 if (symbol_conf.cumulate_callchain) in do_test() 231 if (!symbol_conf.use_callchain) in do_test() 294 symbol_conf.use_callchain = false; in test1() 295 symbol_conf.cumulate_callchain = false; in test1() 441 symbol_conf.use_callchain = true; in test2() 499 symbol_conf.use_callchain = false; in test3() 500 symbol_conf.cumulate_callchain = true; in test3() [all …]
|
| H A D | expand-cgroup.c | 122 symbol_conf.event_group = true; in expand_group_events() 153 symbol_conf.event_group = true; in expand_libpfm_events()
|
| /linux-6.15/tools/perf/ui/stdio/ |
| H A D | hist.c | 81 if (symbol_conf.show_branchflag_count) { in ipchain__fprintf_graph() 262 if (symbol_conf.show_branchflag_count) in callchain__fprintf_graph() 391 if (symbol_conf.cumulate_callchain) in hist_entry_callchain__fprintf() 421 const char *sep = symbol_conf.field_sep; in __hist_entry__snprintf() 466 const char *sep = symbol_conf.field_sep; in hist_entry__hierarchy_fprintf() 601 if (symbol_conf.report_hierarchy) in hist_entry__fprintf() 604 if (symbol_conf.report_block) in hist_entry__fprintf() 607 if (symbol_conf.report_individual_block) in hist_entry__fprintf() 646 const char *sep = symbol_conf.field_sep; in hists__fprintf_hierarchy_headers() 814 if (symbol_conf.report_hierarchy) in hists__fprintf_headers() [all …]
|
| /linux-6.15/tools/perf/ui/ |
| H A D | hist.c | 99 if (symbol_conf.skip_empty && in __hpp__fmt() 127 if (symbol_conf.field_sep) { in hpp__fmt() 241 if (symbol_conf.group_sort_idx && symbol_conf.event_group) { in __hpp__sort() 304 if (symbol_conf.event_group) { in hpp__width_fn() 309 if (!symbol_conf.skip_empty || in hpp__width_fn() 647 if (symbol_conf.prefer_latency) in perf_hpp__init() 650 if (symbol_conf.enable_latency) in perf_hpp__init() 655 if (symbol_conf.prefer_latency) in perf_hpp__init() 658 if (symbol_conf.enable_latency) in perf_hpp__init() 671 if (symbol_conf.show_nr_samples) in perf_hpp__init() [all …]
|
| /linux-6.15/tools/perf/ui/browsers/ |
| H A D | annotate-data.c | 65 if (symbol_conf.skip_empty && in get_member_overhead() 352 if (symbol_conf.show_total_period) in browser__show() 354 else if (symbol_conf.show_nr_samples) in browser__show() 377 if (symbol_conf.show_total_period) in browser__write_overhead() 379 else if (symbol_conf.show_nr_samples) in browser__write_overhead() 421 if (symbol_conf.skip_empty && in browser__write() 591 if (!symbol_conf.skip_empty || in hist_entry__annotate_data_tui()
|
| H A D | hists.c | 93 if (symbol_conf.report_hierarchy) in hist_browser__nr_entries() 469 if (symbol_conf.report_hierarchy) in hist_browser__toggle_fold() 480 if (symbol_conf.report_hierarchy) in hist_browser__toggle_fold() 488 if (symbol_conf.report_hierarchy) in hist_browser__toggle_fold() 1175 if (symbol_conf.cumulate_callchain) in hist_browser__show_callchain() 1806 if (symbol_conf.report_hierarchy) in hist_browser__show_headers() 2229 if (symbol_conf.report_hierarchy) { in hist_browser__init() 3052 if (symbol_conf.col_width_list_str) in evsel__hists_browse() 3085 if (!symbol_conf.event_group || in evsel__hists_browse() 3215 symbol_conf.filter_relative ^= 1; in evsel__hists_browse() [all …]
|
| H A D | annotate.c | 890 if (symbol_conf.show_total_period) { in annotate_browser__run() 891 symbol_conf.show_total_period = false; in annotate_browser__run() 892 symbol_conf.show_nr_samples = true; in annotate_browser__run() 893 } else if (symbol_conf.show_nr_samples) in annotate_browser__run() 894 symbol_conf.show_nr_samples = false; in annotate_browser__run() 896 symbol_conf.show_total_period = true; in annotate_browser__run()
|
| /linux-6.15/tools/perf/ui/gtk/ |
| H 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()
|