Home
last modified time | relevance | path

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

123

/Linux-v6.1/tools/perf/
Dbuiltin-report.c123 symbol_conf.event_group = perf_config_bool(var, value); in report__config()
134 symbol_conf.cumulate_callchain = perf_config_bool(var, value); in report__config()
184 } else if (symbol_conf.cumulate_callchain) { in hist_iter__report_callback()
266 .hide_unresolved = symbol_conf.hide_unresolved, in process_sample_event()
288 if (symbol_conf.hide_unresolved && al.sym == NULL) in process_sample_event()
306 } else if (symbol_conf.cumulate_callchain) { in process_sample_event()
378 if (symbol_conf.use_callchain && in report__setup_sample_type()
379 !symbol_conf.show_branchflag_count) { in report__setup_sample_type()
387 !symbol_conf.use_callchain) { in report__setup_sample_type()
388 symbol_conf.use_callchain = true; in report__setup_sample_type()
[all …]
Dbuiltin-mem.c215 field_sep = symbol_conf.field_sep; in dump_raw_samples()
220 symbol_conf.field_sep = " "; in dump_raw_samples()
224 symbol_conf.field_sep, in dump_raw_samples()
226 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()
235 symbol_conf.field_sep); in dump_raw_samples()
241 symbol_conf.field_sep); in dump_raw_samples()
251 symbol_conf.field_sep, in dump_raw_samples()
253 symbol_conf.field_sep, in dump_raw_samples()
[all …]
Dbuiltin-annotate.c195 .hide_unresolved = symbol_conf.hide_unresolved, in process_branch_callback()
446 if (symbol_conf.event_group && !evsel__is_group_leader(pos)) in __cmd_annotate()
521 OPT_STRING('d', "dsos", &symbol_conf.dso_list_str, "dso[,dso...]", in cmd_annotate()
539 OPT_BOOLEAN(0, "ignore-vmlinux", &symbol_conf.ignore_vmlinux, in cmd_annotate()
541 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_annotate()
543 OPT_BOOLEAN('m', "modules", &symbol_conf.use_modules, in cmd_annotate()
551 OPT_BOOLEAN_SET(0, "group", &symbol_conf.event_group, in cmd_annotate()
570 OPT_BOOLEAN(0, "demangle", &symbol_conf.demangle, in cmd_annotate()
572 OPT_BOOLEAN(0, "demangle-kernel", &symbol_conf.demangle_kernel, in cmd_annotate()
574 OPT_BOOLEAN(0, "group", &symbol_conf.event_group, in cmd_annotate()
[all …]
Dbuiltin-top.c304 if (symbol_conf.event_group && !evsel__is_group_leader(pos)) { in perf_top__resort_hists()
353 top->min_percent, stdout, !symbol_conf.use_callchain); in perf_top__print_sym_table()
781 symbol_conf.kptr_restrict && in perf_event__process_sample()
811 if (symbol_conf.vmlinux_name) { in perf_event__process_sample()
815 symbol_conf.vmlinux_name, serr, msg); in perf_event__process_sample()
835 if (symbol_conf.cumulate_callchain) in perf_event__process_sample()
1361 symbol_conf.use_callchain = true; in callchain_opt()
1377 symbol_conf.use_callchain = false; in parse_callchain_opt()
1392 symbol_conf.cumulate_callchain = perf_config_bool(var, value); in perf_top_config()
1456 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_top()
[all …]
Dbuiltin-kallsyms.c63 symbol_conf.sort_by_name = true; in cmd_kallsyms()
64 symbol_conf.try_vmlinux_path = (symbol_conf.vmlinux_name == NULL); in cmd_kallsyms()
Dbuiltin-probe.c557 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in __cmd_probe()
559 OPT_STRING('s', "source", &symbol_conf.source_prefix, in __cmd_probe()
579 OPT_BOOLEAN(0, "demangle", &symbol_conf.demangle, in __cmd_probe()
581 OPT_BOOLEAN(0, "demangle-kernel", &symbol_conf.demangle_kernel, in __cmd_probe()
584 OPT_STRING(0, "symfs", &symbol_conf.symfs, "directory", in __cmd_probe()
651 symbol_conf.try_vmlinux_path = (symbol_conf.vmlinux_name == NULL); in __cmd_probe()
658 if (!strchr("lda", params.command) && symbol_conf.vmlinux_name) in __cmd_probe()
659 symbol_conf.ignore_vmlinux_buildid = true; in __cmd_probe()
Dbuiltin-script.c628 symbol_conf.use_callchain = false; in perf_session__check_output_opt()
635 if (symbol_conf.use_callchain && in perf_session__check_output_opt()
721 if (symbol_conf.nanosecs) { in tod_scnprintf()
770 else if (PRINT_FIELD(IP) && evsel__has_callchain(evsel) && symbol_conf.use_callchain) in perf_sample__fprintf_start()
857 if (symbol_conf.nanosecs) in perf_sample__fprintf_start()
1536 if (symbol_conf.use_callchain && sample->callchain && in perf_sample__fprintf_bts()
1551 symbol_conf.bt_stop_list, fp); in perf_sample__fprintf_bts()
2082 if (!symbol_conf.graph_function) in show_event()
2092 const char *s = symbol_conf.graph_function; in show_event()
2184 if (symbol_conf.use_callchain && sample->callchain && in process_event()
[all …]
Dbuiltin-diff.c317 if (symbol_conf.filter_relative) { in formula_delta()
952 symbol_conf.report_block = true; in hists__process()
955 !symbol_conf.use_callchain); in hists__process()
1280 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name,
1282 OPT_BOOLEAN('m', "modules", &symbol_conf.use_modules,
1284 OPT_STRING('d', "dsos", &symbol_conf.dso_list_str, "dso[,dso...]",
1286 OPT_STRING('C', "comms", &symbol_conf.comm_list_str, "comm[,comm...]",
1288 OPT_STRING('S', "symbols", &symbol_conf.sym_list_str, "symbol[,symbol...]",
1293 OPT_STRING_NOEMPTY('t', "field-separator", &symbol_conf.field_sep, "separator",
1305 OPT_STRING(0, "pid", &symbol_conf.pid_list_str, "pid[,pid...]",
[all …]
/Linux-v6.1/tools/perf/util/
Dsymbol.c51 struct symbol_conf symbol_conf = { variable
186 if (symbol_conf.allow_aliases) in symbols__fixup_duplicate()
286 struct symbol *sym = calloc(1, (symbol_conf.priv_size + in symbol__new()
291 if (symbol_conf.priv_size) { in symbol__new()
292 if (symbol_conf.init_annotation) { in symbol__new()
296 sym = ((void *)sym) + symbol_conf.priv_size; in symbol__new()
314 if (symbol_conf.priv_size) { in symbol__delete()
315 if (symbol_conf.init_annotation) { in symbol__delete()
321 free(((void *)sym) - symbol_conf.priv_size); in symbol__delete()
840 if (!symbol_conf.use_modules) in maps__split_kallsyms()
[all …]
Dthread.h141 if (symbol_conf.comm_list && in thread__is_filtered()
142 !strlist__has_entry(symbol_conf.comm_list, thread__comm_str(thread))) { in thread__is_filtered()
146 if (symbol_conf.pid_list && in thread__is_filtered()
147 !intlist__has_entry(symbol_conf.pid_list, thread->pid_)) { in thread__is_filtered()
151 if (symbol_conf.tid_list && in thread__is_filtered()
152 !intlist__has_entry(symbol_conf.tid_list, thread->tid)) { in thread__is_filtered()
Dhist.c74 !symbol_conf.col_width_list_str && !symbol_conf.field_sep && in hists__set_unres_dso_col_len()
75 !symbol_conf.dso_list) in hists__set_unres_dso_col_len()
220 if (symbol_conf.nanosecs) in hists__calc_col_len()
291 unsigned long time_quantum = symbol_conf.time_quantum; in hist_time()
331 if (symbol_conf.cumulate_callchain) in hists__decay_entry()
443 if (symbol_conf.cumulate_callchain) { in hist_entry__init()
476 if (hist_entry__has_callchains(he) && symbol_conf.use_callchain) in hist_entry__init()
491 if (symbol_conf.res_sample) { in hist_entry__init()
493 symbol_conf.res_sample); in hist_entry__init()
503 if (!symbol_conf.report_hierarchy) in hist_entry__init()
[all …]
Dsymbol_conf.h10 struct symbol_conf { struct
83 extern struct symbol_conf symbol_conf; argument
Devent.c689 if (symbol_conf.guest_code && !machine__is_host(machine)) in machine__resolve()
720 if (symbol_conf.dso_list && in machine__resolve()
721 (!dso || !(strlist__has_entry(symbol_conf.dso_list, in machine__resolve()
724 strlist__has_entry(symbol_conf.dso_list, in machine__resolve()
730 } else if (symbol_conf.dso_list) { in machine__resolve()
734 if (symbol_conf.sym_list) { in machine__resolve()
740 ret = strlist__has_entry(symbol_conf.sym_list, in machine__resolve()
746 ret = strlist__has_entry(symbol_conf.sym_list, in machine__resolve()
749 if (!ret && symbol_conf.addr_list && al->map) { in machine__resolve()
752 ret = intlist__has_entry(symbol_conf.addr_list, addr); in machine__resolve()
[all …]
Dcallchain.c178 symbol_conf.use_callchain = true; in __parse_callchain_report_opt()
187 symbol_conf.use_callchain = false; in __parse_callchain_report_opt()
1093 if (sample->callchain == NULL && !symbol_conf.show_branchflag_count) in sample__resolve_callchain()
1096 if (symbol_conf.use_callchain || symbol_conf.cumulate_callchain || in sample__resolve_callchain()
1097 perf_hpp_list.parent || symbol_conf.show_branchflag_count) { in sample__resolve_callchain()
1106 if ((!symbol_conf.use_callchain || sample->callchain == NULL) && in hist_entry__append_callchain()
1107 !symbol_conf.show_branchflag_count) in hist_entry__append_callchain()
1483 if (!symbol_conf.use_callchain) in free_callchain()
1511 if (!symbol_conf.use_callchain) in decay_callchain()
1603 if (symbol_conf.use_callchain || symbol_conf.cumulate_callchain) { in callchain_param_setup()
Dmap.c415 char buf[symbol_conf.pad_output_len_dso + 1]; in map__fprintf_dsoname()
419 if (symbol_conf.show_kernel_path && map->dso->long_name) in map__fprintf_dsoname()
425 if (symbol_conf.pad_output_len_dso) { in map__fprintf_dsoname()
426 scnprintf_pad(buf, symbol_conf.pad_output_len_dso, "%s", dsoname); in map__fprintf_dsoname()
Dmachine.c364 (symbol_conf.guestmount)) { in machines__findnew()
365 sprintf(path, "%s/%d", symbol_conf.guestmount, pid); in machines__findnew()
1111 if (symbol_conf.vmlinux_name) in machine__get_kernel()
1112 vmlinux_name = symbol_conf.vmlinux_name; in machine__get_kernel()
1117 if (symbol_conf.default_guest_vmlinux_name) in machine__get_kernel()
1118 vmlinux_name = symbol_conf.default_guest_vmlinux_name; in machine__get_kernel()
1135 scnprintf(buf, bufsz, "%s", symbol_conf.default_guest_kallsyms); in machine__get_kallsyms_filename()
1345 if (symbol_conf.default_guest_vmlinux_name || in machines__create_guest_kernel_maps()
1346 symbol_conf.default_guest_modules || in machines__create_guest_kernel_maps()
1347 symbol_conf.default_guest_kallsyms) { in machines__create_guest_kernel_maps()
[all …]
Dsymbol.h102 return path__join(bf, size, symbol_conf.symfs, path); in __symbol__join_symfs()
112 return ((void *)sym) - symbol_conf.priv_size; in symbol__priv()
/Linux-v6.1/tools/perf/tests/
Dhists_cumulate.c94 if (symbol_conf.cumulate_callchain) in add_hist_entries()
197 symbol_conf.use_callchain, in do_test()
198 symbol_conf.cumulate_callchain); in do_test()
215 if (symbol_conf.cumulate_callchain) in do_test()
218 if (!symbol_conf.use_callchain) in do_test()
245 !symbol_conf.use_callchain || nr_expected == nr_callchain); in do_test()
281 symbol_conf.use_callchain = false; in test1()
282 symbol_conf.cumulate_callchain = false; in test1()
428 symbol_conf.use_callchain = true; in test2()
429 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()
Dbuiltin-test.c507 symbol_conf.priv_size = sizeof(int); in cmd_test()
508 symbol_conf.sort_by_name = true; in cmd_test()
509 symbol_conf.try_vmlinux_path = true; in cmd_test()
/Linux-v6.1/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.1/tools/perf/ui/
Dhist.c120 if (symbol_conf.field_sep) { in hpp__fmt()
137 if (!symbol_conf.cumulate_callchain) { in hpp__fmt_acc()
233 if (symbol_conf.group_sort_idx && symbol_conf.event_group) { in __hpp__sort()
235 symbol_conf.group_sort_idx); in __hpp__sort()
239 if (ret || !symbol_conf.event_group) in __hpp__sort()
269 if (symbol_conf.cumulate_callchain) { in __hpp__sort_acc()
277 if (a->thread != b->thread || !hist_entry__has_callchains(a) || !symbol_conf.use_callchain) in __hpp__sort_acc()
294 if (symbol_conf.event_group) in hpp__width_fn()
571 if (symbol_conf.cumulate_callchain) { in perf_hpp__init()
578 if (symbol_conf.show_cpu_utilization) { in perf_hpp__init()
[all …]
/Linux-v6.1/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.1/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()
473 if (symbol_conf.report_hierarchy) in hist_browser__toggle_fold()
484 if (symbol_conf.report_hierarchy) in hist_browser__toggle_fold()
492 if (symbol_conf.report_hierarchy) in hist_browser__toggle_fold()
693 if (hist_browser__has_filter(browser) || symbol_conf.report_hierarchy) in hist_browser__handle_hotkey()
877 if (symbol_conf.show_branchflag_count) { in hist_browser__show_callchain_list()
1008 symbol_conf.field_sep ?: ";", str) < 0) in hist_browser__folded_callchain_str()
1184 if (symbol_conf.cumulate_callchain) in hist_browser__show_callchain()
1264 if (!symbol_conf.cumulate_callchain) { \
[all …]
Dannotate.c889 if (symbol_conf.show_total_period) { in annotate_browser__run()
890 symbol_conf.show_total_period = false; in annotate_browser__run()
891 symbol_conf.show_nr_samples = true; in annotate_browser__run()
892 } else if (symbol_conf.show_nr_samples) in annotate_browser__run()
893 symbol_conf.show_nr_samples = false; in annotate_browser__run()
895 symbol_conf.show_total_period = true; in annotate_browser__run()

123