2 * Copyright (C) 2014 Jérémie Galarneau <jeremie.galarneau@efficios.com>
4 * SPDX-License-Identifier: LGPL-2.1-only
8 #ifndef CONFIG_SESSION_INTERNAL_H
9 #define CONFIG_SESSION_INTERNAL_H
11 #include <lttng/lttng-export.h>
13 extern const char * const config_element_all;
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;
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;
40 extern const char * const config_element_name;
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;
47 extern const char * const config_element_monitor_timer_interval;
48 extern const char * const config_element_blocking_timeout;
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;
54 extern const char * const config_element_discarded_events;
55 extern const char * const config_element_lost_packets;
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;
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;
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;
70 extern const char * const config_element_filter_expression;
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;
80 extern const char * const config_element_process_attr_id;
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;
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;
100 extern const char * const config_element_rotation_timer_interval;
101 extern const char * const config_element_rotation_size;
102 extern const char * const config_element_rotation_schedule;
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;
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;
114 LTTNG_EXPORT extern const char * const config_overwrite_mode_discard;
115 LTTNG_EXPORT extern const char * const config_overwrite_mode_overwrite;
117 LTTNG_EXPORT extern const char * const config_output_type_splice;
118 LTTNG_EXPORT extern const char * const config_output_type_mmap;
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;
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;
127 extern const char * const config_event_type_userspace_probe;
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;
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;
148 extern const char * const config_event_context_app;
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;
153 extern const char * const config_event_context_callstack_user;
154 extern const char * const config_event_context_callstack_kernel;
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;
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;
166 extern const char * const config_event_context_time_ns;
167 extern const char * const config_event_context_user_ns;
168 extern const char * const config_event_context_uts_ns;
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;
182 #endif /* CONFIG_SESSION_INTERNAL_H */