1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef __PERF_SYMBOL_CONF 3 #define __PERF_SYMBOL_CONF 1 4 5 #include <stdbool.h> 6 #include <linux/bitmap.h> 7 #include "perf.h" 8 9 struct strlist; 10 struct intlist; 11 12 struct symbol_conf { 13 bool nanosecs; 14 unsigned short priv_size; 15 bool try_vmlinux_path, 16 init_annotation, 17 force, 18 ignore_vmlinux, 19 ignore_vmlinux_buildid, 20 show_kernel_path, 21 use_modules, 22 allow_aliases, 23 show_nr_samples, 24 show_total_period, 25 use_callchain, 26 cumulate_callchain, 27 show_branchflag_count, 28 exclude_other, 29 show_cpu_utilization, 30 initialized, 31 kptr_restrict, 32 event_group, 33 demangle, 34 demangle_kernel, 35 filter_relative, 36 show_hist_headers, 37 has_filter, 38 show_ref_callgraph, 39 hide_unresolved, 40 raw_trace, 41 report_hierarchy, 42 report_block, 43 report_individual_block, 44 inline_name, 45 disable_add2line_warn, 46 buildid_mmap2, 47 guest_code, 48 lazy_load_kernel_maps, 49 keep_exited_threads, 50 annotate_data_member, 51 annotate_data_sample, 52 skip_empty, 53 enable_latency, 54 prefer_latency; 55 const char *vmlinux_name, 56 *kallsyms_name, 57 *source_prefix, 58 *field_sep, 59 *graph_function; 60 const char *default_guest_vmlinux_name, 61 *default_guest_kallsyms, 62 *default_guest_modules; 63 const char *guestmount; 64 const char *dso_list_str, 65 *comm_list_str, 66 *pid_list_str, 67 *tid_list_str, 68 *sym_list_str, 69 *parallelism_list_str, 70 *col_width_list_str, 71 *bt_stop_list_str; 72 const char *addr2line_path; 73 unsigned long time_quantum; 74 struct strlist *dso_list, 75 *comm_list, 76 *sym_list, 77 *dso_from_list, 78 *dso_to_list, 79 *sym_from_list, 80 *sym_to_list, 81 *bt_stop_list; 82 struct intlist *pid_list, 83 *tid_list, 84 *addr_list; 85 const char *symfs; 86 int res_sample; 87 int pad_output_len_dso; 88 int group_sort_idx; 89 int addr_range; 90 DECLARE_BITMAP(parallelism_filter, MAX_NR_CPUS + 1); 91 }; 92 93 extern struct symbol_conf symbol_conf; 94 95 #endif // __PERF_SYMBOL_CONF 96