2 * Copyright (C) 2014 - Jérémie Galarneau <jeremie.galarneau@efficios.com>
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.
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
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.
18 #ifndef CONFIG_SESSION_INTERNAL_H
19 #define CONFIG_SESSION_INTERNAL_H
21 extern const char * const config_element_all
;
22 extern const char * const config_element_channel
;
23 extern const char * const config_element_channels
;
24 extern const char * const config_element_domain
;
25 extern const char * const config_element_domains
;
26 extern const char * const config_element_event
;
27 extern const char * const config_element_events
;
28 extern const char * const config_element_context
;
29 extern const char * const config_element_contexts
;
30 extern const char * const config_element_attributes
;
31 extern const char * const config_element_exclusion
;
32 extern const char * const config_element_exclusions
;
33 extern const char * const config_element_function_attributes
;
34 extern const char * const config_element_probe_attributes
;
35 extern const char * const config_element_symbol_name
;
36 extern const char * const config_element_address
;
37 extern const char * const config_element_offset
;
38 extern const char * const config_element_userspace_probe_lookup
;
39 extern const char * const config_element_userspace_probe_lookup_function_default
;
40 extern const char * const config_element_userspace_probe_lookup_function_elf
;
41 extern const char * const config_element_userspace_probe_lookup_tracepoint_sdt
;
42 extern const char * const config_element_userspace_probe_location_binary_path
;
43 extern const char * const config_element_userspace_probe_function_attributes
;
44 extern const char * const config_element_userspace_probe_function_location_function_name
;
45 extern const char * const config_element_userspace_probe_tracepoint_attributes
;
46 extern const char * const config_element_userspace_probe_tracepoint_location_provider_name
;
47 extern const char * const config_element_userspace_probe_tracepoint_location_probe_name
;
48 extern const char * const config_element_name
;
49 extern const char * const config_element_enabled
;
50 extern const char * const config_element_overwrite_mode
;
51 extern const char * const config_element_subbuf_size
;
52 extern const char * const config_element_num_subbuf
;
53 extern const char * const config_element_switch_timer_interval
;
54 extern const char * const config_element_read_timer_interval
;
55 extern const char * const config_element_monitor_timer_interval
;
56 extern const char * const config_element_blocking_timeout
;
57 extern const char * const config_element_output
;
58 extern const char * const config_element_output_type
;
59 extern const char * const config_element_tracefile_size
;
60 extern const char * const config_element_tracefile_count
;
61 extern const char * const config_element_live_timer_interval
;
62 extern const char * const config_element_discarded_events
;
63 extern const char * const config_element_lost_packets
;
64 extern const char * const config_element_type
;
65 extern const char * const config_element_buffer_type
;
66 extern const char * const config_element_session
;
67 extern const char * const config_element_sessions
;
68 extern const char * const config_element_context_perf
;
69 extern const char * const config_element_context_app
;
70 extern const char * const config_element_context_app_provider_name
;
71 extern const char * const config_element_context_app_ctx_name
;
72 extern const char * const config_element_config
;
73 extern const char * const config_element_started
;
74 extern const char * const config_element_snapshot_mode
;
75 extern const char * const config_element_loglevel
;
76 extern const char * const config_element_loglevel_type
;
77 extern const char * const config_element_filter
;
78 extern const char * const config_element_filter_expression
;
79 extern const char * const config_element_snapshot_outputs
;
80 extern const char * const config_element_consumer_output
;
81 extern const char * const config_element_destination
;
82 extern const char * const config_element_path
;
83 extern const char * const config_element_net_output
;
84 extern const char * const config_element_control_uri
;
85 extern const char * const config_element_data_uri
;
86 extern const char * const config_element_max_size
;
87 extern const char * const config_element_pid
;
88 extern const char * const config_element_id
;
89 extern const char * const config_element_pids
;
90 extern const char * const config_element_name
;
91 extern const char * const config_element_shared_memory_path
;
92 extern const char * const config_element_pid_tracker
;
93 extern const char * const config_element_vpid_tracker
;
94 extern const char * const config_element_uid_tracker
;
95 extern const char * const config_element_vuid_tracker
;
96 extern const char * const config_element_gid_tracker
;
97 extern const char * const config_element_vgid_tracker
;
98 extern const char * const config_element_trackers
;
99 extern const char * const config_element_targets
;
100 extern const char * const config_element_target_type
;
101 extern const char * const config_element_target_pid
;
102 extern const char * const config_element_target_vpid
;
103 extern const char * const config_element_target_uid
;
104 extern const char * const config_element_target_vuid
;
105 extern const char * const config_element_target_gid
;
106 extern const char * const config_element_target_vgid
;
107 extern const char * const config_element_tracker_type
;
108 extern const char * const config_element_rotation_timer_interval
;
109 extern const char * const config_element_rotation_size
;
110 extern const char * const config_element_rotation_schedule
;
112 extern const char * const config_domain_type_kernel
;
113 extern const char * const config_domain_type_ust
;
114 extern const char * const config_domain_type_jul
;
115 extern const char * const config_domain_type_log4j
;
116 extern const char * const config_domain_type_python
;
118 extern const char * const config_buffer_type_per_pid
;
119 extern const char * const config_buffer_type_per_uid
;
120 extern const char * const config_buffer_type_global
;
122 extern const char * const config_overwrite_mode_discard
;
123 extern const char * const config_overwrite_mode_overwrite
;
125 extern const char * const config_output_type_splice
;
126 extern const char * const config_output_type_mmap
;
128 extern const char * const config_loglevel_type_all
;
129 extern const char * const config_loglevel_type_range
;
130 extern const char * const config_loglevel_type_single
;
132 extern const char * const config_event_type_all
;
133 extern const char * const config_event_type_tracepoint
;
134 extern const char * const config_event_type_probe
;
135 extern const char * const config_event_type_userspace_probe
;
136 extern const char * const config_event_type_function
;
137 extern const char * const config_event_type_function_entry
;
138 extern const char * const config_event_type_noop
;
139 extern const char * const config_event_type_syscall
;
140 extern const char * const config_event_type_kprobe
;
141 extern const char * const config_event_type_kretprobe
;
143 extern const char * const config_event_context_pid
;
144 extern const char * const config_event_context_procname
;
145 extern const char * const config_event_context_prio
;
146 extern const char * const config_event_context_nice
;
147 extern const char * const config_event_context_vpid
;
148 extern const char * const config_event_context_tid
;
149 extern const char * const config_event_context_vtid
;
150 extern const char * const config_event_context_ppid
;
151 extern const char * const config_event_context_vppid
;
152 extern const char * const config_event_context_pthread_id
;
153 extern const char * const config_event_context_hostname
;
154 extern const char * const config_event_context_ip
;
155 extern const char * const config_event_context_perf_thread_counter
;
156 extern const char * const config_event_context_app
;
157 extern const char * const config_event_context_interruptible
;
158 extern const char * const config_event_context_preemptible
;
159 extern const char * const config_event_context_need_reschedule
;
160 extern const char * const config_event_context_migratable
;
161 extern const char * const config_event_context_callstack_user
;
162 extern const char * const config_event_context_callstack_kernel
;
164 extern const char * const config_element_rotation_schedules
;
165 extern const char * const config_element_rotation_schedule_periodic
;
166 extern const char * const config_element_rotation_schedule_periodic_time_us
;
167 extern const char * const config_element_rotation_schedule_size_threshold
;
168 extern const char * const config_element_rotation_schedule_size_threshold_bytes
;
169 extern const char * const config_event_context_cgroup_ns
;
170 extern const char * const config_event_context_ipc_ns
;
171 extern const char * const config_event_context_mnt_ns
;
172 extern const char * const config_event_context_net_ns
;
173 extern const char * const config_event_context_pid_ns
;
174 extern const char * const config_event_context_user_ns
;
175 extern const char * const config_event_context_uts_ns
;
176 extern const char * const config_event_context_uid
;
177 extern const char * const config_event_context_euid
;
178 extern const char * const config_event_context_suid
;
179 extern const char * const config_event_context_gid
;
180 extern const char * const config_event_context_egid
;
181 extern const char * const config_event_context_sgid
;
182 extern const char * const config_event_context_vuid
;
183 extern const char * const config_event_context_veuid
;
184 extern const char * const config_event_context_vsuid
;
185 extern const char * const config_event_context_vgid
;
186 extern const char * const config_event_context_vegid
;
187 extern const char * const config_event_context_vsgid
;
189 #endif /* CONFIG_SESSION_INTERNAL_H */