/linux/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() 258 !symbol_conf.use_callchain || nr_expected == nr_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() 442 symbol_conf in test2() [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/tools/perf/ui/stdio/ |
H 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() 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/tools/perf/ |
H A D | builtin-top.c | 306 if (symbol_conf.event_group && !evsel__is_group_leader(pos)) { in perf_top__resort_hists() 355 top->min_percent, stdout, !symbol_conf.use_callchain); in perf_top__print_sym_table() 783 symbol_conf.kptr_restrict && in perf_event__process_sample() 813 if (symbol_conf.vmlinux_name) { in perf_event__process_sample() 818 symbol_conf.vmlinux_name, serr, msg); in perf_event__process_sample() 838 if (symbol_conf.cumulate_callchain) in perf_event__process_sample() 1382 symbol_conf.use_callchain = true; in callchain_opt() 1398 symbol_conf.use_callchain = false; in parse_callchain_opt() 1413 symbol_conf.cumulate_callchain = perf_config_bool(var, value); in perf_top_config() 1483 OPT_STRING('k', "vmlinux", &symbol_conf in cmd_top() [all...] |
H A D | builtin-mem.c | 206 field_sep = symbol_conf.field_sep; in dump_raw_samples() 211 symbol_conf.field_sep = " "; in dump_raw_samples() 215 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() 226 symbol_conf.field_sep); in dump_raw_samples() 232 symbol_conf.field_sep); in dump_raw_samples() 242 symbol_conf.field_sep, in dump_raw_samples() 244 symbol_conf in dump_raw_samples() [all...] |
H A D | builtin-kallsyms.c | 65 symbol_conf.try_vmlinux_path = (symbol_conf.vmlinux_name == NULL); in cmd_kallsyms()
|
H A D | builtin-lock.c | 1606 if (symbol_conf.field_sep) in get_type_str() 1607 print_header_csv(symbol_conf.field_sep); in get_type_str() 1719 if (symbol_conf.field_sep) in print_header() 1720 print_lock_stat_csv(con, st, symbol_conf.field_sep); in print_header() 1778 if (symbol_conf.field_sep) in print_lock_stat_csv() 1779 print_footer_csv(total, bad, fails, symbol_conf.field_sep); in print_lock_stat_csv() 1848 symbol_conf.allow_aliases = true; in print_footer_stdio() 1943 if (symbol_conf.field_sep) { in __cmd_report() 1944 if (strstr(symbol_conf.field_sep, ":") || /* part of type flags */ in __cmd_report() 1945 strstr(symbol_conf in __cmd_report() [all...] |
/linux/tools/perf/ui/ |
H A D | hist.c | 98 if (symbol_conf.skip_empty && in __hpp__fmt() 126 if (symbol_conf.field_sep) { in hpp__fmt() 144 if (!symbol_conf.cumulate_callchain) { in hpp__fmt_acc() 240 if (symbol_conf.group_sort_idx && symbol_conf.event_group) { in __hpp__sort() 242 symbol_conf.group_sort_idx); in __hpp__sort() 246 if (ret || !symbol_conf.event_group) in __hpp__sort() 276 if (symbol_conf.cumulate_callchain) { in __hpp__sort_acc() 286 !hist_entry__has_callchains(a) || !symbol_conf.use_callchain) in __hpp__sort_acc() 303 if (symbol_conf in hpp__width_fn() [all...] |
/linux/tools/perf/util/ |
H A D | symbol_conf.h | 10 struct symbol_conf { struct 87 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() 737 if (symbol_conf.guest_code && !machine__is_host(machine)) in machine__resolve() 771 if (symbol_conf.dso_list && in machine__resolve() 772 (!dso || !(strlist__has_entry(symbol_conf.dso_list, in machine__resolve() 775 strlist__has_entry(symbol_conf.dso_list, in machine__resolve() 781 } else if (symbol_conf.dso_list) { in machine__resolve() 785 if (symbol_conf.sym_list) { in machine__resolve() 791 ret = strlist__has_entry(symbol_conf.sym_list, in machine__resolve() 797 ret = strlist__has_entry(symbol_conf.sym_list, in machine__resolve() [all …]
|
H A D | thread.h | 327 if (symbol_conf.comm_list && in thread__is_filtered() 328 !strlist__has_entry(symbol_conf.comm_list, thread__comm_str(thread))) { in thread__is_filtered() 332 if (symbol_conf.pid_list && in thread__is_filtered() 333 !intlist__has_entry(symbol_conf.pid_list, thread__pid(thread))) { in thread__is_filtered() 337 if (symbol_conf.tid_list && in thread__is_filtered() 338 !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() 1122 if (sample->callchain == NULL && !symbol_conf.show_branchflag_count) in sample__resolve_callchain() 1125 if (symbol_conf.use_callchain || symbol_conf.cumulate_callchain || in sample__resolve_callchain() 1126 perf_hpp_list.parent || symbol_conf.show_branchflag_count) { in sample__resolve_callchain() 1135 if ((!symbol_conf.use_callchain || sample->callchain == NULL) && in hist_entry__append_callchain() 1136 !symbol_conf.show_branchflag_count) in hist_entry__append_callchain() 1520 if (!symbol_conf.use_callchain) in free_callchain() 1548 if (!symbol_conf.use_callchain) in decay_callchain() 1678 if (symbol_conf.use_callchain || symbol_conf.cumulate_callchain) { in callchain_param_setup()
|
H A D | machine.c | 291 (symbol_conf.guestmount)) { in machines__findnew() 292 sprintf(path, "%s/%d", symbol_conf.guestmount, pid); in machines__findnew() 941 if (symbol_conf.vmlinux_name) in machine__get_kernel() 942 vmlinux_name = symbol_conf.vmlinux_name; in machine__get_kernel() 947 if (symbol_conf.default_guest_vmlinux_name) in machine__get_kernel() 948 vmlinux_name = symbol_conf.default_guest_vmlinux_name; in machine__get_kernel() 965 scnprintf(buf, bufsz, "%s", symbol_conf.default_guest_kallsyms); in machine__get_kallsyms_filename() 1194 if (symbol_conf.default_guest_vmlinux_name || in machines__create_guest_kernel_maps() 1195 symbol_conf.default_guest_modules || in machines__create_guest_kernel_maps() 1196 symbol_conf.default_guest_kallsyms) { in machines__create_guest_kernel_maps() [all …]
|
H A D | annotate.c | 814 if (symbol_conf.show_total_period) in annotation_line__print() 817 else if (symbol_conf.show_nr_samples) in annotation_line__print() 916 if (symbol_conf.skip_empty && in annotation__calc_percent() 999 if (symbol_conf.skip_empty && in symbol__annotate() 1209 width, width, symbol_conf.show_total_period ? "Period" : in symbol__annotate_printf() 1210 symbol_conf.show_nr_samples ? "Samples" : "Percent", in symbol__annotate_printf() 1918 if (symbol_conf.show_total_period) { in __annotation_line__write() 1920 } else if (symbol_conf.show_nr_samples) { in __annotation_line__write() 1934 symbol_conf.show_total_period ? "Period" : in __annotation_line__write() 1935 symbol_conf.show_nr_samples ? "Samples" : "Percent"); in __annotation_line__write() [all …]
|
H A D | map.c | 442 (symbol_conf.show_kernel_path || in prefer_dso_long_name() 448 char buf[symbol_conf.pad_output_len_dso + 1]; in __map__fprintf_dsoname() 459 if (symbol_conf.pad_output_len_dso) { in __map__fprintf_dsoname() 460 scnprintf_pad(buf, symbol_conf.pad_output_len_dso, "%s", dsoname); in __map__fprintf_dsoname()
|
H A D | symbol.h | 14 #include "symbol_conf.h" 99 return path__join(bf, size, symbol_conf.symfs, path); in __symbol__join_symfs() 109 return ((void *)sym) - symbol_conf.priv_size; in symbol__priv()
|
H A D | annotate-data.c | 358 if (symbol_conf.annotate_data_member) in dso__findnew_data_type() 1742 if (symbol_conf.skip_empty && in print_annotated_data_header() 1751 if (symbol_conf.show_total_period) { in print_annotated_data_header() 1754 } else if (symbol_conf.show_nr_samples) { in print_annotated_data_header() 1769 if (symbol_conf.show_total_period) in print_annotated_data_value() 1771 else if (symbol_conf.show_nr_samples) in print_annotated_data_value() 1785 int width = symbol_conf.show_total_period ? 11 : 7; in print_annotated_data_type() 1791 if (symbol_conf.skip_empty && in print_annotated_data_type()
|
H A D | block-info.c | 306 symbol_conf.disable_add2line_warn = true; in block_range_entry() 509 symbol_conf.report_individual_block = true; in report__browse_block_hists() 514 symbol_conf.report_individual_block = true; in report__browse_block_hists()
|
H A D | annotate.h | 365 return (symbol_conf.show_total_period ? 12 : 8) * notes->src->nr_events; in annotation__pcnt_width() 406 return (void *)sym - symbol_conf.priv_size; in symbol__annotation()
|
/linux/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 | 59 return hists__has_filter(hb->hists) || hb->min_pcnt || symbol_conf.has_filter || hb->c2c_filter; in hist_browser__has_filter() 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() 684 if (hist_browser__has_filter(browser) || symbol_conf.report_hierarchy) in hist_browser__handle_hotkey() 868 if (symbol_conf.show_branchflag_count) { in hist_browser__show_callchain_list() 999 symbol_conf.field_sep ?: ";", str) < 0) in hist_browser__folded_callchain_str() 1175 if (symbol_conf.cumulate_callchain) in hist_browser__show_callchain() 1255 if (!symbol_conf.cumulate_callchain) { \ [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()
|
H A D | res_sample.c | 88 symbol_conf.inline_name ? "--inline" : "", in res_sample_browse()
|
/linux/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()
|