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 bool nanosecs; 12 unsigned short priv_size; 13 bool try_vmlinux_path, 14 init_annotation, 15 force, 16 ignore_vmlinux, 17 ignore_vmlinux_buildid, 18 show_kernel_path, 19 use_modules, 20 allow_aliases, 21 sort_by_name, 22 show_nr_samples, 23 show_total_period, 24 use_callchain, 25 cumulate_callchain, 26 show_branchflag_count, 27 exclude_other, 28 show_cpu_utilization, 29 initialized, 30 kptr_restrict, 31 event_group, 32 demangle, 33 demangle_kernel, 34 filter_relative, 35 show_hist_headers, 36 has_filter, 37 show_ref_callgraph, 38 hide_unresolved, 39 raw_trace, 40 report_hierarchy, 41 report_block, 42 report_individual_block, 43 inline_name, 44 disable_add2line_warn, 45 buildid_mmap2, 46 guest_code; 47 const char *vmlinux_name, 48 *kallsyms_name, 49 *source_prefix, 50 *field_sep, 51 *graph_function; 52 const char *default_guest_vmlinux_name, 53 *default_guest_kallsyms, 54 *default_guest_modules; 55 const char *guestmount; 56 const char *dso_list_str, 57 *comm_list_str, 58 *pid_list_str, 59 *tid_list_str, 60 *sym_list_str, 61 *col_width_list_str, 62 *bt_stop_list_str; 63 char *addr2line_path; 64 unsigned long time_quantum; 65 struct strlist *dso_list, 66 *comm_list, 67 *sym_list, 68 *dso_from_list, 69 *dso_to_list, 70 *sym_from_list, 71 *sym_to_list, 72 *bt_stop_list; 73 struct intlist *pid_list, 74 *tid_list, 75 *addr_list; 76 const char *symfs; 77 int res_sample; 78 int pad_output_len_dso; 79 int group_sort_idx; 80 int addr_range; 81 }; 82 83 extern struct symbol_conf symbol_conf; 84 85 #endif // __PERF_SYMBOL_CONF 86