Home
last modified time | relevance | path

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

/linux-4.1.27/tools/perf/
Dbuiltin-report.c70 symbol_conf.event_group = perf_config_bool(var, value); in report__config()
78 symbol_conf.cumulate_callchain = perf_config_bool(var, value); in report__config()
119 } else if (symbol_conf.cumulate_callchain) { in hist_iter__report_callback()
161 else if (symbol_conf.cumulate_callchain) in process_sample_event()
215 if (symbol_conf.use_callchain) { in report__setup_sample_type()
223 !symbol_conf.use_callchain) { in report__setup_sample_type()
224 symbol_conf.use_callchain = true; in report__setup_sample_type()
231 if (symbol_conf.cumulate_callchain) { in report__setup_sample_type()
234 symbol_conf.cumulate_callchain = false; in report__setup_sample_type()
248 if (symbol_conf.use_callchain || symbol_conf.cumulate_callchain) { in report__setup_sample_type()
[all …]
Dbuiltin-annotate.c237 if (symbol_conf.event_group && in __cmd_annotate()
292 OPT_STRING('d', "dsos", &symbol_conf.dso_list_str, "dso[,dso...]", in cmd_annotate()
304 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_annotate()
306 OPT_BOOLEAN('m', "modules", &symbol_conf.use_modules, in cmd_annotate()
315 OPT_STRING(0, "symfs", &symbol_conf.symfs, "directory", in cmd_annotate()
317 OPT_BOOLEAN(0, "source", &symbol_conf.annotate_src, in cmd_annotate()
319 OPT_BOOLEAN(0, "asm-raw", &symbol_conf.annotate_asm_raw, in cmd_annotate()
325 OPT_BOOLEAN(0, "group", &symbol_conf.event_group, in cmd_annotate()
349 symbol_conf.priv_size = sizeof(struct annotation); in cmd_annotate()
350 symbol_conf.try_vmlinux_path = true; in cmd_annotate()
Dbuiltin-mem.c82 if (symbol_conf.field_sep) { in dump_raw_samples()
88 symbol_conf.field_sep = " "; in dump_raw_samples()
93 symbol_conf.field_sep, in dump_raw_samples()
95 symbol_conf.field_sep, in dump_raw_samples()
97 symbol_conf.field_sep, in dump_raw_samples()
99 symbol_conf.field_sep, in dump_raw_samples()
101 symbol_conf.field_sep, in dump_raw_samples()
103 symbol_conf.field_sep, in dump_raw_samples()
291 OPT_STRING_NOEMPTY('x', "field-separator", &symbol_conf.field_sep, in cmd_mem()
Dbuiltin-top.c730 symbol_conf.kptr_restrict && in perf_event__process_sample()
759 if (symbol_conf.vmlinux_name) { in perf_event__process_sample()
763 symbol_conf.vmlinux_name, serr, msg); in perf_event__process_sample()
781 if (symbol_conf.cumulate_callchain) in perf_event__process_sample()
916 if (symbol_conf.use_callchain) { in perf_top__setup_sample_type()
1016 symbol_conf.use_callchain = true; in callchain_opt()
1023 symbol_conf.use_callchain = true; in parse_callchain_opt()
1032 symbol_conf.cumulate_callchain = perf_config_bool(var, value); in perf_top_config()
1082 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_top()
1084 OPT_BOOLEAN(0, "ignore-vmlinux", &symbol_conf.ignore_vmlinux, in cmd_top()
[all …]
Dbuiltin-probe.c370 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in __cmd_probe()
372 OPT_STRING('s', "source", &symbol_conf.source_prefix, in __cmd_probe()
390 OPT_BOOLEAN(0, "demangle", &symbol_conf.demangle, in __cmd_probe()
392 OPT_BOOLEAN(0, "demangle-kernel", &symbol_conf.demangle_kernel, in __cmd_probe()
438 symbol_conf.try_vmlinux_path = (symbol_conf.vmlinux_name == NULL); in __cmd_probe()
Dbuiltin-script.c308 symbol_conf.use_callchain = false; in perf_session__check_output_opt()
315 if (symbol_conf.use_callchain && in perf_session__check_output_opt()
350 else if (PRINT_FIELD(IP) && symbol_conf.use_callchain) in print_sample_start()
421 if (symbol_conf.use_callchain && sample->callchain) { in print_sample_bts()
479 if (!symbol_conf.use_callchain) in process_event()
1540 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_script()
1542 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name, in cmd_script()
1546 OPT_STRING(0, "symfs", &symbol_conf.symfs, "directory", in cmd_script()
1555 OPT_STRING('S', "symbols", &symbol_conf.sym_list_str, "symbol[,symbol...]", in cmd_script()
1558 OPT_STRING('c', "comms", &symbol_conf.comm_list_str, "comm[,comm...]", in cmd_script()
[all …]
Dbuiltin-diff.c265 if (symbol_conf.filter_relative) { in formula_delta()
794 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name,
796 OPT_BOOLEAN('m', "modules", &symbol_conf.use_modules,
798 OPT_STRING('d', "dsos", &symbol_conf.dso_list_str, "dso[,dso...]",
800 OPT_STRING('C', "comms", &symbol_conf.comm_list_str, "comm[,comm...]",
802 OPT_STRING('S', "symbols", &symbol_conf.sym_list_str, "symbol[,symbol...]",
807 OPT_STRING_NOEMPTY('t', "field-separator", &symbol_conf.field_sep, "separator",
810 OPT_STRING(0, "symfs", &symbol_conf.symfs, "directory",
845 const char *fmt = symbol_conf.field_sep ? "%.2f" : "%6.2f%%"; in hpp__entry_baseline()
1033 if (symbol_conf.field_sep) in hpp__entry_global()
Dbuiltin-kvm.c1377 symbol_conf.nr_events = kvm->evlist->nr_entries; in kvm_events_live()
1525 OPT_STRING(0, "guestmount", &symbol_conf.guestmount, "directory", in cmd_kvm()
1528 OPT_STRING(0, "guestvmlinux", &symbol_conf.default_guest_vmlinux_name, in cmd_kvm()
1530 OPT_STRING(0, "guestkallsyms", &symbol_conf.default_guest_kallsyms, in cmd_kvm()
1532 OPT_STRING(0, "guestmodules", &symbol_conf.default_guest_modules, in cmd_kvm()
Dbuiltin-record.c227 symbol_conf.ignore_vmlinux_buildid = true; in process_buildids()
962 if (symbol_conf.kptr_restrict) in cmd_record()
Dbuiltin-inject.c444 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name, "file", in cmd_inject()
Dbuiltin-timechart.c1947 OPT_STRING(0, "symfs", &symbol_conf.symfs, "directory", in cmd_timechart()
/linux-4.1.27/tools/perf/util/
Dsymbol.c33 struct symbol_conf symbol_conf = { variable
226 struct symbol *sym = calloc(1, (symbol_conf.priv_size + in symbol__new()
231 if (symbol_conf.priv_size) in symbol__new()
232 sym = ((void *)sym) + symbol_conf.priv_size; in symbol__new()
248 free(((void *)sym) - symbol_conf.priv_size); in symbol__delete()
710 if (!symbol_conf.use_modules) in dso__split_kallsyms()
823 if (symbol_conf.kptr_restrict) { in symbol__restricted_filename()
1564 if (!symbol_conf.ignore_vmlinux_buildid) in dso__load_vmlinux_path()
1710 if (symbol_conf.kallsyms_name != NULL) { in dso__load_kernel_sym()
1711 kallsyms_filename = symbol_conf.kallsyms_name; in dso__load_kernel_sym()
[all …]
Dthread.h99 if (symbol_conf.comm_list && in thread__is_filtered()
100 !strlist__has_entry(symbol_conf.comm_list, thread__comm_str(thread))) { in thread__is_filtered()
104 if (symbol_conf.pid_list && in thread__is_filtered()
105 !intlist__has_entry(symbol_conf.pid_list, thread->pid_)) { in thread__is_filtered()
109 if (symbol_conf.tid_list && in thread__is_filtered()
110 !intlist__has_entry(symbol_conf.tid_list, thread->tid)) { in thread__is_filtered()
Dsymbol.h83 struct symbol_conf { struct
136 extern struct symbol_conf symbol_conf; argument
140 return path__join(bf, size, symbol_conf.symfs, path); in __symbol__join_symfs()
150 return ((void *)sym) - symbol_conf.priv_size; in symbol__priv()
Dhist.c51 !symbol_conf.col_width_list_str && !symbol_conf.field_sep && in hists__set_unres_dso_col_len()
52 !symbol_conf.dso_list) in hists__set_unres_dso_col_len()
235 if (symbol_conf.cumulate_callchain) in hists__decay_entry()
300 if (symbol_conf.use_callchain) in hist_entry__new()
308 if (symbol_conf.cumulate_callchain) { in hist_entry__new()
351 if (symbol_conf.use_callchain) in hist_entry__new()
363 if (symbol_conf.exclude_other && parent == NULL) in symbol__parent_filter()
397 if (symbol_conf.cumulate_callchain) in add_hist_entry()
437 if (symbol_conf.cumulate_callchain) in add_hist_entry()
809 if (symbol_conf.use_callchain) in iter_add_next_cumulative_entry()
[all …]
Dmachine.c230 (symbol_conf.guestmount)) { in machines__findnew()
231 sprintf(path, "%s/%d", symbol_conf.guestmount, pid); in machines__findnew()
593 vmlinux_name = symbol_conf.vmlinux_name; in machine__get_kernel()
604 vmlinux_name = symbol_conf.default_guest_vmlinux_name; in machine__get_kernel()
628 scnprintf(buf, bufsz, "%s", symbol_conf.default_guest_kallsyms); in machine__get_kallsyms_filename()
730 if (symbol_conf.default_guest_vmlinux_name || in machines__create_guest_kernel_maps()
731 symbol_conf.default_guest_modules || in machines__create_guest_kernel_maps()
732 symbol_conf.default_guest_kallsyms) { in machines__create_guest_kernel_maps()
736 if (symbol_conf.guestmount) { in machines__create_guest_kernel_maps()
737 items = scandir(symbol_conf.guestmount, &namelist, NULL, NULL); in machines__create_guest_kernel_maps()
[all …]
Dcallchain.c174 symbol_conf.use_callchain = true; in parse_callchain_report_opt()
182 symbol_conf.use_callchain = false; in parse_callchain_report_opt()
767 if (symbol_conf.use_callchain || symbol_conf.cumulate_callchain || in sample__resolve_callchain()
777 if (!symbol_conf.use_callchain || sample->callchain == NULL) in hist_entry__append_callchain()
877 if (!symbol_conf.use_callchain) in free_callchain()
Dsort.c34 if (symbol_conf.field_sep && n > 0) { in repsep_snprintf()
38 sep = strchr(sep, *symbol_conf.field_sep); in repsep_snprintf()
1648 return __get_elide(symbol_conf.sym_list, "symbol", output); in get_elide()
1650 return __get_elide(symbol_conf.dso_list, "dso", output); in get_elide()
1652 return __get_elide(symbol_conf.comm_list, "comm", output); in get_elide()
1662 return __get_elide(symbol_conf.sym_from_list, "sym_from", output); in get_elide()
1664 return __get_elide(symbol_conf.sym_to_list, "sym_to", output); in get_elide()
1666 return __get_elide(symbol_conf.dso_from_list, "dso_from", output); in get_elide()
1668 return __get_elide(symbol_conf.dso_to_list, "dso_to", output); in get_elide()
Devent.c918 if (symbol_conf.dso_list && in perf_event__preprocess_sample()
919 (!dso || !(strlist__has_entry(symbol_conf.dso_list, in perf_event__preprocess_sample()
922 strlist__has_entry(symbol_conf.dso_list, in perf_event__preprocess_sample()
931 if (symbol_conf.sym_list && in perf_event__preprocess_sample()
932 (!al->sym || !strlist__has_entry(symbol_conf.sym_list, in perf_event__preprocess_sample()
Dannotate.h127 return (void *)sym - symbol_conf.priv_size; in symbol__annotation()
Dsort.h143 if (symbol_conf.cumulate_callchain) in hist_entry__get_percent_limit()
Dannotate.c464 / symbol_conf.nr_events) in symbol__alloc_hist()
467 notes->src = zalloc(sizeof(*notes->src) + symbol_conf.nr_events * sizeof_sym_hist); in symbol__alloc_hist()
471 notes->src->nr_histograms = symbol_conf.nr_events; in symbol__alloc_hist()
1050 symbol_conf.annotate_asm_raw ? "" : "--no-show-raw", in symbol__annotate()
1051 symbol_conf.annotate_src ? "-S" : "", in symbol__annotate()
Devsel.h310 if (!symbol_conf.event_group) in perf_evsel__is_group_event()
Dconfig.c390 symbol_conf.show_hist_headers = perf_config_bool(var, value); in perf_ui_config()
Dhist.h286 return !symbol_conf.field_sep; in perf_hpp__use_color()
Dprobe-event.c82 symbol_conf.sort_by_name = true; in init_symbol_maps()
83 symbol_conf.allow_aliases = true; in init_symbol_maps()
93 if (symbol_conf.vmlinux_name) in init_symbol_maps()
94 pr_debug("Use vmlinux: %s\n", symbol_conf.vmlinux_name); in init_symbol_maps()
223 vmlinux_name = symbol_conf.vmlinux_name; in kernel_get_module_dso()
Ddso.c60 if (symbol_conf.symfs[0] || in dso__read_binary_type_filename()
118 path__join3(filename, size, symbol_conf.symfs, in dso__read_binary_type_filename()
Dsymbol-elf.c771 return is_kernel_sym ? symbol_conf.demangle_kernel : symbol_conf.demangle; in want_demangle()
1076 if (!symbol_conf.allow_aliases) in dso__load_sym()
Dprobe-finder.c1647 const char *prefix = symbol_conf.source_prefix; in get_real_path()
1672 if (!symbol_conf.source_prefix) { in get_real_path()
Dmap.c346 if (symbol_conf.show_kernel_path && map->dso->long_name) in map__fprintf_dsoname()
Dheader.c2547 symbol_conf.nr_events = nr_attrs; in perf_session__read_header()
2654 symbol_conf.nr_events = evlist->nr_entries; in perf_event__process_attr()
Dsession.c1531 if (symbol_conf.use_callchain && sample->callchain) { in perf_evsel__print_ip()
/linux-4.1.27/tools/perf/tests/
Dhists_cumulate.c93 if (symbol_conf.cumulate_callchain) in add_hist_entries()
194 symbol_conf.use_callchain, in do_test()
195 symbol_conf.cumulate_callchain); in do_test()
212 if (symbol_conf.cumulate_callchain) in do_test()
215 if (!symbol_conf.use_callchain) in do_test()
240 !symbol_conf.use_callchain || nr_expected == nr_callchain); in do_test()
276 symbol_conf.use_callchain = false; in test1()
277 symbol_conf.cumulate_callchain = false; in test1()
422 symbol_conf.use_callchain = true; in test2()
423 symbol_conf.cumulate_callchain = false; in test2()
[all …]
Dbuiltin-test.c320 symbol_conf.priv_size = sizeof(int); in cmd_test()
321 symbol_conf.sort_by_name = true; in cmd_test()
322 symbol_conf.try_vmlinux_path = true; in cmd_test()
Dcode-reading.c424 symbol_conf.kallsyms_name = "/proc/kallsyms"; in do_test_code_reading()
/linux-4.1.27/tools/perf/ui/
Dhist.c113 if (symbol_conf.field_sep) { in hpp__fmt()
130 if (!symbol_conf.cumulate_callchain) { in hpp__fmt_acc()
157 if (ret || !symbol_conf.event_group) in __hpp__sort()
199 if (symbol_conf.cumulate_callchain) { in __hpp__sort_acc()
207 if (a->thread != b->thread || !symbol_conf.use_callchain) in __hpp__sort_acc()
221 if (symbol_conf.event_group) in hpp__width_fn()
465 if (symbol_conf.cumulate_callchain) { in perf_hpp__init()
472 if (symbol_conf.show_cpu_utilization) { in perf_hpp__init()
482 if (symbol_conf.show_nr_samples) in perf_hpp__init()
485 if (symbol_conf.show_total_period) in perf_hpp__init()
[all …]
/linux-4.1.27/tools/perf/ui/stdio/
Dhist.c270 symbol_conf.cumulate_callchain ? in hist_entry_callchain__fprintf()
316 const char *sep = symbol_conf.field_sep; in hist_entry__snprintf()
322 if (symbol_conf.exclude_other && !he->parent) in hist_entry__snprintf()
367 if (symbol_conf.use_callchain) in hist_entry__fprintf()
380 const char *sep = symbol_conf.field_sep; in hists__fprintf()
396 if (symbol_conf.col_width_list_str) in hists__fprintf()
397 perf_hpp__set_user_width(symbol_conf.col_width_list_str); in hists__fprintf()
/linux-4.1.27/tools/perf/ui/browsers/
Dhists.c48 return hists__has_filter(hb->hists) || hb->min_pcnt || symbol_conf.has_filter; in hist_browser__has_filter()
698 if (!symbol_conf.cumulate_callchain) { \
754 if (symbol_conf.use_callchain) { in hist_browser__show_entry()
786 if (symbol_conf.use_callchain) { in hist_browser__show_entry()
823 if (symbol_conf.cumulate_callchain) in hist_browser__show_entry()
856 if (symbol_conf.use_callchain) { in hists__scnprintf_headers()
1098 if (symbol_conf.cumulate_callchain) in hist_browser__fprintf_callchain()
1121 if (symbol_conf.use_callchain) in hist_browser__fprintf_entry()
1124 if (symbol_conf.use_callchain) in hist_browser__fprintf_entry()
1208 browser->show_headers = symbol_conf.show_hist_headers; in hist_browser__new()
[all …]
/linux-4.1.27/tools/perf/ui/gtk/
Dhists.c252 if (symbol_conf.use_callchain && sort__has_sym) { in perf_gtk__show_hists()
254 total = symbol_conf.cumulate_callchain ? in perf_gtk__show_hists()
320 if (symbol_conf.event_group) { in perf_evlist__gtk_browse_hists()
Dannotate.c36 if (!symbol_conf.event_group && !symhist->addr[dl->offset]) in perf_gtk__get_percent()
/linux-4.1.27/tools/perf/util/scripting-engines/
Dtrace-event-python.c316 if (!symbol_conf.use_callchain || !sample->callchain) in python_process_callchain()
363 if (symbol_conf.show_kernel_path && map->dso->long_name) in python_process_callchain()
935 symbol_conf.priv_size = sizeof(u64); in set_table_handlers()