Home
last modified time | relevance | path

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

123

/tools/perf/
Dbuiltin-report.c126 symbol_conf.event_group = perf_config_bool(var, value); in report__config()
137 symbol_conf.cumulate_callchain = perf_config_bool(var, value); in report__config()
192 } else if (symbol_conf.cumulate_callchain) { in hist_iter__report_callback()
274 .hide_unresolved = symbol_conf.hide_unresolved, in process_sample_event()
298 if (symbol_conf.hide_unresolved && al.sym == NULL) in process_sample_event()
316 } else if (symbol_conf.cumulate_callchain) { in process_sample_event()
388 if (symbol_conf.use_callchain && in report__setup_sample_type()
389 !symbol_conf.show_branchflag_count) { in report__setup_sample_type()
397 !symbol_conf.use_callchain) { in report__setup_sample_type()
398 symbol_conf.use_callchain = true; in report__setup_sample_type()
[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-annotate.c194 .hide_unresolved = symbol_conf.hide_unresolved, in process_branch_callback()
458 if (symbol_conf.event_group && !evsel__is_group_leader(pos)) in __cmd_annotate()
535 OPT_STRING('d', "dsos", &symbol_conf.dso_list_str, "dso[,dso...]", in cmd_annotate()
553 OPT_BOOLEAN(0, "ignore-vmlinux", &symbol_conf.ignore_vmlinux, in cmd_annotate()
555 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_annotate()
557 OPT_BOOLEAN('m', "modules", &symbol_conf.use_modules, in cmd_annotate()
565 OPT_BOOLEAN_SET(0, "group", &symbol_conf.event_group, in cmd_annotate()
586 OPT_BOOLEAN(0, "demangle", &symbol_conf.demangle, in cmd_annotate()
588 OPT_BOOLEAN(0, "demangle-kernel", &symbol_conf.demangle_kernel, in cmd_annotate()
590 OPT_BOOLEAN(0, "show-total-period", &symbol_conf.show_total_period, 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()
1376 symbol_conf.use_callchain = true; in callchain_opt()
1392 symbol_conf.use_callchain = false; in parse_callchain_opt()
1407 symbol_conf.cumulate_callchain = perf_config_bool(var, value); in perf_top_config()
1475 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_top()
[all …]
Dbuiltin-kallsyms.c65 symbol_conf.try_vmlinux_path = (symbol_conf.vmlinux_name == NULL); in cmd_kallsyms()
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-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.c1706 if (symbol_conf.field_sep) in print_header()
1707 print_header_csv(symbol_conf.field_sep); in print_header()
1813 if (symbol_conf.field_sep) in print_lock_stat()
1814 print_lock_stat_csv(con, st, symbol_conf.field_sep); in print_lock_stat()
1872 if (symbol_conf.field_sep) in print_footer()
1873 print_footer_csv(total, bad, fails, symbol_conf.field_sep); in print_footer()
1943 symbol_conf.allow_aliases = true; in __cmd_report()
2017 if (symbol_conf.field_sep) { in check_lock_contention_options()
2018 if (strstr(symbol_conf.field_sep, ":") || /* part of type flags */ in check_lock_contention_options()
2019 strstr(symbol_conf.field_sep, "+") || /* part of caller offset */ in check_lock_contention_options()
[all …]
/tools/perf/util/
Dsymbol.c51 struct symbol_conf symbol_conf = { variable
186 if (symbol_conf.allow_aliases) in symbols__fixup_duplicate()
267 struct symbol *sym = calloc(1, (symbol_conf.priv_size + in symbol__new()
272 if (symbol_conf.priv_size) { in symbol__new()
273 if (symbol_conf.init_annotation) { in symbol__new()
277 sym = ((void *)sym) + symbol_conf.priv_size; in symbol__new()
295 if (symbol_conf.priv_size) { in symbol__delete()
296 if (symbol_conf.init_annotation) { in symbol__delete()
302 free(((void *)sym) - symbol_conf.priv_size); in symbol__delete()
841 if (!symbol_conf.use_modules) in maps__split_kallsyms()
[all …]
Dsymbol_conf.h10 struct symbol_conf { struct
84 extern struct symbol_conf symbol_conf; argument
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 …]
Dthread.h333 if (symbol_conf.comm_list && in thread__is_filtered()
334 !strlist__has_entry(symbol_conf.comm_list, thread__comm_str(thread))) { in thread__is_filtered()
338 if (symbol_conf.pid_list && in thread__is_filtered()
339 !intlist__has_entry(symbol_conf.pid_list, thread__pid(thread))) { in thread__is_filtered()
343 if (symbol_conf.tid_list && in thread__is_filtered()
344 !intlist__has_entry(symbol_conf.tid_list, thread__tid(thread))) { in thread__is_filtered()
Devent.c620 load_map = !symbol_conf.lazy_load_kernel_maps; in thread__find_map()
626 load_map = !symbol_conf.lazy_load_kernel_maps; in thread__find_map()
717 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()
[all …]
Dsrcline.c315 if (!symbol_conf.disable_add2line_warn) in addr2line()
477 if (!symbol_conf.disable_add2line_warn) { in addr2line_configure()
658 dso->a2l = addr2line_subprocess_init(symbol_conf.addr2line_path, dso_name); in addr2line()
663 if (!symbol_conf.disable_add2line_warn) in addr2line()
683 if (!symbol_conf.disable_add2line_warn) in addr2line()
692 if (!symbol_conf.disable_add2line_warn) in addr2line()
708 if (!symbol_conf.disable_add2line_warn) in addr2line()
716 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()
Dsymbol.h99 return path__join(bf, size, symbol_conf.symfs, path); in __symbol__join_symfs()
109 return ((void *)sym) - symbol_conf.priv_size; in symbol__priv()
/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()
/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 …]
/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 …]
/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()
/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 …]
Dres_sample.c88 symbol_conf.inline_name ? "--inline" : "", in res_sample_browse()

123