Home
last modified time | relevance | path

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

123

/Linux-v5.10/tools/perf/
Dbuiltin-report.c115 symbol_conf.event_group = perf_config_bool(var, value); in report__config()
126 symbol_conf.cumulate_callchain = perf_config_bool(var, value); in report__config()
171 } else if (symbol_conf.cumulate_callchain) { in hist_iter__report_callback()
251 .hide_unresolved = symbol_conf.hide_unresolved, in process_sample_event()
273 if (symbol_conf.hide_unresolved && al.sym == NULL) in process_sample_event()
291 } else if (symbol_conf.cumulate_callchain) { in process_sample_event()
362 if (symbol_conf.use_callchain && in report__setup_sample_type()
363 !symbol_conf.show_branchflag_count) { in report__setup_sample_type()
371 !symbol_conf.use_callchain) { in report__setup_sample_type()
372 symbol_conf.use_callchain = true; in report__setup_sample_type()
[all …]
Dbuiltin-mem.c165 if (symbol_conf.field_sep) { in dump_raw_samples()
172 symbol_conf.field_sep = " "; in dump_raw_samples()
177 symbol_conf.field_sep, in dump_raw_samples()
179 symbol_conf.field_sep, in dump_raw_samples()
181 symbol_conf.field_sep, in dump_raw_samples()
183 symbol_conf.field_sep, in dump_raw_samples()
185 symbol_conf.field_sep, in dump_raw_samples()
187 symbol_conf.field_sep, in dump_raw_samples()
189 symbol_conf.field_sep, in dump_raw_samples()
193 if (symbol_conf.field_sep) { in dump_raw_samples()
[all …]
Dbuiltin-top.c302 if (symbol_conf.event_group && !evsel__is_group_leader(pos)) { in perf_top__resort_hists()
351 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()
817 symbol_conf.vmlinux_name, serr, msg); in perf_event__process_sample()
837 if (symbol_conf.cumulate_callchain) in perf_event__process_sample()
1368 symbol_conf.use_callchain = true; in callchain_opt()
1384 symbol_conf.use_callchain = false; in parse_callchain_opt()
1399 symbol_conf.cumulate_callchain = perf_config_bool(var, value); in perf_top_config()
1463 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_top()
[all …]
Dbuiltin-annotate.c188 .hide_unresolved = symbol_conf.hide_unresolved, in process_branch_callback()
437 if (symbol_conf.event_group && !evsel__is_group_leader(pos)) in __cmd_annotate()
496 OPT_STRING('d', "dsos", &symbol_conf.dso_list_str, "dso[,dso...]", in cmd_annotate()
510 OPT_BOOLEAN(0, "ignore-vmlinux", &symbol_conf.ignore_vmlinux, in cmd_annotate()
512 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_annotate()
514 OPT_BOOLEAN('m', "modules", &symbol_conf.use_modules, in cmd_annotate()
522 OPT_BOOLEAN_SET(0, "group", &symbol_conf.event_group, in cmd_annotate()
541 OPT_BOOLEAN(0, "group", &symbol_conf.event_group, in cmd_annotate()
543 OPT_BOOLEAN(0, "show-total-period", &symbol_conf.show_total_period, in cmd_annotate()
545 OPT_BOOLEAN('n', "show-nr-samples", &symbol_conf.show_nr_samples, in cmd_annotate()
[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.c553 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in __cmd_probe()
555 OPT_STRING('s', "source", &symbol_conf.source_prefix, in __cmd_probe()
575 OPT_BOOLEAN(0, "demangle", &symbol_conf.demangle, in __cmd_probe()
577 OPT_BOOLEAN(0, "demangle-kernel", &symbol_conf.demangle_kernel, in __cmd_probe()
580 OPT_STRING(0, "symfs", &symbol_conf.symfs, "directory", in __cmd_probe()
641 symbol_conf.try_vmlinux_path = (symbol_conf.vmlinux_name == NULL); in __cmd_probe()
648 if (!strchr("lda", params.command) && symbol_conf.vmlinux_name) in __cmd_probe()
649 symbol_conf.ignore_vmlinux_buildid = true; in __cmd_probe()
Dbuiltin-script.c574 symbol_conf.use_callchain = false; in perf_session__check_output_opt()
581 if (symbol_conf.use_callchain && in perf_session__check_output_opt()
667 if (symbol_conf.nanosecs) { in tod_scnprintf()
709 else if (PRINT_FIELD(IP) && evsel__has_callchain(evsel) && symbol_conf.use_callchain) in perf_sample__fprintf_start()
796 if (symbol_conf.nanosecs) in perf_sample__fprintf_start()
1449 if (symbol_conf.use_callchain && sample->callchain && in perf_sample__fprintf_bts()
1464 symbol_conf.bt_stop_list, fp); in perf_sample__fprintf_bts()
1879 if (!symbol_conf.graph_function) in show_event()
1889 const char *s = symbol_conf.graph_function; in show_event()
1981 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()
1279 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name,
1281 OPT_BOOLEAN('m', "modules", &symbol_conf.use_modules,
1283 OPT_STRING('d', "dsos", &symbol_conf.dso_list_str, "dso[,dso...]",
1285 OPT_STRING('C', "comms", &symbol_conf.comm_list_str, "comm[,comm...]",
1287 OPT_STRING('S', "symbols", &symbol_conf.sym_list_str, "symbol[,symbol...]",
1292 OPT_STRING_NOEMPTY('t', "field-separator", &symbol_conf.field_sep, "separator",
1304 OPT_STRING(0, "pid", &symbol_conf.pid_list_str, "pid[,pid...]",
[all …]
/Linux-v5.10/tools/perf/util/
Dsymbol.c51 struct symbol_conf symbol_conf = { variable
191 if (symbol_conf.allow_aliases) in symbols__fixup_duplicate()
269 struct symbol *sym = calloc(1, (symbol_conf.priv_size + in symbol__new()
274 if (symbol_conf.priv_size) { in symbol__new()
275 if (symbol_conf.init_annotation) { in symbol__new()
279 sym = ((void *)sym) + symbol_conf.priv_size; in symbol__new()
297 free(((void *)sym) - symbol_conf.priv_size); in symbol__delete()
812 if (!symbol_conf.use_modules) in maps__split_kallsyms()
933 if (symbol_conf.kptr_restrict) { in symbol__restricted_filename()
2071 if (!symbol_conf.ignore_vmlinux_buildid) in dso__load_vmlinux_path()
[all …]
Dthread.h140 if (symbol_conf.comm_list && in thread__is_filtered()
141 !strlist__has_entry(symbol_conf.comm_list, thread__comm_str(thread))) { in thread__is_filtered()
145 if (symbol_conf.pid_list && in thread__is_filtered()
146 !intlist__has_entry(symbol_conf.pid_list, thread->pid_)) { in thread__is_filtered()
150 if (symbol_conf.tid_list && in thread__is_filtered()
151 !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()
208 if (symbol_conf.nanosecs) in hists__calc_col_len()
278 unsigned long time_quantum = symbol_conf.time_quantum; in hist_time()
322 if (symbol_conf.cumulate_callchain) in hists__decay_entry()
434 if (symbol_conf.cumulate_callchain) { in hist_entry__init()
467 if (hist_entry__has_callchains(he) && symbol_conf.use_callchain) in hist_entry__init()
482 if (symbol_conf.res_sample) { in hist_entry__init()
484 symbol_conf.res_sample); in hist_entry__init()
494 if (!symbol_conf.report_hierarchy) in hist_entry__init()
[all …]
Dsymbol_conf.h10 struct symbol_conf { struct
79 extern struct symbol_conf symbol_conf; argument
Dcallchain.c177 symbol_conf.use_callchain = true; in __parse_callchain_report_opt()
186 symbol_conf.use_callchain = false; in __parse_callchain_report_opt()
1087 if (sample->callchain == NULL && !symbol_conf.show_branchflag_count) in sample__resolve_callchain()
1090 if (symbol_conf.use_callchain || symbol_conf.cumulate_callchain || in sample__resolve_callchain()
1091 perf_hpp_list.parent || symbol_conf.show_branchflag_count) { in sample__resolve_callchain()
1100 if ((!symbol_conf.use_callchain || sample->callchain == NULL) && in hist_entry__append_callchain()
1101 !symbol_conf.show_branchflag_count) in hist_entry__append_callchain()
1485 if (!symbol_conf.use_callchain) in free_callchain()
1513 if (!symbol_conf.use_callchain) in decay_callchain()
1605 if (symbol_conf.use_callchain || symbol_conf.cumulate_callchain) { in callchain_param_setup()
Devent.c666 if (symbol_conf.dso_list && in machine__resolve()
667 (!dso || !(strlist__has_entry(symbol_conf.dso_list, in machine__resolve()
670 strlist__has_entry(symbol_conf.dso_list, in machine__resolve()
678 if (symbol_conf.sym_list) { in machine__resolve()
684 ret = strlist__has_entry(symbol_conf.sym_list, in machine__resolve()
690 ret = strlist__has_entry(symbol_conf.sym_list, in machine__resolve()
Dmachine.c349 (symbol_conf.guestmount)) { in machines__findnew()
350 sprintf(path, "%s/%d", symbol_conf.guestmount, pid); in machines__findnew()
973 if (symbol_conf.vmlinux_name) in machine__get_kernel()
974 vmlinux_name = symbol_conf.vmlinux_name; in machine__get_kernel()
979 if (symbol_conf.default_guest_vmlinux_name) in machine__get_kernel()
980 vmlinux_name = symbol_conf.default_guest_vmlinux_name; in machine__get_kernel()
1001 scnprintf(buf, bufsz, "%s", symbol_conf.default_guest_kallsyms); in machine__get_kallsyms_filename()
1211 if (symbol_conf.default_guest_vmlinux_name || in machines__create_guest_kernel_maps()
1212 symbol_conf.default_guest_modules || in machines__create_guest_kernel_maps()
1213 symbol_conf.default_guest_kallsyms) { in machines__create_guest_kernel_maps()
[all …]
Dsymbol.h91 return path__join(bf, size, symbol_conf.symfs, path); in __symbol__join_symfs()
101 return ((void *)sym) - symbol_conf.priv_size; in symbol__priv()
Dblock-info.c291 symbol_conf.disable_add2line_warn = true; in block_range_entry()
474 symbol_conf.report_individual_block = true; in report__browse_block_hists()
479 symbol_conf.report_individual_block = true; in report__browse_block_hists()
/Linux-v5.10/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.c123 symbol_conf.event_group = true; in expand_group_events()
153 symbol_conf.event_group = true; in expand_libpfm_events()
/Linux-v5.10/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-v5.10/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()
559 if (symbol_conf.cumulate_callchain) { in perf_hpp__init()
566 if (symbol_conf.show_cpu_utilization) { in perf_hpp__init()
[all …]
/Linux-v5.10/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()
644 if (symbol_conf.event_group) { in perf_evlist__gtk_browse_hists()
660 if (symbol_conf.report_hierarchy) in perf_evlist__gtk_browse_hists()
/Linux-v5.10/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()
692 if (hist_browser__has_filter(browser) || symbol_conf.report_hierarchy) in hist_browser__handle_hotkey()
876 if (symbol_conf.show_branchflag_count) { in hist_browser__show_callchain_list()
1007 symbol_conf.field_sep ?: ";", str) < 0) in hist_browser__folded_callchain_str()
1183 if (symbol_conf.cumulate_callchain) in hist_browser__show_callchain()
1263 if (!symbol_conf.cumulate_callchain) { \
[all …]
Dannotate.c836 if (symbol_conf.show_total_period) { in annotate_browser__run()
837 symbol_conf.show_total_period = false; in annotate_browser__run()
838 symbol_conf.show_nr_samples = true; in annotate_browser__run()
839 } else if (symbol_conf.show_nr_samples) in annotate_browser__run()
840 symbol_conf.show_nr_samples = false; in annotate_browser__run()
842 symbol_conf.show_total_period = true; in annotate_browser__run()
Dres_sample.c88 symbol_conf.inline_name ? "--inline" : "", in res_sample_browse()

123