1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef __PERF_SYMBOL_CONF 3 #define __PERF_SYMBOL_CONF 1 4 5 #include <stdbool.h> 6 7 struct strlist; 8 struct intlist; 9 10 struct symbol_conf { 11 unsigned short priv_size; 12 bool try_vmlinux_path, 13 init_annotation, 14 force, 15 ignore_vmlinux, 16 ignore_vmlinux_buildid, 17 show_kernel_path, 18 use_modules, 19 allow_aliases, 20 sort_by_name, 21 show_nr_samples, 22 show_total_period, 23 use_callchain, 24 cumulate_callchain, 25 show_branchflag_count, 26 exclude_other, 27 show_cpu_utilization, 28 initialized, 29 kptr_restrict, 30 event_group, 31 demangle, 32 demangle_kernel, 33 filter_relative, 34 show_hist_headers, 35 branch_callstack, 36 has_filter, 37 show_ref_callgraph, 38 hide_unresolved, 39 raw_trace, 40 report_hierarchy, 41 inline_name; 42 const char *vmlinux_name, 43 *kallsyms_name, 44 *source_prefix, 45 *field_sep, 46 *graph_function; 47 const char *default_guest_vmlinux_name, 48 *default_guest_kallsyms, 49 *default_guest_modules; 50 const char *guestmount; 51 const char *dso_list_str, 52 *comm_list_str, 53 *pid_list_str, 54 *tid_list_str, 55 *sym_list_str, 56 *col_width_list_str, 57 *bt_stop_list_str; 58 struct strlist *dso_list, 59 *comm_list, 60 *sym_list, 61 *dso_from_list, 62 *dso_to_list, 63 *sym_from_list, 64 *sym_to_list, 65 *bt_stop_list; 66 struct intlist *pid_list, 67 *tid_list; 68 const char *symfs; 69 }; 70 71 extern struct symbol_conf symbol_conf; 72 73 #endif // __PERF_SYMBOL_CONF 74