Home
last modified time | relevance | path

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

12

/tools/perf/
Dbuiltin-report.c74 symbol_conf.event_group = perf_config_bool(var, value); in report__config()
85 symbol_conf.cumulate_callchain = perf_config_bool(var, value); in report__config()
133 } else if (symbol_conf.cumulate_callchain) { in hist_iter__report_callback()
156 .hide_unresolved = symbol_conf.hide_unresolved, in process_sample_event()
167 if (symbol_conf.hide_unresolved && al.sym == NULL) in process_sample_event()
183 } else if (symbol_conf.cumulate_callchain) { in process_sample_event()
247 if (symbol_conf.use_callchain) { in report__setup_sample_type()
255 !symbol_conf.use_callchain) { in report__setup_sample_type()
256 symbol_conf.use_callchain = true; in report__setup_sample_type()
263 if (symbol_conf.cumulate_callchain) { in report__setup_sample_type()
[all …]
Dbuiltin-top.c308 top->min_percent, stdout, symbol_conf.use_callchain); in perf_top__print_sym_table()
718 symbol_conf.kptr_restrict && in perf_event__process_sample()
747 if (symbol_conf.vmlinux_name) { in perf_event__process_sample()
751 symbol_conf.vmlinux_name, serr, msg); in perf_event__process_sample()
771 if (symbol_conf.cumulate_callchain) in perf_event__process_sample()
1038 symbol_conf.use_callchain = true; in callchain_opt()
1054 symbol_conf.use_callchain = false; in parse_callchain_opt()
1067 symbol_conf.cumulate_callchain = perf_config_bool(var, value); in perf_top_config()
1121 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_top()
1123 OPT_BOOLEAN(0, "ignore-vmlinux", &symbol_conf.ignore_vmlinux, in cmd_top()
[all …]
Dbuiltin-mem.c159 if (symbol_conf.field_sep) { in dump_raw_samples()
165 symbol_conf.field_sep = " "; in dump_raw_samples()
170 symbol_conf.field_sep, in dump_raw_samples()
172 symbol_conf.field_sep, in dump_raw_samples()
174 symbol_conf.field_sep, in dump_raw_samples()
176 symbol_conf.field_sep, in dump_raw_samples()
178 symbol_conf.field_sep, in dump_raw_samples()
180 symbol_conf.field_sep, in dump_raw_samples()
365 OPT_STRING_NOEMPTY('x', "field-separator", &symbol_conf.field_sep, in cmd_mem()
Dbuiltin-annotate.c352 if (symbol_conf.event_group && in __cmd_annotate()
406 OPT_STRING('d', "dsos", &symbol_conf.dso_list_str, "dso[,dso...]", in cmd_annotate()
418 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_annotate()
420 OPT_BOOLEAN('m', "modules", &symbol_conf.use_modules, in cmd_annotate()
432 OPT_BOOLEAN(0, "source", &symbol_conf.annotate_src, in cmd_annotate()
434 OPT_BOOLEAN(0, "asm-raw", &symbol_conf.annotate_asm_raw, in cmd_annotate()
440 OPT_BOOLEAN(0, "group", &symbol_conf.event_group, in cmd_annotate()
442 OPT_BOOLEAN(0, "show-total-period", &symbol_conf.show_total_period, in cmd_annotate()
476 symbol_conf.try_vmlinux_path = true; in cmd_annotate()
Dbuiltin-probe.c528 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in __cmd_probe()
530 OPT_STRING('s', "source", &symbol_conf.source_prefix, in __cmd_probe()
550 OPT_BOOLEAN(0, "demangle", &symbol_conf.demangle, in __cmd_probe()
552 OPT_BOOLEAN(0, "demangle-kernel", &symbol_conf.demangle_kernel, in __cmd_probe()
612 symbol_conf.try_vmlinux_path = (symbol_conf.vmlinux_name == NULL); in __cmd_probe()
619 if (!strchr("lda", params.command) && symbol_conf.vmlinux_name) in __cmd_probe()
620 symbol_conf.ignore_vmlinux_buildid = true; in __cmd_probe()
Dbuiltin-diff.c265 if (symbol_conf.filter_relative) { in formula_delta()
660 symbol_conf.use_callchain); in hists__process()
788 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name,
790 OPT_BOOLEAN('m', "modules", &symbol_conf.use_modules,
792 OPT_STRING('d', "dsos", &symbol_conf.dso_list_str, "dso[,dso...]",
794 OPT_STRING('C', "comms", &symbol_conf.comm_list_str, "comm[,comm...]",
796 OPT_STRING('S', "symbols", &symbol_conf.sym_list_str, "symbol[,symbol...]",
801 OPT_STRING_NOEMPTY('t', "field-separator", &symbol_conf.field_sep, "separator",
840 const char *fmt = symbol_conf.field_sep ? "%.2f" : "%6.2f%%"; in hpp__entry_baseline()
1028 if (symbol_conf.field_sep) in hpp__entry_global()
Dbuiltin-script.c385 symbol_conf.use_callchain = false; in perf_session__check_output_opt()
392 if (symbol_conf.use_callchain && in perf_session__check_output_opt()
446 else if (PRINT_FIELD(IP) && symbol_conf.use_callchain) in print_sample_start()
643 if (symbol_conf.use_callchain && sample->callchain && in print_sample_bts()
895 if (symbol_conf.use_callchain && sample->callchain && in process_event()
1961 if (symbol_conf.use_callchain || symbol_conf.cumulate_callchain) { in script__setup_sample_type()
2113 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_script()
2115 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name, in cmd_script()
2130 OPT_STRING('S', "symbols", &symbol_conf.sym_list_str, "symbol[,symbol...]", in cmd_script()
2133 OPT_STRING('c', "comms", &symbol_conf.comm_list_str, "comm[,comm...]", in cmd_script()
[all …]
Dbuiltin-kvm.c1405 symbol_conf.nr_events = kvm->evlist->nr_entries; in kvm_events_live()
1549 OPT_STRING(0, "guestmount", &symbol_conf.guestmount, "directory", in cmd_kvm()
1552 OPT_STRING(0, "guestvmlinux", &symbol_conf.default_guest_vmlinux_name, in cmd_kvm()
1554 OPT_STRING(0, "guestkallsyms", &symbol_conf.default_guest_kallsyms, in cmd_kvm()
1556 OPT_STRING(0, "guestmodules", &symbol_conf.default_guest_modules, in cmd_kvm()
/tools/perf/util/
Dsymbol.c34 struct symbol_conf symbol_conf = { variable
156 if (symbol_conf.allow_aliases) in symbols__fixup_duplicate()
237 struct symbol *sym = calloc(1, (symbol_conf.priv_size + in symbol__new()
242 if (symbol_conf.priv_size) { in symbol__new()
243 if (symbol_conf.init_annotation) { in symbol__new()
247 sym = ((void *)sym) + symbol_conf.priv_size; in symbol__new()
264 free(((void *)sym) - symbol_conf.priv_size); in symbol__delete()
722 if (!symbol_conf.use_modules) in dso__split_kallsyms()
835 if (symbol_conf.kptr_restrict) { in symbol__restricted_filename()
1433 if (!symbol_conf.force && st.st_uid && (st.st_uid != geteuid())) { in dso__load()
[all …]
Dthread.h109 if (symbol_conf.comm_list && in thread__is_filtered()
110 !strlist__has_entry(symbol_conf.comm_list, thread__comm_str(thread))) { in thread__is_filtered()
114 if (symbol_conf.pid_list && in thread__is_filtered()
115 !intlist__has_entry(symbol_conf.pid_list, thread->pid_)) { in thread__is_filtered()
119 if (symbol_conf.tid_list && in thread__is_filtered()
120 !intlist__has_entry(symbol_conf.tid_list, thread->tid)) { in thread__is_filtered()
Dhist.c54 !symbol_conf.col_width_list_str && !symbol_conf.field_sep && in hists__set_unres_dso_col_len()
55 !symbol_conf.dso_list) in hists__set_unres_dso_col_len()
272 if (symbol_conf.cumulate_callchain) in hists__decay_entry()
364 if (symbol_conf.cumulate_callchain) { in hist_entry__init()
400 if (symbol_conf.use_callchain) in hist_entry__init()
426 if (!symbol_conf.report_hierarchy) in hist_entry__init()
458 if (symbol_conf.use_callchain) in hist_entry__new()
475 if (symbol_conf.exclude_other && parent == NULL) in symbol__parent_filter()
482 if (!symbol_conf.use_callchain) in hist_entry__add_callchain_period()
521 if (symbol_conf.cumulate_callchain) in hists__findnew_entry()
[all …]
Dsymbol.h87 struct symbol_conf { struct
146 extern struct symbol_conf symbol_conf; argument
155 return path__join(bf, size, symbol_conf.symfs, path); in __symbol__join_symfs()
165 return ((void *)sym) - symbol_conf.priv_size; in symbol__priv()
Dmachine.c238 (symbol_conf.guestmount)) { in machines__findnew()
239 sprintf(path, "%s/%d", symbol_conf.guestmount, pid); in machines__findnew()
694 vmlinux_name = symbol_conf.vmlinux_name; in machine__get_kernel()
704 vmlinux_name = symbol_conf.default_guest_vmlinux_name; in machine__get_kernel()
728 scnprintf(buf, bufsz, "%s", symbol_conf.default_guest_kallsyms); in machine__get_kallsyms_filename()
834 if (symbol_conf.default_guest_vmlinux_name || in machines__create_guest_kernel_maps()
835 symbol_conf.default_guest_modules || in machines__create_guest_kernel_maps()
836 symbol_conf.default_guest_kallsyms) { in machines__create_guest_kernel_maps()
840 if (symbol_conf.guestmount) { in machines__create_guest_kernel_maps()
841 items = scandir(symbol_conf.guestmount, &namelist, NULL, NULL); in machines__create_guest_kernel_maps()
[all …]
Dcallchain.c113 symbol_conf.use_callchain = true; in __parse_callchain_report_opt()
122 symbol_conf.use_callchain = false; in __parse_callchain_report_opt()
802 if (symbol_conf.use_callchain || symbol_conf.cumulate_callchain || in sample__resolve_callchain()
812 if (!symbol_conf.use_callchain || sample->callchain == NULL) in hist_entry__append_callchain()
974 if (!symbol_conf.use_callchain) in free_callchain()
1002 if (!symbol_conf.use_callchain) in decay_callchain()
Dsort.c42 if (symbol_conf.field_sep && n > 0) { in repsep_snprintf()
46 sep = strchr(sep, *symbol_conf.field_sep); in repsep_snprintf()
585 if (symbol_conf.raw_trace) { in get_trace_output()
2179 bool raw_trace = symbol_conf.raw_trace; in add_dynamic_entry()
2486 if (symbol_conf.raw_trace) in get_default_sort_order()
2548 if (symbol_conf.cumulate_callchain) in setup_overhead()
2632 return __get_elide(symbol_conf.sym_list, "symbol", output); in get_elide()
2634 return __get_elide(symbol_conf.dso_list, "dso", output); in get_elide()
2636 return __get_elide(symbol_conf.comm_list, "comm", output); in get_elide()
2646 return __get_elide(symbol_conf.sym_from_list, "sym_from", output); in get_elide()
[all …]
Dannotate.h145 return (void *)sym - symbol_conf.priv_size; in symbol__annotation()
Devent.c685 if (symbol_conf.kptr_restrict) in perf_event__synthesize_kernel_mmap()
1361 if (symbol_conf.dso_list && in machine__resolve()
1362 (!dso || !(strlist__has_entry(symbol_conf.dso_list, in machine__resolve()
1365 strlist__has_entry(symbol_conf.dso_list, in machine__resolve()
1373 if (symbol_conf.sym_list && in machine__resolve()
1374 (!al->sym || !strlist__has_entry(symbol_conf.sym_list, in machine__resolve()
Dsort.h172 if (symbol_conf.cumulate_callchain) in hist_entry__get_percent_limit()
Dannotate.c509 / symbol_conf.nr_events) in symbol__alloc_hist()
512 notes->src = zalloc(sizeof(*notes->src) + symbol_conf.nr_events * sizeof_sym_hist); in symbol__alloc_hist()
516 notes->src->nr_histograms = symbol_conf.nr_events; in symbol__alloc_hist()
1029 if (symbol_conf.show_total_period) in disasm_line__print()
1366 symbol_conf.annotate_asm_raw ? "" : "--no-show-raw", in symbol__disassemble()
1367 symbol_conf.annotate_src ? "-S" : "", in symbol__disassemble()
/tools/perf/tests/
Dhists_cumulate.c90 if (symbol_conf.cumulate_callchain) in add_hist_entries()
193 symbol_conf.use_callchain, in do_test()
194 symbol_conf.cumulate_callchain); in do_test()
211 if (symbol_conf.cumulate_callchain) in do_test()
214 if (!symbol_conf.use_callchain) in do_test()
241 !symbol_conf.use_callchain || nr_expected == nr_callchain); in do_test()
277 symbol_conf.use_callchain = false; in test1()
278 symbol_conf.cumulate_callchain = false; in test1()
424 symbol_conf.use_callchain = true; in test2()
425 symbol_conf.cumulate_callchain = false; in test2()
[all …]
Dbuiltin-test.c468 symbol_conf.priv_size = sizeof(int); in cmd_test()
469 symbol_conf.sort_by_name = true; in cmd_test()
470 symbol_conf.try_vmlinux_path = true; in cmd_test()
/tools/perf/ui/stdio/
Dhist.c294 const char *sep = symbol_conf.field_sep ?: ";"; in __callchain__fprintf_folded()
349 if (symbol_conf.cumulate_callchain) in hist_entry_callchain__fprintf()
379 const char *sep = symbol_conf.field_sep; in __hist_entry__snprintf()
385 if (symbol_conf.exclude_other && !he->parent) in __hist_entry__snprintf()
424 const char *sep = symbol_conf.field_sep; in hist_entry__hierarchy_fprintf()
432 if (symbol_conf.exclude_other && !he->parent) in hist_entry__hierarchy_fprintf()
489 if (symbol_conf.use_callchain && he->leaf) { in hist_entry__hierarchy_fprintf()
515 if (symbol_conf.report_hierarchy) in hist_entry__fprintf()
547 const char *sep = symbol_conf.field_sep; in hists__fprintf_hierarchy_headers()
637 const char *sep = symbol_conf.field_sep; in fprintf_line()
[all …]
/tools/perf/ui/
Dhist.c114 if (symbol_conf.field_sep) { in hpp__fmt()
131 if (!symbol_conf.cumulate_callchain) { in hpp__fmt_acc()
158 if (ret || !symbol_conf.event_group) in __hpp__sort()
200 if (symbol_conf.cumulate_callchain) { in __hpp__sort_acc()
208 if (a->thread != b->thread || !symbol_conf.use_callchain) in __hpp__sort_acc()
223 if (symbol_conf.event_group) in hpp__width_fn()
488 if (symbol_conf.cumulate_callchain) { in perf_hpp__init()
495 if (symbol_conf.show_cpu_utilization) { in perf_hpp__init()
505 if (symbol_conf.show_nr_samples) in perf_hpp__init()
508 if (symbol_conf.show_total_period) in perf_hpp__init()
[all …]
/tools/perf/ui/gtk/
Dhists.c179 first ? "" : symbol_conf.field_sep ?: "; ", in perf_gtk__add_callchain_folded()
195 first ? "" : symbol_conf.field_sep ?: "; ", in perf_gtk__add_callchain_folded()
382 if (symbol_conf.use_callchain && hists__has(hists, sym)) { in perf_gtk__show_hists()
384 total = symbol_conf.cumulate_callchain ? in perf_gtk__show_hists()
479 if (symbol_conf.use_callchain && he->leaf) { in perf_gtk__add_hierarchy_entries()
481 total = symbol_conf.cumulate_callchain ? in perf_gtk__add_hierarchy_entries()
638 if (symbol_conf.event_group) { in perf_evlist__gtk_browse_hists()
654 if (symbol_conf.report_hierarchy) in perf_evlist__gtk_browse_hists()
/tools/perf/ui/browsers/
Dhists.c33 return hists__has_filter(hb->hists) || hb->min_pcnt || symbol_conf.has_filter; in hist_browser__has_filter()
58 if (symbol_conf.report_hierarchy) in hist_browser__nr_entries()
391 if (symbol_conf.report_hierarchy) in hist_browser__toggle_fold()
401 if (symbol_conf.report_hierarchy) in hist_browser__toggle_fold()
409 if (symbol_conf.report_hierarchy) in hist_browser__toggle_fold()
605 symbol_conf.report_hierarchy) in hist_browser__run()
874 symbol_conf.field_sep ?: ";", str) < 0) in hist_browser__folded_callchain_str()
1050 if (symbol_conf.cumulate_callchain) in hist_browser__show_callchain()
1130 if (!symbol_conf.cumulate_callchain) { \
1186 if (symbol_conf.use_callchain) { in hist_browser__show_entry()
[all …]

12