xref: /linux/tools/perf/util/symbol_conf.h (revision 3bdab16c55f57a24245c97d707241dd9b48d1a91)
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 			branch_callstack,
37 			has_filter,
38 			show_ref_callgraph,
39 			hide_unresolved,
40 			raw_trace,
41 			report_hierarchy,
42 			inline_name;
43 	const char	*vmlinux_name,
44 			*kallsyms_name,
45 			*source_prefix,
46 			*field_sep,
47 			*graph_function;
48 	const char	*default_guest_vmlinux_name,
49 			*default_guest_kallsyms,
50 			*default_guest_modules;
51 	const char	*guestmount;
52 	const char	*dso_list_str,
53 			*comm_list_str,
54 			*pid_list_str,
55 			*tid_list_str,
56 			*sym_list_str,
57 			*col_width_list_str,
58 			*bt_stop_list_str;
59 	unsigned long	time_quantum;
60        struct strlist	*dso_list,
61 			*comm_list,
62 			*sym_list,
63 			*dso_from_list,
64 			*dso_to_list,
65 			*sym_from_list,
66 			*sym_to_list,
67 			*bt_stop_list;
68 	struct intlist	*pid_list,
69 			*tid_list;
70 	const char	*symfs;
71 	int		res_sample;
72 };
73 
74 extern struct symbol_conf symbol_conf;
75 
76 #endif // __PERF_SYMBOL_CONF
77