0001
0002 #ifndef __PERF_SYMBOL_CONF
0003 #define __PERF_SYMBOL_CONF 1
0004
0005 #include <stdbool.h>
0006
0007 struct strlist;
0008 struct intlist;
0009
0010 struct symbol_conf {
0011 bool nanosecs;
0012 unsigned short priv_size;
0013 bool try_vmlinux_path,
0014 init_annotation,
0015 force,
0016 ignore_vmlinux,
0017 ignore_vmlinux_buildid,
0018 show_kernel_path,
0019 use_modules,
0020 allow_aliases,
0021 sort_by_name,
0022 show_nr_samples,
0023 show_total_period,
0024 use_callchain,
0025 cumulate_callchain,
0026 show_branchflag_count,
0027 exclude_other,
0028 show_cpu_utilization,
0029 initialized,
0030 kptr_restrict,
0031 event_group,
0032 demangle,
0033 demangle_kernel,
0034 filter_relative,
0035 show_hist_headers,
0036 branch_callstack,
0037 has_filter,
0038 show_ref_callgraph,
0039 hide_unresolved,
0040 raw_trace,
0041 report_hierarchy,
0042 report_block,
0043 report_individual_block,
0044 inline_name,
0045 disable_add2line_warn,
0046 buildid_mmap2,
0047 guest_code;
0048 const char *vmlinux_name,
0049 *kallsyms_name,
0050 *source_prefix,
0051 *field_sep,
0052 *graph_function;
0053 const char *default_guest_vmlinux_name,
0054 *default_guest_kallsyms,
0055 *default_guest_modules;
0056 const char *guestmount;
0057 const char *dso_list_str,
0058 *comm_list_str,
0059 *pid_list_str,
0060 *tid_list_str,
0061 *sym_list_str,
0062 *col_width_list_str,
0063 *bt_stop_list_str;
0064 unsigned long time_quantum;
0065 struct strlist *dso_list,
0066 *comm_list,
0067 *sym_list,
0068 *dso_from_list,
0069 *dso_to_list,
0070 *sym_from_list,
0071 *sym_to_list,
0072 *bt_stop_list;
0073 struct intlist *pid_list,
0074 *tid_list,
0075 *addr_list;
0076 const char *symfs;
0077 int res_sample;
0078 int pad_output_len_dso;
0079 int group_sort_idx;
0080 int addr_range;
0081 };
0082
0083 extern struct symbol_conf symbol_conf;
0084
0085 #endif