Home
last modified time | relevance | path

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

123

/tools/perf/
Dbuiltin-report.c110 symbol_conf.event_group = perf_config_bool(var, value); in report__config()
121 symbol_conf.cumulate_callchain = perf_config_bool(var, value); in report__config()
166 } else if (symbol_conf.cumulate_callchain) { in hist_iter__report_callback()
247 .hide_unresolved = symbol_conf.hide_unresolved, in process_sample_event()
266 if (symbol_conf.hide_unresolved && al.sym == NULL) in process_sample_event()
284 } else if (symbol_conf.cumulate_callchain) { in process_sample_event()
352 if (symbol_conf.use_callchain && in report__setup_sample_type()
353 !symbol_conf.show_branchflag_count) { in report__setup_sample_type()
361 !symbol_conf.use_callchain) { in report__setup_sample_type()
362 symbol_conf.use_callchain = true; in report__setup_sample_type()
[all …]
Dbuiltin-mem.c175 if (symbol_conf.field_sep) { in dump_raw_samples()
182 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()
191 symbol_conf.field_sep, in dump_raw_samples()
193 symbol_conf.field_sep, in dump_raw_samples()
195 symbol_conf.field_sep, in dump_raw_samples()
197 symbol_conf.field_sep, in dump_raw_samples()
199 symbol_conf.field_sep, in dump_raw_samples()
203 if (symbol_conf.field_sep) { in dump_raw_samples()
[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-top.c299 if (symbol_conf.event_group && in perf_top__resort_hists()
349 top->min_percent, stdout, !symbol_conf.use_callchain); in perf_top__print_sym_table()
768 symbol_conf.kptr_restrict && in perf_event__process_sample()
798 if (symbol_conf.vmlinux_name) { in perf_event__process_sample()
802 symbol_conf.vmlinux_name, serr, msg); in perf_event__process_sample()
822 if (symbol_conf.cumulate_callchain) in perf_event__process_sample()
1341 symbol_conf.use_callchain = true; in callchain_opt()
1357 symbol_conf.use_callchain = false; in parse_callchain_opt()
1372 symbol_conf.cumulate_callchain = perf_config_bool(var, value); in perf_top_config()
1436 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()
439 if (symbol_conf.event_group && in __cmd_annotate()
499 OPT_STRING('d', "dsos", &symbol_conf.dso_list_str, "dso[,dso...]", in cmd_annotate()
513 OPT_BOOLEAN(0, "ignore-vmlinux", &symbol_conf.ignore_vmlinux, in cmd_annotate()
515 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_annotate()
517 OPT_BOOLEAN('m', "modules", &symbol_conf.use_modules, in cmd_annotate()
525 OPT_BOOLEAN_SET(0, "group", &symbol_conf.event_group, in cmd_annotate()
540 OPT_BOOLEAN(0, "group", &symbol_conf.event_group, in cmd_annotate()
542 OPT_BOOLEAN(0, "show-total-period", &symbol_conf.show_total_period, in cmd_annotate()
544 OPT_BOOLEAN('n', "show-nr-samples", &symbol_conf.show_nr_samples, in cmd_annotate()
[all …]
Dbuiltin-probe.c548 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in __cmd_probe()
550 OPT_STRING('s', "source", &symbol_conf.source_prefix, in __cmd_probe()
570 OPT_BOOLEAN(0, "demangle", &symbol_conf.demangle, in __cmd_probe()
572 OPT_BOOLEAN(0, "demangle-kernel", &symbol_conf.demangle_kernel, in __cmd_probe()
575 OPT_STRING(0, "symfs", &symbol_conf.symfs, "directory", in __cmd_probe()
636 symbol_conf.try_vmlinux_path = (symbol_conf.vmlinux_name == NULL); in __cmd_probe()
643 if (!strchr("lda", params.command) && symbol_conf.vmlinux_name) in __cmd_probe()
644 symbol_conf.ignore_vmlinux_buildid = true; in __cmd_probe()
Dbuiltin-script.c558 symbol_conf.use_callchain = false; in perf_session__check_output_opt()
565 if (symbol_conf.use_callchain && in perf_session__check_output_opt()
637 else if (PRINT_FIELD(IP) && evsel__has_callchain(evsel) && symbol_conf.use_callchain) in perf_sample__fprintf_start()
712 if (symbol_conf.nanosecs) in perf_sample__fprintf_start()
1319 if (symbol_conf.use_callchain && sample->callchain && in perf_sample__fprintf_bts()
1334 symbol_conf.bt_stop_list, fp); in perf_sample__fprintf_bts()
1771 if (!symbol_conf.graph_function) in show_event()
1781 const char *s = symbol_conf.graph_function; in show_event()
1870 if (symbol_conf.use_callchain && sample->callchain && in process_event()
1877 symbol_conf.bt_stop_list, fp); in process_event()
[all …]
Dbuiltin-diff.c307 if (symbol_conf.filter_relative) { in formula_delta()
994 symbol_conf.report_block = true; in hists__process()
997 !symbol_conf.use_callchain); in hists__process()
1261 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name,
1263 OPT_BOOLEAN('m', "modules", &symbol_conf.use_modules,
1265 OPT_STRING('d', "dsos", &symbol_conf.dso_list_str, "dso[,dso...]",
1267 OPT_STRING('C', "comms", &symbol_conf.comm_list_str, "comm[,comm...]",
1269 OPT_STRING('S', "symbols", &symbol_conf.sym_list_str, "symbol[,symbol...]",
1274 OPT_STRING_NOEMPTY('t', "field-separator", &symbol_conf.field_sep, "separator",
1286 OPT_STRING(0, "pid", &symbol_conf.pid_list_str, "pid[,pid...]",
[all …]
/tools/perf/util/
Dsymbol.c51 struct symbol_conf symbol_conf = { variable
190 if (symbol_conf.allow_aliases) in symbols__fixup_duplicate()
273 struct symbol *sym = calloc(1, (symbol_conf.priv_size + in symbol__new()
278 if (symbol_conf.priv_size) { in symbol__new()
279 if (symbol_conf.init_annotation) { in symbol__new()
283 sym = ((void *)sym) + symbol_conf.priv_size; in symbol__new()
301 free(((void *)sym) - symbol_conf.priv_size); in symbol__delete()
785 if (!symbol_conf.use_modules) in map_groups__split_kallsyms()
906 if (symbol_conf.kptr_restrict) { in symbol__restricted_filename()
1868 if (!symbol_conf.ignore_vmlinux_buildid) in dso__load_vmlinux_path()
[all …]
Dsymbol_conf.h10 struct symbol_conf { struct
77 extern struct symbol_conf symbol_conf; argument
Dthread.h127 if (symbol_conf.comm_list && in thread__is_filtered()
128 !strlist__has_entry(symbol_conf.comm_list, thread__comm_str(thread))) { in thread__is_filtered()
132 if (symbol_conf.pid_list && in thread__is_filtered()
133 !intlist__has_entry(symbol_conf.pid_list, thread->pid_)) { in thread__is_filtered()
137 if (symbol_conf.tid_list && in thread__is_filtered()
138 !intlist__has_entry(symbol_conf.tid_list, thread->tid)) { in thread__is_filtered()
Dhist.c72 !symbol_conf.col_width_list_str && !symbol_conf.field_sep && in hists__set_unres_dso_col_len()
73 !symbol_conf.dso_list) in hists__set_unres_dso_col_len()
203 if (symbol_conf.nanosecs) in hists__calc_col_len()
263 unsigned long time_quantum = symbol_conf.time_quantum; in hist_time()
307 if (symbol_conf.cumulate_callchain) in hists__decay_entry()
419 if (symbol_conf.cumulate_callchain) { in hist_entry__init()
452 if (hist_entry__has_callchains(he) && symbol_conf.use_callchain) in hist_entry__init()
467 if (symbol_conf.res_sample) { in hist_entry__init()
469 symbol_conf.res_sample); in hist_entry__init()
479 if (!symbol_conf.report_hierarchy) in hist_entry__init()
[all …]
Devent.c590 if (symbol_conf.dso_list && in machine__resolve()
591 (!dso || !(strlist__has_entry(symbol_conf.dso_list, in machine__resolve()
594 strlist__has_entry(symbol_conf.dso_list, in machine__resolve()
602 if (symbol_conf.sym_list && in machine__resolve()
603 (!al->sym || !strlist__has_entry(symbol_conf.sym_list, in machine__resolve()
Dmachine.c343 (symbol_conf.guestmount)) { in machines__findnew()
344 sprintf(path, "%s/%d", symbol_conf.guestmount, pid); in machines__findnew()
886 if (symbol_conf.vmlinux_name) in machine__get_kernel()
887 vmlinux_name = symbol_conf.vmlinux_name; in machine__get_kernel()
892 if (symbol_conf.default_guest_vmlinux_name) in machine__get_kernel()
893 vmlinux_name = symbol_conf.default_guest_vmlinux_name; in machine__get_kernel()
914 scnprintf(buf, bufsz, "%s", symbol_conf.default_guest_kallsyms); in machine__get_kallsyms_filename()
1136 if (symbol_conf.default_guest_vmlinux_name || in machines__create_guest_kernel_maps()
1137 symbol_conf.default_guest_modules || in machines__create_guest_kernel_maps()
1138 symbol_conf.default_guest_kallsyms) { in machines__create_guest_kernel_maps()
[all …]
Dcallchain.c177 symbol_conf.use_callchain = true; in __parse_callchain_report_opt()
186 symbol_conf.use_callchain = false; in __parse_callchain_report_opt()
1088 if (sample->callchain == NULL && !symbol_conf.show_branchflag_count) in sample__resolve_callchain()
1091 if (symbol_conf.use_callchain || symbol_conf.cumulate_callchain || in sample__resolve_callchain()
1092 perf_hpp_list.parent || symbol_conf.show_branchflag_count) { in sample__resolve_callchain()
1101 if ((!symbol_conf.use_callchain || sample->callchain == NULL) && in hist_entry__append_callchain()
1102 !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()
Dsymbol.h89 return path__join(bf, size, symbol_conf.symfs, path); in __symbol__join_symfs()
99 return ((void *)sym) - symbol_conf.priv_size; in symbol__priv()
Dsort.c62 if (symbol_conf.field_sep && n > 0) { in repsep_snprintf()
66 sep = strchr(sep, *symbol_conf.field_sep); in repsep_snprintf()
681 if (symbol_conf.nanosecs) in hist_entry__time_snprintf()
712 if (symbol_conf.raw_trace) { in get_trace_output()
2435 bool raw_trace = symbol_conf.raw_trace; in add_dynamic_entry()
2742 if (symbol_conf.raw_trace) in get_default_sort_order()
2804 if (symbol_conf.cumulate_callchain) in setup_overhead()
2888 return __get_elide(symbol_conf.sym_list, "symbol", output); in get_elide()
2890 return __get_elide(symbol_conf.dso_list, "dso", output); in get_elide()
2892 return __get_elide(symbol_conf.comm_list, "comm", output); in get_elide()
[all …]
/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 …]
Dbuiltin-test.c723 symbol_conf.priv_size = sizeof(int); in cmd_test()
724 symbol_conf.sort_by_name = true; in cmd_test()
725 symbol_conf.try_vmlinux_path = true; in cmd_test()
/tools/perf/ui/stdio/
Dhist.c76 if (symbol_conf.show_branchflag_count) { in ipchain__fprintf_graph()
257 if (symbol_conf.show_branchflag_count) in callchain__fprintf_graph()
331 const char *sep = symbol_conf.field_sep ?: ";"; in __callchain__fprintf_folded()
386 if (symbol_conf.cumulate_callchain) in hist_entry_callchain__fprintf()
416 const char *sep = symbol_conf.field_sep; in __hist_entry__snprintf()
422 if (symbol_conf.exclude_other && !he->parent) in __hist_entry__snprintf()
461 const char *sep = symbol_conf.field_sep; in hist_entry__hierarchy_fprintf()
469 if (symbol_conf.exclude_other && !he->parent) in hist_entry__hierarchy_fprintf()
526 if (he->leaf && hist_entry__has_callchains(he) && symbol_conf.use_callchain) { in hist_entry__hierarchy_fprintf()
577 if (symbol_conf.report_hierarchy) in hist_entry__fprintf()
[all …]
/tools/perf/ui/
Dhist.c120 if (symbol_conf.field_sep) { in hpp__fmt()
137 if (!symbol_conf.cumulate_callchain) { in hpp__fmt_acc()
164 if (ret || !symbol_conf.event_group) in __hpp__sort()
206 if (symbol_conf.cumulate_callchain) { in __hpp__sort_acc()
214 if (a->thread != b->thread || !hist_entry__has_callchains(a) || !symbol_conf.use_callchain) in __hpp__sort_acc()
231 if (symbol_conf.event_group) in hpp__width_fn()
496 if (symbol_conf.cumulate_callchain) { in perf_hpp__init()
503 if (symbol_conf.show_cpu_utilization) { in perf_hpp__init()
513 if (symbol_conf.show_nr_samples) in perf_hpp__init()
516 if (symbol_conf.show_total_period) in perf_hpp__init()
[all …]
/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()
/tools/perf/ui/browsers/
Dhists.c55 return hists__has_filter(hb->hists) || hb->min_pcnt || symbol_conf.has_filter || hb->c2c_filter; in hist_browser__has_filter()
89 if (symbol_conf.report_hierarchy) in hist_browser__nr_entries()
419 if (symbol_conf.report_hierarchy) in hist_browser__toggle_fold()
430 if (symbol_conf.report_hierarchy) in hist_browser__toggle_fold()
438 if (symbol_conf.report_hierarchy) in hist_browser__toggle_fold()
655 symbol_conf.report_hierarchy) in hist_browser__run()
816 if (symbol_conf.show_branchflag_count) { in hist_browser__show_callchain_list()
947 symbol_conf.field_sep ?: ";", str) < 0) in hist_browser__folded_callchain_str()
1123 if (symbol_conf.cumulate_callchain) in hist_browser__show_callchain()
1203 if (!symbol_conf.cumulate_callchain) { \
[all …]
Dres_sample.c88 symbol_conf.inline_name ? "--inline" : "", in res_sample_browse()
Dscripts.c55 c->perf, opt, symbol_conf.inline_name ? " --inline" : "", in add_script_option()

123