| /linux/tools/perf/ |
| H A D | builtin-report.c | 131 symbol_conf.event_group = perf_config_bool(var, value); in report__config() 142 symbol_conf.cumulate_callchain = perf_config_bool(var, value); in report__config() 197 } else if (symbol_conf.cumulate_callchain) { in hist_iter__report_callback() 280 .hide_unresolved = symbol_conf.hide_unresolved, in process_sample_event() 304 if (symbol_conf.hide_unresolved && al.sym == NULL) in process_sample_event() 322 } else if (symbol_conf.cumulate_callchain) { in process_sample_event() 396 if (symbol_conf.use_callchain && in report__setup_sample_type() 397 !symbol_conf.show_branchflag_count) { in report__setup_sample_type() 405 !symbol_conf.use_callchain) { in report__setup_sample_type() 406 symbol_conf.use_callchain = true; in report__setup_sample_type() [all …]
|
| H A D | builtin-annotate.c | 205 .hide_unresolved = symbol_conf.hide_unresolved, in process_branch_callback() 614 if (symbol_conf.event_group) { in __cmd_annotate() 641 if (!symbol_conf.event_group || !evsel__is_group_leader(pos)) in __cmd_annotate() 713 OPT_STRING('d', "dsos", &symbol_conf.dso_list_str, "dso[,dso...]", in cmd_annotate() 731 OPT_BOOLEAN(0, "ignore-vmlinux", &symbol_conf.ignore_vmlinux, in cmd_annotate() 733 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_annotate() 735 OPT_BOOLEAN('m', "modules", &symbol_conf.use_modules, in cmd_annotate() 743 OPT_BOOLEAN_SET(0, "group", &symbol_conf.event_group, in cmd_annotate() 764 OPT_BOOLEAN(0, "demangle", &symbol_conf.demangle, in cmd_annotate() 766 OPT_BOOLEAN(0, "demangle-kernel", &symbol_conf.demangle_kernel, in cmd_annotate() [all …]
|
| H A D | builtin-top.c | 307 if (symbol_conf.event_group && !evsel__is_group_leader(pos)) { in perf_top__resort_hists() 356 top->min_percent, stdout, !symbol_conf.use_callchain); in perf_top__print_sym_table() 785 symbol_conf.kptr_restrict && in perf_event__process_sample() 815 if (symbol_conf.vmlinux_name) { in perf_event__process_sample() 820 symbol_conf.vmlinux_name, serr, msg); in perf_event__process_sample() 840 if (symbol_conf.cumulate_callchain) in perf_event__process_sample() 1392 symbol_conf.use_callchain = true; in callchain_opt() 1408 symbol_conf.use_callchain = false; in parse_callchain_opt() 1423 symbol_conf.cumulate_callchain = perf_config_bool(var, value); in perf_top_config() 1493 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_top() [all …]
|
| H A D | builtin-mem.c | 209 field_sep = symbol_conf.field_sep; in dump_raw_samples() 214 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() 222 symbol_conf.field_sep, in dump_raw_samples() 224 symbol_conf.field_sep); in dump_raw_samples() 229 symbol_conf.field_sep); in dump_raw_samples() 235 symbol_conf.field_sep); in dump_raw_samples() 245 symbol_conf.field_sep, in dump_raw_samples() 247 symbol_conf.field_sep, in dump_raw_samples() [all …]
|
| H A D | builtin-script.c | 685 symbol_conf.use_callchain = false; in perf_session__check_output_opt() 692 if (symbol_conf.use_callchain && in perf_session__check_output_opt() 778 if (symbol_conf.nanosecs) { in tod_scnprintf() 845 else if (PRINT_FIELD(IP) && evsel__has_callchain(evsel) && symbol_conf.use_callchain) in perf_sample__fprintf_start() 932 if (symbol_conf.nanosecs) in perf_sample__fprintf_start() 1673 if (symbol_conf.use_callchain && sample->callchain) { in perf_sample__fprintf_bts() 1690 symbol_conf.bt_stop_list, fp); in perf_sample__fprintf_bts() 2375 if (!symbol_conf.graph_function) in show_event() 2385 const char *s = symbol_conf.graph_function; in show_event() 2496 if (symbol_conf.use_callchain && sample->callchain) { in process_event() [all …]
|
| H A D | builtin-kallsyms.c | 76 symbol_conf.try_vmlinux_path = (symbol_conf.vmlinux_name == NULL); in cmd_kallsyms()
|
| 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, 1273 OPT_STRING('d', "dsos", &symbol_conf.dso_list_str, "dso[,dso...]", 1275 OPT_STRING('C', "comms", &symbol_conf.comm_list_str, "comm[,comm...]", 1277 OPT_STRING('S', "symbols", &symbol_conf.sym_list_str, "symbol[,symbol...]", 1282 OPT_STRING_NOEMPTY('t', "field-separator", &symbol_conf.field_sep, "separator", 1294 OPT_STRING(0, "pid", &symbol_conf.pid_list_str, "pid[,pid...]", [all …]
|
| H A D | builtin-lock.c | 1620 if (symbol_conf.field_sep) in print_header() 1621 print_header_csv(symbol_conf.field_sep); in print_header() 1733 if (symbol_conf.field_sep) in print_lock_stat() 1734 print_lock_stat_csv(con, st, symbol_conf.field_sep); in print_lock_stat() 1792 if (symbol_conf.field_sep) in print_footer() 1793 print_footer_csv(total, bad, fails, symbol_conf.field_sep); in print_footer() 1825 if (symbol_conf.field_sep) in print_contention_result() 1879 symbol_conf.allow_aliases = true; in __cmd_report() 1974 if (symbol_conf.field_sep) { in check_lock_contention_options() 1975 if (strstr(symbol_conf.field_sep, ":") || /* part of type flags */ in check_lock_contention_options() [all …]
|
| /linux/tools/perf/util/ |
| H A D | symbol.c | 59 struct symbol_conf symbol_conf = { variable 223 if (symbol_conf.allow_aliases) in symbols__fixup_duplicate() 320 struct symbol *sym = calloc(1, (symbol_conf.priv_size + in symbol__new() 325 if (symbol_conf.priv_size) { in symbol__new() 326 if (symbol_conf.init_annotation) { in symbol__new() 330 sym = ((void *)sym) + symbol_conf.priv_size; in symbol__new() 348 if (symbol_conf.priv_size) { in symbol__delete() 349 if (symbol_conf.init_annotation) { in symbol__delete() 355 free(((void *)sym) - symbol_conf.priv_size); in symbol__delete() 898 if (!symbol_conf.use_modules) in maps__split_kallsyms() [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() 302 unsigned long time_quantum = symbol_conf.time_quantum; in hist_time() 413 if (symbol_conf.cumulate_callchain) in hists__decay_entry() 530 if (symbol_conf.cumulate_callchain) { in hist_entry__init() 567 if (hist_entry__has_callchains(he) && symbol_conf.use_callchain) in hist_entry__init() 582 if (symbol_conf.res_sample) { in hist_entry__init() 583 he->res_samples = calloc(symbol_conf.res_sample, in hist_entry__init() 594 if (!symbol_conf.report_hierarchy) in hist_entry__init() [all …]
|
| H A D | symbol_conf.h | 12 struct symbol_conf { struct 93 extern struct symbol_conf symbol_conf; argument
|
| H A D | addr2line.c | 126 if (!symbol_conf.disable_add2line_warn) { in addr2line_configure() 308 addr2line_subprocess_init(symbol_conf.addr2line_path, dso_name)); in cmd__addr2line() 313 if (!symbol_conf.disable_add2line_warn) in cmd__addr2line() 333 if (!symbol_conf.disable_add2line_warn) in cmd__addr2line() 342 if (!symbol_conf.disable_add2line_warn) in cmd__addr2line() 358 if (!symbol_conf.disable_add2line_warn) in cmd__addr2line() 366 if (!symbol_conf.disable_add2line_warn) in cmd__addr2line()
|
| H A D | event.c | 664 load_map = !symbol_conf.lazy_load_kernel_maps; in thread__find_map() 670 load_map = !symbol_conf.lazy_load_kernel_maps; in thread__find_map() 761 if (symbol_conf.guest_code && !machine__is_host(machine)) in machine__resolve() 796 if (test_bit(al->parallelism, symbol_conf.parallelism_filter)) in machine__resolve() 806 if (symbol_conf.dso_list && in machine__resolve() 807 (!dso || !(strlist__has_entry(symbol_conf.dso_list, in machine__resolve() 810 strlist__has_entry(symbol_conf.dso_list, in machine__resolve() 816 } else if (symbol_conf.dso_list) { in machine__resolve() 820 if (symbol_conf.sym_list) { in machine__resolve() 826 ret = strlist__has_entry(symbol_conf.sym_list, in machine__resolve() [all …]
|
| H A D | thread.h | 340 if (symbol_conf.comm_list && in thread__is_filtered() 341 !strlist__has_entry(symbol_conf.comm_list, thread__comm_str(thread))) { in thread__is_filtered() 345 if (symbol_conf.pid_list && in thread__is_filtered() 346 !intlist__has_entry(symbol_conf.pid_list, thread__pid(thread))) { in thread__is_filtered() 350 if (symbol_conf.tid_list && in thread__is_filtered() 351 !intlist__has_entry(symbol_conf.tid_list, thread__tid(thread))) { in thread__is_filtered()
|
| 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() 1128 if (sample->callchain == NULL && !symbol_conf.show_branchflag_count) in sample__resolve_callchain() 1131 if (symbol_conf.use_callchain || symbol_conf.cumulate_callchain || in sample__resolve_callchain() 1132 perf_hpp_list.parent || symbol_conf.show_branchflag_count) { in sample__resolve_callchain() 1141 if ((!symbol_conf.use_callchain || sample->callchain == NULL) && in hist_entry__append_callchain() 1142 !symbol_conf.show_branchflag_count) in hist_entry__append_callchain() 1526 if (!symbol_conf.use_callchain) in free_callchain() 1554 if (!symbol_conf.use_callchain) in decay_callchain() 1684 if (symbol_conf.use_callchain || symbol_conf.cumulate_callchain) { in callchain_param_setup()
|
| H A D | machine.c | 329 (symbol_conf.guestmount)) { in machines__findnew() 330 sprintf(path, "%s/%d", symbol_conf.guestmount, pid); in machines__findnew() 966 if (symbol_conf.vmlinux_name) in machine__get_kernel() 967 vmlinux_name = symbol_conf.vmlinux_name; in machine__get_kernel() 972 if (symbol_conf.default_guest_vmlinux_name) in machine__get_kernel() 973 vmlinux_name = symbol_conf.default_guest_vmlinux_name; in machine__get_kernel() 990 scnprintf(buf, bufsz, "%s", symbol_conf.default_guest_kallsyms); in machine__get_kallsyms_filename() 1219 if (symbol_conf.default_guest_vmlinux_name || in machines__create_guest_kernel_maps() 1220 symbol_conf.default_guest_modules || in machines__create_guest_kernel_maps() 1221 symbol_conf.default_guest_kallsyms) { in machines__create_guest_kernel_maps() [all …]
|
| H A D | annotate.c | 838 if (symbol_conf.show_total_period) in annotation_line__print() 841 else if (symbol_conf.show_nr_samples) in annotation_line__print() 965 if (symbol_conf.skip_empty && in annotation__calc_percent() 1047 if (symbol_conf.skip_empty && in symbol__annotate() 1258 width, width, symbol_conf.show_total_period ? "Period" : in hist_entry__annotate_printf() 1259 symbol_conf.show_nr_samples ? "Samples" : "Percent", in hist_entry__annotate_printf() 2049 if (symbol_conf.show_total_period) { in annotation_line__write() 2051 } else if (symbol_conf.show_nr_samples) { in annotation_line__write() 2065 symbol_conf.show_total_period ? "Period" : in annotation_line__write() 2066 symbol_conf.show_nr_samples ? "Samples" : "Percent"); in annotation_line__write() [all …]
|
| /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.cumulate_callchain = false; in test2() [all …]
|
| H A D | kallsyms-split.c | 123 symbol_conf.ignore_vmlinux = true; in test__kallsyms_split() 124 symbol_conf.ignore_vmlinux_buildid = true; in test__kallsyms_split() 125 symbol_conf.allow_aliases = true; in test__kallsyms_split()
|
| H A D | expand-cgroup.c | 118 symbol_conf.event_group = true; in expand_group_events() 147 symbol_conf.event_group = true; in expand_libpfm_events()
|
| /linux/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() 336 const char *sep = symbol_conf.field_sep ?: ";"; in __callchain__fprintf_folded() 391 if (symbol_conf.cumulate_callchain) in hist_entry_callchain__fprintf() 421 const char *sep = symbol_conf.field_sep; in __hist_entry__snprintf() 427 if (symbol_conf.exclude_other && !he->parent) in __hist_entry__snprintf() 466 const char *sep = symbol_conf.field_sep; in hist_entry__hierarchy_fprintf() 474 if (symbol_conf.exclude_other && !he->parent) in hist_entry__hierarchy_fprintf() 531 if (he->leaf && hist_entry__has_callchains(he) && symbol_conf.use_callchain) { in hist_entry__hierarchy_fprintf() 601 if (symbol_conf.report_hierarchy) in hist_entry__fprintf() [all …]
|
| /linux/tools/perf/ui/ |
| H A D | hist.c | 102 if (symbol_conf.skip_empty && in __hpp__fmt() 130 if (symbol_conf.field_sep) { in hpp__fmt() 148 if (!symbol_conf.cumulate_callchain) { in hpp__fmt_acc() 286 if (symbol_conf.group_sort_idx && symbol_conf.event_group) { in __hpp__sort() 288 symbol_conf.group_sort_idx); in __hpp__sort() 292 if (ret || !symbol_conf.event_group) in __hpp__sort() 322 if (symbol_conf.cumulate_callchain) { in __hpp__sort_acc() 332 !hist_entry__has_callchains(a) || !symbol_conf.use_callchain) in __hpp__sort_acc() 380 if (symbol_conf.event_group) { in hpp__width_fn() 385 if (!symbol_conf.skip_empty || in hpp__width_fn() [all …]
|
| /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() 592 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 …]
|
| /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()
|