Commit | Line | Data |
---|---|---|
fb198a11 | 1 | /* |
ab5be9fa | 2 | * Copyright (C) 2014 Jérémie Galarneau <jeremie.galarneau@efficios.com> |
fb198a11 | 3 | * |
c922647d | 4 | * SPDX-License-Identifier: LGPL-2.1-only |
fb198a11 | 5 | * |
fb198a11 JG |
6 | */ |
7 | ||
8 | #ifndef CONFIG_SESSION_INTERNAL_H | |
9 | #define CONFIG_SESSION_INTERNAL_H | |
10 | ||
4bd69c5f SM |
11 | #include <lttng/lttng-export.h> |
12 | ||
55c9e7ca | 13 | extern const char * const config_element_all; |
4bd69c5f SM |
14 | LTTNG_EXPORT extern const char * const config_element_channel; |
15 | LTTNG_EXPORT extern const char * const config_element_channels; | |
16 | LTTNG_EXPORT extern const char * const config_element_domain; | |
17 | LTTNG_EXPORT extern const char * const config_element_domains; | |
18 | LTTNG_EXPORT extern const char * const config_element_event; | |
19 | LTTNG_EXPORT extern const char * const config_element_events; | |
20 | LTTNG_EXPORT extern const char * const config_element_context; | |
21 | LTTNG_EXPORT extern const char * const config_element_contexts; | |
22 | LTTNG_EXPORT extern const char * const config_element_attributes; | |
23 | LTTNG_EXPORT extern const char * const config_element_exclusion; | |
24 | LTTNG_EXPORT extern const char * const config_element_exclusions; | |
25 | LTTNG_EXPORT extern const char * const config_element_function_attributes; | |
26 | LTTNG_EXPORT extern const char * const config_element_probe_attributes; | |
27 | LTTNG_EXPORT extern const char * const config_element_symbol_name; | |
28 | LTTNG_EXPORT extern const char * const config_element_address; | |
29 | LTTNG_EXPORT extern const char * const config_element_offset; | |
c1e83fb4 FD |
30 | extern const char * const config_element_userspace_probe_lookup; |
31 | extern const char * const config_element_userspace_probe_lookup_function_default; | |
32 | extern const char * const config_element_userspace_probe_lookup_function_elf; | |
33 | extern const char * const config_element_userspace_probe_lookup_tracepoint_sdt; | |
34 | extern const char * const config_element_userspace_probe_location_binary_path; | |
35 | extern const char * const config_element_userspace_probe_function_attributes; | |
36 | extern const char * const config_element_userspace_probe_function_location_function_name; | |
37 | extern const char * const config_element_userspace_probe_tracepoint_attributes; | |
38 | extern const char * const config_element_userspace_probe_tracepoint_location_provider_name; | |
39 | extern const char * const config_element_userspace_probe_tracepoint_location_probe_name; | |
4965f956 | 40 | extern const char * const config_element_name; |
4bd69c5f SM |
41 | LTTNG_EXPORT extern const char * const config_element_enabled; |
42 | LTTNG_EXPORT extern const char * const config_element_overwrite_mode; | |
43 | LTTNG_EXPORT extern const char * const config_element_subbuf_size; | |
44 | LTTNG_EXPORT extern const char * const config_element_num_subbuf; | |
45 | LTTNG_EXPORT extern const char * const config_element_switch_timer_interval; | |
46 | LTTNG_EXPORT extern const char * const config_element_read_timer_interval; | |
cf0bcb51 | 47 | extern const char * const config_element_monitor_timer_interval; |
491d1539 | 48 | extern const char * const config_element_blocking_timeout; |
4bd69c5f SM |
49 | LTTNG_EXPORT extern const char * const config_element_output; |
50 | LTTNG_EXPORT extern const char * const config_element_output_type; | |
51 | LTTNG_EXPORT extern const char * const config_element_tracefile_size; | |
52 | LTTNG_EXPORT extern const char * const config_element_tracefile_count; | |
53 | LTTNG_EXPORT extern const char * const config_element_live_timer_interval; | |
fb83fe64 JD |
54 | extern const char * const config_element_discarded_events; |
55 | extern const char * const config_element_lost_packets; | |
4bd69c5f SM |
56 | LTTNG_EXPORT extern const char * const config_element_type; |
57 | LTTNG_EXPORT extern const char * const config_element_buffer_type; | |
58 | LTTNG_EXPORT extern const char * const config_element_session; | |
59 | LTTNG_EXPORT extern const char * const config_element_sessions; | |
045fc617 JG |
60 | extern const char * const config_element_context_perf; |
61 | extern const char * const config_element_context_app; | |
62 | extern const char * const config_element_context_app_provider_name; | |
63 | extern const char * const config_element_context_app_ctx_name; | |
4bd69c5f SM |
64 | LTTNG_EXPORT extern const char * const config_element_config; |
65 | LTTNG_EXPORT extern const char * const config_element_started; | |
66 | LTTNG_EXPORT extern const char * const config_element_snapshot_mode; | |
67 | LTTNG_EXPORT extern const char * const config_element_loglevel; | |
68 | LTTNG_EXPORT extern const char * const config_element_loglevel_type; | |
69 | LTTNG_EXPORT extern const char * const config_element_filter; | |
7b4aa11d | 70 | extern const char * const config_element_filter_expression; |
4bd69c5f SM |
71 | LTTNG_EXPORT extern const char * const config_element_snapshot_outputs; |
72 | LTTNG_EXPORT extern const char * const config_element_consumer_output; | |
73 | LTTNG_EXPORT extern const char * const config_element_destination; | |
74 | LTTNG_EXPORT extern const char * const config_element_path; | |
75 | LTTNG_EXPORT extern const char * const config_element_net_output; | |
76 | LTTNG_EXPORT extern const char * const config_element_control_uri; | |
77 | LTTNG_EXPORT extern const char * const config_element_data_uri; | |
78 | LTTNG_EXPORT extern const char * const config_element_max_size; | |
79 | LTTNG_EXPORT extern const char * const config_element_pid; | |
159b042f | 80 | extern const char * const config_element_process_attr_id; |
4bd69c5f SM |
81 | LTTNG_EXPORT extern const char * const config_element_pids; |
82 | LTTNG_EXPORT extern const char * const config_element_name; | |
83 | LTTNG_EXPORT extern const char * const config_element_shared_memory_path; | |
159b042f JG |
84 | extern const char * const config_element_process_attr_tracker_pid; |
85 | extern const char * const config_element_process_attr_tracker_vpid; | |
86 | extern const char * const config_element_process_attr_tracker_uid; | |
87 | extern const char * const config_element_process_attr_tracker_vuid; | |
88 | extern const char * const config_element_process_attr_tracker_gid; | |
89 | extern const char * const config_element_process_attr_tracker_vgid; | |
90 | extern const char * const config_element_process_attr_trackers; | |
91 | extern const char * const config_element_process_attr_values; | |
92 | extern const char * const config_element_process_attr_value_type; | |
93 | extern const char * const config_element_process_attr_pid_value; | |
94 | extern const char * const config_element_process_attr_vpid_value; | |
95 | extern const char * const config_element_process_attr_uid_value; | |
96 | extern const char * const config_element_process_attr_vuid_value; | |
97 | extern const char * const config_element_process_attr_gid_value; | |
98 | extern const char * const config_element_process_attr_vgid_value; | |
99 | extern const char * const config_element_process_attr_tracker_type; | |
259c2674 | 100 | extern const char * const config_element_rotation_timer_interval; |
329f3443 | 101 | extern const char * const config_element_rotation_size; |
259c2674 | 102 | extern const char * const config_element_rotation_schedule; |
fb198a11 | 103 | |
4bd69c5f SM |
104 | LTTNG_EXPORT extern const char * const config_domain_type_kernel; |
105 | LTTNG_EXPORT extern const char * const config_domain_type_ust; | |
106 | LTTNG_EXPORT extern const char * const config_domain_type_jul; | |
107 | LTTNG_EXPORT extern const char * const config_domain_type_log4j; | |
108 | LTTNG_EXPORT extern const char * const config_domain_type_python; | |
fb198a11 | 109 | |
4bd69c5f SM |
110 | LTTNG_EXPORT extern const char * const config_buffer_type_per_pid; |
111 | LTTNG_EXPORT extern const char * const config_buffer_type_per_uid; | |
112 | LTTNG_EXPORT extern const char * const config_buffer_type_global; | |
fb198a11 | 113 | |
4bd69c5f SM |
114 | LTTNG_EXPORT extern const char * const config_overwrite_mode_discard; |
115 | LTTNG_EXPORT extern const char * const config_overwrite_mode_overwrite; | |
fb198a11 | 116 | |
4bd69c5f SM |
117 | LTTNG_EXPORT extern const char * const config_output_type_splice; |
118 | LTTNG_EXPORT extern const char * const config_output_type_mmap; | |
fb198a11 | 119 | |
4bd69c5f SM |
120 | LTTNG_EXPORT extern const char * const config_loglevel_type_all; |
121 | LTTNG_EXPORT extern const char * const config_loglevel_type_range; | |
122 | LTTNG_EXPORT extern const char * const config_loglevel_type_single; | |
fb198a11 | 123 | |
4bd69c5f SM |
124 | LTTNG_EXPORT extern const char * const config_event_type_all; |
125 | LTTNG_EXPORT extern const char * const config_event_type_tracepoint; | |
126 | LTTNG_EXPORT extern const char * const config_event_type_probe; | |
c1e83fb4 | 127 | extern const char * const config_event_type_userspace_probe; |
4bd69c5f SM |
128 | LTTNG_EXPORT extern const char * const config_event_type_function; |
129 | LTTNG_EXPORT extern const char * const config_event_type_function_entry; | |
130 | LTTNG_EXPORT extern const char * const config_event_type_noop; | |
131 | LTTNG_EXPORT extern const char * const config_event_type_syscall; | |
132 | LTTNG_EXPORT extern const char * const config_event_type_kprobe; | |
133 | LTTNG_EXPORT extern const char * const config_event_type_kretprobe; | |
fb198a11 | 134 | |
4bd69c5f SM |
135 | LTTNG_EXPORT extern const char * const config_event_context_pid; |
136 | LTTNG_EXPORT extern const char * const config_event_context_procname; | |
137 | LTTNG_EXPORT extern const char * const config_event_context_prio; | |
138 | LTTNG_EXPORT extern const char * const config_event_context_nice; | |
139 | LTTNG_EXPORT extern const char * const config_event_context_vpid; | |
140 | LTTNG_EXPORT extern const char * const config_event_context_tid; | |
141 | LTTNG_EXPORT extern const char * const config_event_context_vtid; | |
142 | LTTNG_EXPORT extern const char * const config_event_context_ppid; | |
143 | LTTNG_EXPORT extern const char * const config_event_context_vppid; | |
144 | LTTNG_EXPORT extern const char * const config_event_context_pthread_id; | |
145 | LTTNG_EXPORT extern const char * const config_event_context_hostname; | |
146 | LTTNG_EXPORT extern const char * const config_event_context_ip; | |
147 | LTTNG_EXPORT extern const char * const config_event_context_perf_thread_counter; | |
045fc617 | 148 | extern const char * const config_event_context_app; |
1ae5e83e JD |
149 | extern const char * const config_event_context_interruptible; |
150 | extern const char * const config_event_context_preemptible; | |
151 | extern const char * const config_event_context_need_reschedule; | |
152 | extern const char * const config_event_context_migratable; | |
16c4c991 FD |
153 | extern const char * const config_event_context_callstack_user; |
154 | extern const char * const config_event_context_callstack_kernel; | |
fb198a11 | 155 | |
ce6176f2 JG |
156 | extern const char * const config_element_rotation_schedules; |
157 | extern const char * const config_element_rotation_schedule_periodic; | |
158 | extern const char * const config_element_rotation_schedule_periodic_time_us; | |
159 | extern const char * const config_element_rotation_schedule_size_threshold; | |
160 | extern const char * const config_element_rotation_schedule_size_threshold_bytes; | |
40e14884 MJ |
161 | extern const char * const config_event_context_cgroup_ns; |
162 | extern const char * const config_event_context_ipc_ns; | |
163 | extern const char * const config_event_context_mnt_ns; | |
164 | extern const char * const config_event_context_net_ns; | |
165 | extern const char * const config_event_context_pid_ns; | |
d37ac3cd | 166 | extern const char * const config_event_context_time_ns; |
40e14884 MJ |
167 | extern const char * const config_event_context_user_ns; |
168 | extern const char * const config_event_context_uts_ns; | |
499cbfa1 MJ |
169 | extern const char * const config_event_context_uid; |
170 | extern const char * const config_event_context_euid; | |
171 | extern const char * const config_event_context_suid; | |
172 | extern const char * const config_event_context_gid; | |
173 | extern const char * const config_event_context_egid; | |
174 | extern const char * const config_event_context_sgid; | |
175 | extern const char * const config_event_context_vuid; | |
176 | extern const char * const config_event_context_veuid; | |
177 | extern const char * const config_event_context_vsuid; | |
178 | extern const char * const config_event_context_vgid; | |
179 | extern const char * const config_event_context_vegid; | |
180 | extern const char * const config_event_context_vsgid; | |
ce6176f2 | 181 | |
fb198a11 | 182 | #endif /* CONFIG_SESSION_INTERNAL_H */ |