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_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
;
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
;
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
;
54 extern const char * const config_element_monitor_timer_interval
;
55 extern const char * const config_element_blocking_timeout
;
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
;
61 extern const char * const config_element_discarded_events
;
62 extern const char * const config_element_lost_packets
;
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
;
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
;
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
;
77 extern const char * const config_element_filter_expression
;
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
;
88 extern const char * const config_element_shared_memory_path
;
89 extern const char * const config_element_pid_tracker
;
90 extern const char * const config_element_trackers
;
91 extern const char * const config_element_targets
;
92 extern const char * const config_element_target_pid
;
93 extern const char * const config_element_rotation_timer_interval
;
94 extern const char * const config_element_rotation_size
;
95 extern const char * const config_element_rotation_schedule
;
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
;
101 extern const char * const config_domain_type_python
;
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
;
107 extern const char * const config_overwrite_mode_discard
;
108 extern const char * const config_overwrite_mode_overwrite
;
110 extern const char * const config_output_type_splice
;
111 extern const char * const config_output_type_mmap
;
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
;
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
;
120 extern const char * const config_event_type_userspace_probe
;
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
;
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
;
141 extern const char * const config_event_context_app
;
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
;
146 extern const char * const config_event_context_callstack_user
;
147 extern const char * const config_event_context_callstack_kernel
;
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
;
155 #endif /* CONFIG_SESSION_INTERNAL_H */