| /linux/tools/perf/ |
| H A D | builtin-report.c | 133 symbol_conf.event_group = perf_config_bool(var, value); in report__config() 144 symbol_conf.cumulate_callchain = perf_config_bool(var, value); in report__config() 198 } else if (symbol_conf.cumulate_callchain) { in hist_iter__report_callback() 273 .hide_unresolved = symbol_conf.hide_unresolved, in process_sample_event() 298 if (symbol_conf.hide_unresolved && al.sym == NULL) in process_sample_event() 317 } else if (symbol_conf.cumulate_callchain) { in process_sample_event() 391 if (symbol_conf.use_callchain && in report__setup_sample_type() 392 !symbol_conf.show_branchflag_count) { in report__setup_sample_type() 400 !symbol_conf.use_callchain) { in report__setup_sample_type() 401 symbol_conf in report__setup_sample_type() [all...] |
| H A D | builtin-annotate.c | 201 .hide_unresolved = symbol_conf.hide_unresolved, in process_branch_callback() 606 if (symbol_conf.event_group) { in __cmd_annotate() 633 if (!symbol_conf.event_group || !evsel__is_group_leader(pos)) in __cmd_annotate() 705 OPT_STRING('d', "dsos", &symbol_conf.dso_list_str, "dso[,dso...]", in cmd_annotate() 723 OPT_BOOLEAN(0, "ignore-vmlinux", &symbol_conf.ignore_vmlinux, in cmd_annotate() 725 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_annotate() 727 OPT_BOOLEAN('m', "modules", &symbol_conf.use_modules, in cmd_annotate() 735 OPT_BOOLEAN_SET(0, "group", &symbol_conf.event_group, in cmd_annotate() 755 OPT_BOOLEAN(0, "demangle", &symbol_conf.demangle, in cmd_annotate() 757 OPT_BOOLEAN(0, "demangle-kernel", &symbol_conf in cmd_annotate() [all...] |
| H A D | builtin-top.c | 308 if (symbol_conf.event_group && !evsel__is_group_leader(pos)) { in perf_top__resort_hists() 357 top->min_percent, stdout, !symbol_conf.use_callchain); in perf_top__print_sym_table() 784 symbol_conf.kptr_restrict && in perf_event__process_sample() 814 if (symbol_conf.vmlinux_name) { in perf_event__process_sample() 819 symbol_conf.vmlinux_name, serr, msg); in perf_event__process_sample() 839 if (symbol_conf.cumulate_callchain) in perf_event__process_sample() 1402 symbol_conf.use_callchain = false; in parse_callchain_opt() 1435 symbol_conf.cumulate_callchain = perf_config_bool(var, value); in parse_percent_limit() 1504 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_top() 1506 OPT_BOOLEAN(0, "ignore-vmlinux", &symbol_conf 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 in dump_raw_samples() [all...] |
| H A D | builtin-probe.c | 25 #include "util/symbol_conf.h" 573 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in __cmd_probe() 575 OPT_STRING('s', "source", &symbol_conf.source_prefix, in __cmd_probe() 595 OPT_BOOLEAN(0, "demangle", &symbol_conf.demangle, in __cmd_probe() 597 OPT_BOOLEAN(0, "demangle-kernel", &symbol_conf.demangle_kernel, in __cmd_probe() 668 symbol_conf.try_vmlinux_path = (symbol_conf.vmlinux_name == NULL); in __cmd_probe() 675 if (!strchr("lda", params->command) && symbol_conf.vmlinux_name) in __cmd_probe() 676 symbol_conf.ignore_vmlinux_buildid = true; in __cmd_probe()
|
| H A D | builtin-script.c | 687 symbol_conf.use_callchain = false; in perf_session__check_output_opt() 694 if (symbol_conf.use_callchain && in perf_session__check_output_opt() 783 if (symbol_conf.nanosecs) { in tod_scnprintf() 856 else if (PRINT_FIELD(IP) && evsel__has_callchain(evsel) && symbol_conf.use_callchain) in perf_sample__fprintf_start() 943 if (symbol_conf.nanosecs) in perf_sample__fprintf_start() 1692 if (symbol_conf.use_callchain && sample->callchain) { in perf_sample__fprintf_bts() 1709 symbol_conf.bt_stop_list, fp); in perf_sample__fprintf_bts() 2396 if (!symbol_conf.graph_function) in show_event() 2406 const char *s = symbol_conf.graph_function; in show_event() 2518 if (symbol_conf 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 | 316 if (symbol_conf.filter_relative) { in formula_delta() 941 symbol_conf.report_block = true; in hists__process() 944 !symbol_conf.use_callchain); 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", 1293 OPT_STRING(0, "pid", &symbol_conf [all...] |
| H A D | builtin-lock.c | 1617 if (symbol_conf.field_sep) in print_header() 1618 print_header_csv(symbol_conf.field_sep); in print_header() 1730 if (symbol_conf.field_sep) 1731 print_lock_stat_csv(con, st, symbol_conf.field_sep); in print_lock_stat() 1789 if (symbol_conf.field_sep) 1790 print_footer_csv(total, bad, fails, symbol_conf.field_sep); in print_footer() 1822 if (symbol_conf.field_sep) in print_contention_result() 1876 symbol_conf.allow_aliases = true; in __cmd_report() 1974 if (symbol_conf.field_sep) { in check_lock_contention_options() 1975 if (strstr(symbol_conf in check_lock_contention_options() [all...] |
| /linux/tools/perf/util/ |
| H A D | symbol.c | 64 struct symbol_conf symbol_conf = { variable 219 if (symbol_conf.allow_aliases) in symbols__fixup_duplicate() 316 struct symbol *sym = calloc(1, (symbol_conf.priv_size + in symbol__new() 321 if (symbol_conf.priv_size) { in symbol__new() 322 if (symbol_conf.init_annotation) { in symbol__new() 326 sym = ((void *)sym) + symbol_conf.priv_size; in symbol__new() 344 if (symbol_conf.priv_size) { in symbol__delete() 345 if (symbol_conf.init_annotation) { in symbol__delete() 351 free(((void *)sym) - symbol_conf.priv_size); in symbol__delete() 1014 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() 234 if (symbol_conf.nanosecs) in hists__calc_col_len() 305 unsigned long time_quantum = symbol_conf.time_quantum; in hist_time() 416 if (symbol_conf.cumulate_callchain) in hists__decay_entry() 533 if (symbol_conf.cumulate_callchain) { in hist_entry__init() 570 if (hist_entry__has_callchains(he) && symbol_conf.use_callchain) in hist_entry__init() 585 if (symbol_conf.res_sample) { in hist_entry__init() 586 he->res_samples = calloc(symbol_conf in hist_entry__init() [all...] |
| H A D | addr2line.c | 8 #include "symbol_conf.h" 123 if (!symbol_conf.addr2line_disable_warn) { in cmd_addr2line_configure() 305 addr2line_subprocess_init(symbol_conf.addr2line_path, dso_name)); in cmd__addr2line() 310 if (!symbol_conf.addr2line_disable_warn) in cmd__addr2line() 330 if (!symbol_conf.addr2line_disable_warn) in cmd__addr2line() 335 io.timeout_ms = symbol_conf.addr2line_timeout_ms; in cmd__addr2line() 339 if (!symbol_conf.addr2line_disable_warn) in cmd__addr2line() 355 if (!symbol_conf.addr2line_disable_warn) in cmd__addr2line() 363 if (!symbol_conf.addr2line_disable_warn) in cmd__addr2line()
|
| H A D | srcline.c | 139 if (symbol_conf.addr2line_style[0] == A2L_STYLE_UNKNOWN) { in addr2line() 144 symbol_conf.addr2line_style[i++] = A2L_STYLE_LIBDW; in addr2line() 147 symbol_conf.addr2line_style[i++] = A2L_STYLE_LLVM; in addr2line() 150 symbol_conf.addr2line_style[i++] = A2L_STYLE_LIBBFD; in addr2line() 152 symbol_conf.addr2line_style[i++] = A2L_STYLE_CMD; in addr2line() 155 for (size_t i = 0; i < ARRAY_SIZE(symbol_conf.addr2line_style); i++) { in addr2line() 156 switch (symbol_conf.addr2line_style[i]) { in addr2line() 208 while (p && i < ARRAY_SIZE(symbol_conf.addr2line_style)) { in addr2line_configure() 214 symbol_conf.addr2line_style[i++] = j; in addr2line_configure()
|
| H A D | symbol_conf.h | 30 struct symbol_conf { argument 115 extern struct symbol_conf symbol_conf; 21 struct symbol_conf { global() struct 22 nanosecssymbol_conf global() argument 23 priv_sizesymbol_conf global() argument 24 try_vmlinux_pathsymbol_conf global() argument 25 init_annotationsymbol_conf global() argument 26 forcesymbol_conf global() argument 27 ignore_vmlinuxsymbol_conf global() argument 28 ignore_vmlinux_buildidsymbol_conf global() argument 29 show_kernel_pathsymbol_conf global() argument 31 allow_aliasessymbol_conf global() argument 32 show_nr_samplessymbol_conf global() argument 33 show_total_periodsymbol_conf global() argument 34 use_callchainsymbol_conf global() argument 35 cumulate_callchainsymbol_conf global() argument 36 show_branchflag_countsymbol_conf global() argument 37 exclude_othersymbol_conf global() argument 38 show_cpu_utilizationsymbol_conf global() argument 39 initializedsymbol_conf global() argument 40 kptr_restrictsymbol_conf global() argument 41 event_groupsymbol_conf global() argument 42 demanglesymbol_conf global() argument 43 demangle_kernelsymbol_conf global() argument 44 filter_relativesymbol_conf global() argument 45 show_hist_headerssymbol_conf global() argument 46 has_filtersymbol_conf global() argument 47 show_ref_callgraphsymbol_conf global() argument 48 hide_unresolvedsymbol_conf global() argument 49 raw_tracesymbol_conf global() argument 50 report_hierarchysymbol_conf global() argument 51 report_blocksymbol_conf global() argument 52 report_individual_blocksymbol_conf global() argument 53 inline_namesymbol_conf global() argument 54 disable_add2line_warnsymbol_conf global() argument 55 no_buildid_mmap2symbol_conf global() argument 56 guest_codesymbol_conf global() argument 57 lazy_load_kernel_mapssymbol_conf global() argument 58 keep_exited_threadssymbol_conf global() argument 59 annotate_data_membersymbol_conf global() argument 60 annotate_data_samplesymbol_conf global() argument 61 skip_emptysymbol_conf global() argument 62 enable_latencysymbol_conf global() argument 63 prefer_latencysymbol_conf global() argument 64 vmlinux_namesymbol_conf global() argument 65 kallsyms_namesymbol_conf global() argument 66 source_prefixsymbol_conf global() argument 67 field_sepsymbol_conf global() argument 68 graph_functionsymbol_conf global() argument 69 default_guest_vmlinux_namesymbol_conf global() argument 70 default_guest_kallsymssymbol_conf global() argument 71 default_guest_modulessymbol_conf global() argument 72 guestmountsymbol_conf global() argument 73 dso_list_strsymbol_conf global() argument 74 comm_list_strsymbol_conf global() argument 75 pid_list_strsymbol_conf global() argument 76 tid_list_strsymbol_conf global() argument 77 sym_list_strsymbol_conf global() argument 78 parallelism_list_strsymbol_conf global() argument 79 col_width_list_strsymbol_conf global() argument 103 addr_rangesymbol_conf global() argument
|
| H A D | event.c | 715 load_map = !symbol_conf.lazy_load_kernel_maps; in thread__find_map() 721 load_map = !symbol_conf.lazy_load_kernel_maps; in thread__find_map() 811 if (symbol_conf.guest_code && !machine__is_host(machine)) in machine__resolve() 856 if (test_bit(al->parallelism, symbol_conf.parallelism_filter)) in machine__resolve() 866 if (symbol_conf.dso_list && in machine__resolve() 867 (!dso || !(strlist__has_entry(symbol_conf.dso_list, in machine__resolve() 870 strlist__has_entry(symbol_conf.dso_list, in machine__resolve() 876 } else if (symbol_conf.dso_list) { in machine__resolve() 880 if (symbol_conf.sym_list) { in machine__resolve() 886 ret = strlist__has_entry(symbol_conf in machine__resolve() [all...] |
| H A D | thread.h | 11 #include "symbol_conf.h" 375 if (symbol_conf.comm_list && 376 !strlist__has_entry(symbol_conf.comm_list, thread__comm_str(thread))) { 380 if (symbol_conf.pid_list && 381 !intlist__has_entry(symbol_conf.pid_list, thread__pid(thread))) { 385 if (symbol_conf.tid_list && 386 !intlist__has_entry(symbol_conf.tid_list, thread__tid(thread))) {
|
| H A D | callchain.c | 181 symbol_conf.use_callchain = true; in __parse_callchain_report_opt() 195 symbol_conf.use_callchain = false; in __parse_callchain_report_opt() 1176 if (sample->callchain == NULL && !symbol_conf.show_branchflag_count) in fill_callchain_info() 1179 if (symbol_conf.use_callchain || symbol_conf.cumulate_callchain || in fill_callchain_info() 1180 perf_hpp_list.parent || symbol_conf.show_branchflag_count) { in fill_callchain_info() 1189 if ((!symbol_conf.use_callchain || sample->callchain == NULL) && in fill_callchain_info() 1190 !symbol_conf.show_branchflag_count) in fill_callchain_info() 1575 if (!symbol_conf.use_callchain) in callchain_node__make_parent_list() 1618 if (!symbol_conf in init_callchain_cursor_key() [all...] |
| /linux/tools/perf/tests/ |
| H A D | hists_cumulate.c | 94 if (symbol_conf.cumulate_callchain) in add_hist_entries() 209 symbol_conf.use_callchain, in do_test() 210 symbol_conf.cumulate_callchain); in do_test() 227 if (symbol_conf.cumulate_callchain) in do_test() 230 if (!symbol_conf.use_callchain) in do_test() 257 !symbol_conf.use_callchain || nr_expected == nr_callchain); in do_test() 293 symbol_conf.use_callchain = false; in test1() 294 symbol_conf.cumulate_callchain = false; in test1() 440 symbol_conf.use_callchain = true; in test2() 441 symbol_conf in test2() [all...] |
| H A D | kallsyms-split.c | 126 symbol_conf.ignore_vmlinux = true; in test__kallsyms_split() 127 symbol_conf.ignore_vmlinux_buildid = true; in test__kallsyms_split() 128 symbol_conf.allow_aliases = true; in test__kallsyms_split()
|
| H A D | expand-cgroup.c | 120 symbol_conf.event_group = true; in expand_group_events() 149 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 | 60 return hists__has_filter(hb->hists) || hb->min_pcnt || symbol_conf.has_filter || hb->c2c_filter; in hist_browser__has_filter() 94 if (symbol_conf.report_hierarchy) in hist_browser__nr_entries() 470 if (symbol_conf.report_hierarchy) in hist_browser__toggle_fold() 481 if (symbol_conf.report_hierarchy) in hist_browser__toggle_fold() 489 if (symbol_conf.report_hierarchy) in hist_browser__toggle_fold() 685 if (hist_browser__has_filter(browser) || symbol_conf.report_hierarchy) in hist_browser__handle_hotkey() 869 if (symbol_conf.show_branchflag_count) { in hist_browser__show_callchain_list() 1000 symbol_conf.field_sep ?: ";", str) < 0) in hist_browser__folded_callchain_str() 1176 if (symbol_conf.cumulate_callchain) in hist_browser__show_callchain() 1256 if (!symbol_conf [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()
|