Commit | Line | Data |
---|---|---|
fb198a11 JG |
1 | /* |
2 | * Copyright (C) 2014 - Jérémie Galarneau <jeremie.galarneau@efficios.com> | |
3 | * | |
4 | * This program is free software; you can redistribute it and/or modify it | |
5 | * under the terms of the GNU General Public License, version 2 only, as | |
6 | * published by the Free Software Foundation. | |
7 | * | |
8 | * This program is distributed in the hope that it will be useful, but WITHOUT | |
9 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
10 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
11 | * more details. | |
12 | * | |
13 | * You should have received a copy of the GNU General Public License along with | |
14 | * this program; if not, write to the Free Software Foundation, Inc., 51 | |
15 | * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | |
16 | */ | |
17 | ||
18 | #ifndef CONFIG_SESSION_INTERNAL_H | |
19 | #define CONFIG_SESSION_INTERNAL_H | |
20 | ||
4965f956 JG |
21 | extern const char * const config_element_channel; |
22 | extern const char * const config_element_channels; | |
23 | extern const char * const config_element_domain; | |
24 | extern const char * const config_element_domains; | |
25 | extern const char * const config_element_event; | |
26 | extern const char * const config_element_events; | |
27 | extern const char * const config_element_context; | |
28 | extern const char * const config_element_contexts; | |
29 | extern const char * const config_element_attributes; | |
30 | extern const char * const config_element_exclusion; | |
31 | extern const char * const config_element_exclusions; | |
32 | extern const char * const config_element_function_attributes; | |
33 | extern const char * const config_element_probe_attributes; | |
34 | extern const char * const config_element_symbol_name; | |
35 | extern const char * const config_element_address; | |
36 | extern const char * const config_element_offset; | |
c1e83fb4 FD |
37 | extern const char * const config_element_userspace_probe_lookup; |
38 | extern const char * const config_element_userspace_probe_lookup_function_default; | |
39 | extern const char * const config_element_userspace_probe_lookup_function_elf; | |
40 | extern const char * const config_element_userspace_probe_lookup_tracepoint_sdt; | |
41 | extern const char * const config_element_userspace_probe_location_binary_path; | |
42 | extern const char * const config_element_userspace_probe_function_attributes; | |
43 | extern const char * const config_element_userspace_probe_function_location_function_name; | |
44 | extern const char * const config_element_userspace_probe_tracepoint_attributes; | |
45 | extern const char * const config_element_userspace_probe_tracepoint_location_provider_name; | |
46 | extern const char * const config_element_userspace_probe_tracepoint_location_probe_name; | |
4965f956 JG |
47 | extern const char * const config_element_name; |
48 | extern const char * const config_element_enabled; | |
49 | extern const char * const config_element_overwrite_mode; | |
50 | extern const char * const config_element_subbuf_size; | |
51 | extern const char * const config_element_num_subbuf; | |
52 | extern const char * const config_element_switch_timer_interval; | |
53 | extern const char * const config_element_read_timer_interval; | |
cf0bcb51 | 54 | extern const char * const config_element_monitor_timer_interval; |
491d1539 | 55 | extern const char * const config_element_blocking_timeout; |
4965f956 JG |
56 | extern const char * const config_element_output; |
57 | extern const char * const config_element_output_type; | |
58 | extern const char * const config_element_tracefile_size; | |
59 | extern const char * const config_element_tracefile_count; | |
60 | extern const char * const config_element_live_timer_interval; | |
fb83fe64 JD |
61 | extern const char * const config_element_discarded_events; |
62 | extern const char * const config_element_lost_packets; | |
4965f956 JG |
63 | extern const char * const config_element_type; |
64 | extern const char * const config_element_buffer_type; | |
65 | extern const char * const config_element_session; | |
66 | extern const char * const config_element_sessions; | |
045fc617 JG |
67 | extern const char * const config_element_context_perf; |
68 | extern const char * const config_element_context_app; | |
69 | extern const char * const config_element_context_app_provider_name; | |
70 | extern const char * const config_element_context_app_ctx_name; | |
4965f956 JG |
71 | extern const char * const config_element_config; |
72 | extern const char * const config_element_started; | |
73 | extern const char * const config_element_snapshot_mode; | |
74 | extern const char * const config_element_loglevel; | |
75 | extern const char * const config_element_loglevel_type; | |
76 | extern const char * const config_element_filter; | |
7b4aa11d | 77 | extern const char * const config_element_filter_expression; |
4965f956 JG |
78 | extern const char * const config_element_snapshot_outputs; |
79 | extern const char * const config_element_consumer_output; | |
80 | extern const char * const config_element_destination; | |
81 | extern const char * const config_element_path; | |
82 | extern const char * const config_element_net_output; | |
83 | extern const char * const config_element_control_uri; | |
84 | extern const char * const config_element_data_uri; | |
85 | extern const char * const config_element_max_size; | |
86 | extern const char * const config_element_pid; | |
87 | extern const char * const config_element_pids; | |
9e7c9f56 | 88 | extern const char * const config_element_shared_memory_path; |
ebbf5ab7 JR |
89 | extern const char * const config_element_pid_tracker; |
90 | extern const char * const config_element_trackers; | |
847a5916 JR |
91 | extern const char * const config_element_targets; |
92 | extern const char * const config_element_target_pid; | |
259c2674 | 93 | extern const char * const config_element_rotation_timer_interval; |
329f3443 | 94 | extern const char * const config_element_rotation_size; |
259c2674 | 95 | extern const char * const config_element_rotation_schedule; |
fb198a11 | 96 | |
4965f956 JG |
97 | extern const char * const config_domain_type_kernel; |
98 | extern const char * const config_domain_type_ust; | |
99 | extern const char * const config_domain_type_jul; | |
100 | extern const char * const config_domain_type_log4j; | |
b789735e | 101 | extern const char * const config_domain_type_python; |
fb198a11 | 102 | |
4965f956 JG |
103 | extern const char * const config_buffer_type_per_pid; |
104 | extern const char * const config_buffer_type_per_uid; | |
105 | extern const char * const config_buffer_type_global; | |
fb198a11 | 106 | |
4965f956 JG |
107 | extern const char * const config_overwrite_mode_discard; |
108 | extern const char * const config_overwrite_mode_overwrite; | |
fb198a11 | 109 | |
4965f956 JG |
110 | extern const char * const config_output_type_splice; |
111 | extern const char * const config_output_type_mmap; | |
fb198a11 | 112 | |
4965f956 JG |
113 | extern const char * const config_loglevel_type_all; |
114 | extern const char * const config_loglevel_type_range; | |
115 | extern const char * const config_loglevel_type_single; | |
fb198a11 | 116 | |
4965f956 JG |
117 | extern const char * const config_event_type_all; |
118 | extern const char * const config_event_type_tracepoint; | |
119 | extern const char * const config_event_type_probe; | |
c1e83fb4 | 120 | extern const char * const config_event_type_userspace_probe; |
4965f956 JG |
121 | extern const char * const config_event_type_function; |
122 | extern const char * const config_event_type_function_entry; | |
123 | extern const char * const config_event_type_noop; | |
124 | extern const char * const config_event_type_syscall; | |
125 | extern const char * const config_event_type_kprobe; | |
126 | extern const char * const config_event_type_kretprobe; | |
fb198a11 | 127 | |
4965f956 JG |
128 | extern const char * const config_event_context_pid; |
129 | extern const char * const config_event_context_procname; | |
130 | extern const char * const config_event_context_prio; | |
131 | extern const char * const config_event_context_nice; | |
132 | extern const char * const config_event_context_vpid; | |
133 | extern const char * const config_event_context_tid; | |
134 | extern const char * const config_event_context_vtid; | |
135 | extern const char * const config_event_context_ppid; | |
136 | extern const char * const config_event_context_vppid; | |
137 | extern const char * const config_event_context_pthread_id; | |
138 | extern const char * const config_event_context_hostname; | |
139 | extern const char * const config_event_context_ip; | |
140 | extern const char * const config_event_context_perf_thread_counter; | |
045fc617 | 141 | extern const char * const config_event_context_app; |
1ae5e83e JD |
142 | extern const char * const config_event_context_interruptible; |
143 | extern const char * const config_event_context_preemptible; | |
144 | extern const char * const config_event_context_need_reschedule; | |
145 | extern const char * const config_event_context_migratable; | |
16c4c991 FD |
146 | extern const char * const config_event_context_callstack_user; |
147 | extern const char * const config_event_context_callstack_kernel; | |
fb198a11 | 148 | |
ce6176f2 JG |
149 | extern const char * const config_element_rotation_schedules; |
150 | extern const char * const config_element_rotation_schedule_periodic; | |
151 | extern const char * const config_element_rotation_schedule_periodic_time_us; | |
152 | extern const char * const config_element_rotation_schedule_size_threshold; | |
153 | extern const char * const config_element_rotation_schedule_size_threshold_bytes; | |
40e14884 MJ |
154 | extern const char * const config_event_context_cgroup_ns; |
155 | extern const char * const config_event_context_ipc_ns; | |
156 | extern const char * const config_event_context_mnt_ns; | |
157 | extern const char * const config_event_context_net_ns; | |
158 | extern const char * const config_event_context_pid_ns; | |
159 | extern const char * const config_event_context_user_ns; | |
160 | extern const char * const config_event_context_uts_ns; | |
499cbfa1 MJ |
161 | extern const char * const config_event_context_uid; |
162 | extern const char * const config_event_context_euid; | |
163 | extern const char * const config_event_context_suid; | |
164 | extern const char * const config_event_context_gid; | |
165 | extern const char * const config_event_context_egid; | |
166 | extern const char * const config_event_context_sgid; | |
167 | extern const char * const config_event_context_vuid; | |
168 | extern const char * const config_event_context_veuid; | |
169 | extern const char * const config_event_context_vsuid; | |
170 | extern const char * const config_event_context_vgid; | |
171 | extern const char * const config_event_context_vegid; | |
172 | extern const char * const config_event_context_vsgid; | |
ce6176f2 | 173 | |
fb198a11 | 174 | #endif /* CONFIG_SESSION_INTERNAL_H */ |