Home
last modified time | relevance | path

Searched refs:symbol_conf (Results 1 – 25 of 60) sorted by relevance

123

/Linux-v6.6/tools/perf/
Dbuiltin-report.c127 symbol_conf.event_group = perf_config_bool(var, value); in report__config()
138 symbol_conf.cumulate_callchain = perf_config_bool(var, value); in report__config()
193 } else if (symbol_conf.cumulate_callchain) { in hist_iter__report_callback()
275 .hide_unresolved = symbol_conf.hide_unresolved, in process_sample_event()
299 if (symbol_conf.hide_unresolved && al.sym == NULL) in process_sample_event()
317 } else if (symbol_conf.cumulate_callchain) { in process_sample_event()
389 if (symbol_conf.use_callchain && in report__setup_sample_type()
390 !symbol_conf.show_branchflag_count) { in report__setup_sample_type()
398 !symbol_conf.use_callchain) { in report__setup_sample_type()
399 symbol_conf.use_callchain = true; in report__setup_sample_type()
[all …]
Dbuiltin-annotate.c195 .hide_unresolved = symbol_conf.hide_unresolved, in process_branch_callback()
460 if (symbol_conf.event_group && !evsel__is_group_leader(pos)) in __cmd_annotate()
537 OPT_STRING('d', "dsos", &symbol_conf.dso_list_str, "dso[,dso...]", in cmd_annotate()
555 OPT_BOOLEAN(0, "ignore-vmlinux", &symbol_conf.ignore_vmlinux, in cmd_annotate()
557 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_annotate()
559 OPT_BOOLEAN('m', "modules", &symbol_conf.use_modules, in cmd_annotate()
567 OPT_BOOLEAN_SET(0, "group", &symbol_conf.event_group, in cmd_annotate()
588 OPT_BOOLEAN(0, "demangle", &symbol_conf.demangle, in cmd_annotate()
590 OPT_BOOLEAN(0, "demangle-kernel", &symbol_conf.demangle_kernel, in cmd_annotate()
592 OPT_BOOLEAN(0, "group", &symbol_conf.event_group, in cmd_annotate()
[all …]
Dbuiltin-top.c306 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()
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()
1375 symbol_conf.use_callchain = true; in callchain_opt()
1391 symbol_conf.use_callchain = false; in parse_callchain_opt()
1406 symbol_conf.cumulate_callchain = perf_config_bool(var, value); in perf_top_config()
1474 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_top()
[all …]
Dbuiltin-mem.c219 field_sep = symbol_conf.field_sep; in dump_raw_samples()
224 symbol_conf.field_sep = " "; in dump_raw_samples()
228 symbol_conf.field_sep, in dump_raw_samples()
230 symbol_conf.field_sep, in dump_raw_samples()
232 symbol_conf.field_sep, in dump_raw_samples()
234 symbol_conf.field_sep); in dump_raw_samples()
239 symbol_conf.field_sep); in dump_raw_samples()
245 symbol_conf.field_sep); in dump_raw_samples()
255 symbol_conf.field_sep, in dump_raw_samples()
257 symbol_conf.field_sep, in dump_raw_samples()
[all …]
Dbuiltin-probe.c574 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()
Dbuiltin-kallsyms.c65 symbol_conf.try_vmlinux_path = (symbol_conf.vmlinux_name == NULL); in cmd_kallsyms()
Dbuiltin-script.c655 symbol_conf.use_callchain = false; in perf_session__check_output_opt()
662 if (symbol_conf.use_callchain && in perf_session__check_output_opt()
748 if (symbol_conf.nanosecs) { in tod_scnprintf()
797 else if (PRINT_FIELD(IP) && evsel__has_callchain(evsel) && symbol_conf.use_callchain) in perf_sample__fprintf_start()
884 if (symbol_conf.nanosecs) in perf_sample__fprintf_start()
1560 if (symbol_conf.use_callchain && sample->callchain) { in perf_sample__fprintf_bts()
1577 symbol_conf.bt_stop_list, fp); in perf_sample__fprintf_bts()
2103 if (!symbol_conf.graph_function) in show_event()
2113 const char *s = symbol_conf.graph_function; in show_event()
2219 if (symbol_conf.use_callchain && sample->callchain) { in process_event()
[all …]
Dbuiltin-diff.c317 if (symbol_conf.filter_relative) { in formula_delta()
954 symbol_conf.report_block = true; in hists__process()
957 !symbol_conf.use_callchain); in hists__process()
1282 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name,
1284 OPT_BOOLEAN('m', "modules", &symbol_conf.use_modules,
1286 OPT_STRING('d', "dsos", &symbol_conf.dso_list_str, "dso[,dso...]",
1288 OPT_STRING('C', "comms", &symbol_conf.comm_list_str, "comm[,comm...]",
1290 OPT_STRING('S', "symbols", &symbol_conf.sym_list_str, "symbol[,symbol...]",
1295 OPT_STRING_NOEMPTY('t', "field-separator", &symbol_conf.field_sep, "separator",
1307 OPT_STRING(0, "pid", &symbol_conf.pid_list_str, "pid[,pid...]",
[all …]
Dbuiltin-lock.c1691 if (symbol_conf.field_sep) in print_header()
1692 print_header_csv(symbol_conf.field_sep); in print_header()
1798 if (symbol_conf.field_sep) in print_lock_stat()
1799 print_lock_stat_csv(con, st, symbol_conf.field_sep); in print_lock_stat()
1857 if (symbol_conf.field_sep) in print_footer()
1858 print_footer_csv(total, bad, fails, symbol_conf.field_sep); in print_footer()
1928 symbol_conf.allow_aliases = true; in __cmd_report()
2002 if (symbol_conf.field_sep) { in check_lock_contention_options()
2003 if (strstr(symbol_conf.field_sep, ":") || /* part of type flags */ in check_lock_contention_options()
2004 strstr(symbol_conf.field_sep, "+") || /* part of caller offset */ in check_lock_contention_options()
[all …]
/Linux-v6.6/tools/perf/util/
Dsymbol.c56 struct symbol_conf symbol_conf = { variable
196 if (symbol_conf.allow_aliases) in symbols__fixup_duplicate()
300 struct symbol *sym = calloc(1, (symbol_conf.priv_size + in symbol__new()
305 if (symbol_conf.priv_size) { in symbol__new()
306 if (symbol_conf.init_annotation) { in symbol__new()
310 sym = ((void *)sym) + symbol_conf.priv_size; in symbol__new()
328 if (symbol_conf.priv_size) { in symbol__delete()
329 if (symbol_conf.init_annotation) { in symbol__delete()
335 free(((void *)sym) - symbol_conf.priv_size); in symbol__delete()
874 if (!symbol_conf.use_modules) in maps__split_kallsyms()
[all …]
Dhist.c75 !symbol_conf.col_width_list_str && !symbol_conf.field_sep && in hists__set_unres_dso_col_len()
76 !symbol_conf.dso_list) in hists__set_unres_dso_col_len()
221 if (symbol_conf.nanosecs) in hists__calc_col_len()
292 unsigned long time_quantum = symbol_conf.time_quantum; in hist_time()
332 if (symbol_conf.cumulate_callchain) in hists__decay_entry()
444 if (symbol_conf.cumulate_callchain) { in hist_entry__init()
478 if (hist_entry__has_callchains(he) && symbol_conf.use_callchain) in hist_entry__init()
493 if (symbol_conf.res_sample) { in hist_entry__init()
495 symbol_conf.res_sample); in hist_entry__init()
505 if (!symbol_conf.report_hierarchy) in hist_entry__init()
[all …]
Dsymbol_conf.h10 struct symbol_conf { struct
82 extern struct symbol_conf symbol_conf; argument
Dthread.h319 if (symbol_conf.comm_list && in thread__is_filtered()
320 !strlist__has_entry(symbol_conf.comm_list, thread__comm_str(thread))) { in thread__is_filtered()
324 if (symbol_conf.pid_list && in thread__is_filtered()
325 !intlist__has_entry(symbol_conf.pid_list, thread__pid(thread))) { in thread__is_filtered()
329 if (symbol_conf.tid_list && in thread__is_filtered()
330 !intlist__has_entry(symbol_conf.tid_list, thread__tid(thread))) { in thread__is_filtered()
Devent.c717 if (symbol_conf.guest_code && !machine__is_host(machine)) in machine__resolve()
751 if (symbol_conf.dso_list && in machine__resolve()
752 (!dso || !(strlist__has_entry(symbol_conf.dso_list, in machine__resolve()
755 strlist__has_entry(symbol_conf.dso_list, in machine__resolve()
761 } else if (symbol_conf.dso_list) { in machine__resolve()
765 if (symbol_conf.sym_list) { in machine__resolve()
771 ret = strlist__has_entry(symbol_conf.sym_list, in machine__resolve()
777 ret = strlist__has_entry(symbol_conf.sym_list, in machine__resolve()
780 if (!ret && symbol_conf.addr_list && al->map) { in machine__resolve()
783 ret = intlist__has_entry(symbol_conf.addr_list, addr); in machine__resolve()
[all …]
Dsrcline.c315 if (!symbol_conf.disable_add2line_warn) in addr2line()
475 if (!symbol_conf.disable_add2line_warn) { in addr2line_configure()
656 dso->a2l = addr2line_subprocess_init(symbol_conf.addr2line_path, dso_name); in addr2line()
661 if (!symbol_conf.disable_add2line_warn) in addr2line()
681 if (!symbol_conf.disable_add2line_warn) in addr2line()
690 if (!symbol_conf.disable_add2line_warn) in addr2line()
706 if (!symbol_conf.disable_add2line_warn) in addr2line()
714 if (!symbol_conf.disable_add2line_warn) in addr2line()
Dcallchain.c179 symbol_conf.use_callchain = true; in __parse_callchain_report_opt()
188 symbol_conf.use_callchain = false; in __parse_callchain_report_opt()
1107 if (sample->callchain == NULL && !symbol_conf.show_branchflag_count) in sample__resolve_callchain()
1110 if (symbol_conf.use_callchain || symbol_conf.cumulate_callchain || in sample__resolve_callchain()
1111 perf_hpp_list.parent || symbol_conf.show_branchflag_count) { in sample__resolve_callchain()
1120 if ((!symbol_conf.use_callchain || sample->callchain == NULL) && in hist_entry__append_callchain()
1121 !symbol_conf.show_branchflag_count) in hist_entry__append_callchain()
1502 if (!symbol_conf.use_callchain) in free_callchain()
1530 if (!symbol_conf.use_callchain) in decay_callchain()
1662 if (symbol_conf.use_callchain || symbol_conf.cumulate_callchain) { in callchain_param_setup()
Dmap.c443 (symbol_conf.show_kernel_path || in prefer_dso_long_name()
449 char buf[symbol_conf.pad_output_len_dso + 1]; in __map__fprintf_dsoname()
460 if (symbol_conf.pad_output_len_dso) { in __map__fprintf_dsoname()
461 scnprintf_pad(buf, symbol_conf.pad_output_len_dso, "%s", dsoname); in __map__fprintf_dsoname()
Dmachine.c371 (symbol_conf.guestmount)) { in machines__findnew()
372 sprintf(path, "%s/%d", symbol_conf.guestmount, pid); in machines__findnew()
1155 if (symbol_conf.vmlinux_name) in machine__get_kernel()
1156 vmlinux_name = symbol_conf.vmlinux_name; in machine__get_kernel()
1161 if (symbol_conf.default_guest_vmlinux_name) in machine__get_kernel()
1162 vmlinux_name = symbol_conf.default_guest_vmlinux_name; in machine__get_kernel()
1179 scnprintf(buf, bufsz, "%s", symbol_conf.default_guest_kallsyms); in machine__get_kallsyms_filename()
1395 if (symbol_conf.default_guest_vmlinux_name || in machines__create_guest_kernel_maps()
1396 symbol_conf.default_guest_modules || in machines__create_guest_kernel_maps()
1397 symbol_conf.default_guest_kallsyms) { in machines__create_guest_kernel_maps()
[all …]
/Linux-v6.6/tools/perf/tests/
Dhists_cumulate.c95 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 …]
Dexpand-cgroup.c122 symbol_conf.event_group = true; in expand_group_events()
154 symbol_conf.event_group = true; in expand_libpfm_events()
/Linux-v6.6/tools/perf/ui/stdio/
Dhist.c77 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-v6.6/tools/perf/ui/
Dhist.c121 if (symbol_conf.field_sep) { in hpp__fmt()
138 if (!symbol_conf.cumulate_callchain) { in hpp__fmt_acc()
234 if (symbol_conf.group_sort_idx && symbol_conf.event_group) { in __hpp__sort()
236 symbol_conf.group_sort_idx); in __hpp__sort()
240 if (ret || !symbol_conf.event_group) in __hpp__sort()
270 if (symbol_conf.cumulate_callchain) { in __hpp__sort_acc()
280 !hist_entry__has_callchains(a) || !symbol_conf.use_callchain) in __hpp__sort_acc()
297 if (symbol_conf.event_group) in hpp__width_fn()
574 if (symbol_conf.cumulate_callchain) { in perf_hpp__init()
581 if (symbol_conf.show_cpu_utilization) { in perf_hpp__init()
[all …]
/Linux-v6.6/tools/perf/ui/gtk/
Dhists.c184 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-v6.6/tools/perf/ui/browsers/
Dhists.c58 return hists__has_filter(hb->hists) || hb->min_pcnt || symbol_conf.has_filter || hb->c2c_filter; in hist_browser__has_filter()
92 if (symbol_conf.report_hierarchy) in hist_browser__nr_entries()
468 if (symbol_conf.report_hierarchy) in hist_browser__toggle_fold()
479 if (symbol_conf.report_hierarchy) in hist_browser__toggle_fold()
487 if (symbol_conf.report_hierarchy) in hist_browser__toggle_fold()
683 if (hist_browser__has_filter(browser) || symbol_conf.report_hierarchy) in hist_browser__handle_hotkey()
867 if (symbol_conf.show_branchflag_count) { in hist_browser__show_callchain_list()
998 symbol_conf.field_sep ?: ";", str) < 0) in hist_browser__folded_callchain_str()
1174 if (symbol_conf.cumulate_callchain) in hist_browser__show_callchain()
1254 if (!symbol_conf.cumulate_callchain) { \
[all …]
Dannotate.c890 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()

123