Home
last modified time | relevance | path

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

/external/linux-tools-perf/
Dbuiltin-report.c68 if ((sort__has_parent || symbol_conf.use_callchain) && sample->callchain) { in perf_session__add_hist_entry()
79 if (symbol_conf.use_callchain) { in perf_session__add_hist_entry()
169 if (symbol_conf.use_callchain) { in perf_session__setup_sample_type()
176 !symbol_conf.use_callchain) { in perf_session__setup_sample_type()
177 symbol_conf.use_callchain = true; in perf_session__setup_sample_type()
363 symbol_conf.use_callchain = true; in parse_callchain_opt()
384 symbol_conf.use_callchain = false; in parse_callchain_opt()
424 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name,
426 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name,
429 OPT_BOOLEAN('m', "modules", &symbol_conf.use_modules,
[all …]
Dbuiltin-diff.c185 OPT_BOOLEAN('m', "modules", &symbol_conf.use_modules,
187 OPT_STRING('d', "dsos", &symbol_conf.dso_list_str, "dso[,dso...]",
189 OPT_STRING('C', "comms", &symbol_conf.comm_list_str, "comm[,comm...]",
191 OPT_STRING('S', "symbols", &symbol_conf.sym_list_str, "symbol[,symbol...]",
195 OPT_STRING('t', "field-separator", &symbol_conf.field_sep, "separator",
198 OPT_STRING(0, "symfs", &symbol_conf.symfs, "directory",
215 } else if (symbol_conf.default_guest_vmlinux_name || in cmd_diff()
216 symbol_conf.default_guest_kallsyms) { in cmd_diff()
221 symbol_conf.exclude_other = false; in cmd_diff()
228 sort_entry__setup_elide(&sort_dso, symbol_conf.dso_list, "dso", NULL); in cmd_diff()
[all …]
Dbuiltin-annotate.c244 OPT_STRING('d', "dsos", &symbol_conf.dso_list_str, "dso[,dso...]",
255 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name,
257 OPT_BOOLEAN('m', "modules", &symbol_conf.use_modules,
264 OPT_STRING(0, "symfs", &symbol_conf.symfs, "directory",
281 symbol_conf.priv_size = sizeof(struct annotation); in cmd_annotate()
282 symbol_conf.try_vmlinux_path = true; in cmd_annotate()
Dbuiltin-kvm.c46 OPT_STRING(0, "guestmount", &symbol_conf.guestmount, "directory",
49 OPT_STRING(0, "guestvmlinux", &symbol_conf.default_guest_vmlinux_name,
51 OPT_STRING(0, "guestkallsyms", &symbol_conf.default_guest_kallsyms,
53 OPT_STRING(0, "guestmodules", &symbol_conf.default_guest_modules,
Dbuiltin-probe.c240 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name,
242 OPT_STRING('s', "source", &symbol_conf.source_prefix,
288 symbol_conf.try_vmlinux_path = (symbol_conf.vmlinux_name == NULL); in cmd_probe()
Dbuiltin-script.c167 symbol_conf.use_callchain = false; in perf_evsel__check_attr()
233 else if (PRINT_FIELD(SYM) && symbol_conf.use_callchain) in print_sample_start()
292 if (!symbol_conf.use_callchain) in process_event()
979 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name,
981 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name,
985 OPT_STRING(0, "symfs", &symbol_conf.symfs, "directory",
1171 symbol_conf.use_callchain = true; in cmd_script()
1173 symbol_conf.use_callchain = false; in cmd_script()
Dbuiltin-top.c768 symbol_conf.kptr_restrict && in perf_event__process_sample()
797 if (symbol_conf.vmlinux_name) { in perf_event__process_sample()
799 symbol_conf.vmlinux_name, msg); in perf_event__process_sample()
1034 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name,
1151 symbol_conf.priv_size = (sizeof(struct sym_entry) + sizeof(struct annotation) + in cmd_top()
1154 symbol_conf.try_vmlinux_path = (symbol_conf.vmlinux_name == NULL); in cmd_top()
Dbuiltin-test.c670 symbol_conf.priv_size = sizeof(int); in cmd_test()
671 symbol_conf.sort_by_name = true; in cmd_test()
672 symbol_conf.try_vmlinux_path = true; in cmd_test()
Dandroid.patch123 + OPT_STRING(0, "symfs", &symbol_conf.symfs, "directory",
1215 if (symbol_conf.initialized)
1220 + symbol_conf.priv_size = KERNEL_ALIGN(symbol_conf.priv_size, sizeof(u64));
1222 symbol_conf.priv_size = ALIGN(symbol_conf.priv_size, sizeof(u64));
1227 if (symbol_conf.sort_by_name)
Dbuiltin-record.c838 if (symbol_conf.kptr_restrict) in cmd_record()
Dbuiltin-timechart.c1105 OPT_STRING(0, "symfs", &symbol_conf.symfs, "directory",
/external/linux-tools-perf/util/
Dsymbol.c51 struct symbol_conf symbol_conf = { variable
150 struct symbol *sym = calloc(1, (symbol_conf.priv_size + in symbol__new()
155 if (symbol_conf.priv_size) in symbol__new()
156 sym = ((void *)sym) + symbol_conf.priv_size; in symbol__new()
172 free(((void *)sym) - symbol_conf.priv_size); in symbol__delete()
587 if (!symbol_conf.use_modules) in dso__split_kallsyms()
690 if (symbol_conf.kptr_restrict) { in symbol__restricted_filename()
904 symbol_conf.symfs, dso->long_name); in dso__synthesize_plt_symbols()
1533 if (symbol_conf.symfs[0] || in dso__load()
1540 symbol_conf.symfs, dso->long_name); in dso__load()
[all …]
Dhist.c57 !symbol_conf.col_width_list_str && !symbol_conf.field_sep && in hists__calc_col_len()
58 !symbol_conf.dso_list) in hists__calc_col_len()
100 size_t callchain_size = symbol_conf.use_callchain ? sizeof(struct callchain_root) : 0; in hist_entry__new()
108 if (symbol_conf.use_callchain) in hist_entry__new()
125 if (symbol_conf.exclude_other && parent == NULL) in symbol__parent_filter()
241 if (symbol_conf.use_callchain) { in hists__collapse_insert_entry()
299 if (symbol_conf.use_callchain) in __hists__insert_output_entry()
604 const char *sep = symbol_conf.field_sep; in hist_entry__snprintf()
607 if (symbol_conf.exclude_other && !self->parent) in hist_entry__snprintf()
636 if (symbol_conf.show_cpu_utilization) { in hist_entry__snprintf()
[all …]
Dsymbol.h82 struct symbol_conf { struct
111 extern struct symbol_conf symbol_conf; argument
115 return ((void *)sym) - symbol_conf.priv_size; in symbol__priv()
Devent.c425 filename = (char *) symbol_conf.default_guest_kallsyms; in perf_event__synthesize_kernel_mmap()
788 if (symbol_conf.comm_list && in perf_event__preprocess_sample()
789 !strlist__has_entry(symbol_conf.comm_list, thread->comm)) in perf_event__preprocess_sample()
813 if (symbol_conf.dso_list && in perf_event__preprocess_sample()
815 !(strlist__has_entry(symbol_conf.dso_list, in perf_event__preprocess_sample()
818 strlist__has_entry(symbol_conf.dso_list, in perf_event__preprocess_sample()
825 if (symbol_conf.sym_list && al->sym && in perf_event__preprocess_sample()
826 !strlist__has_entry(symbol_conf.sym_list, al->sym->name)) in perf_event__preprocess_sample()
Dtop.h32 return ((void *)self) + symbol_conf.priv_size; in sym_entry__symbol()
Dannotate.c278 symbol_conf.symfs, filename); in symbol__annotate()
300 symbol_conf.symfs, filename); in symbol__annotate()
440 sprintf(cmd, "arm-eabi-addr2line -e %s%s %016" PRIx64, symbol_conf.symfs, in symbol__get_source_line()
Dprobe-event.c83 symbol_conf.sort_by_name = true; in init_vmlinux()
84 if (symbol_conf.vmlinux_name == NULL) in init_vmlinux()
85 symbol_conf.try_vmlinux_path = true; in init_vmlinux()
87 pr_debug("Use vmlinux: %s\n", symbol_conf.vmlinux_name); in init_vmlinux()
152 vmlinux_name = symbol_conf.vmlinux_name; in kernel_get_module_dso()
270 const char *prefix = symbol_conf.source_prefix; in get_real_path()
295 if (!symbol_conf.source_prefix) in get_real_path()
Dmap.c647 if (!symbol_conf.guestmount) in machines__findnew()
649 sprintf(path, "%s/%d", symbol_conf.guestmount, pid); in machines__findnew()
Dsession.c280 if (!symbol_conf.use_callchain) in perf_session__resolve_callchain()
1233 if (symbol_conf.use_callchain && sample->callchain) { in perf_session__print_symbols()
Dheader.c223 if (symbol_conf.kptr_restrict) { in build_id_cache__add_s()
/external/linux-tools-perf/util/ui/browsers/
Dhists.c545 if (symbol_conf.use_callchain) { in hist_browser__show_entry()
567 if (symbol_conf.use_callchain) { in hist_browser__show_entry()