X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fconfig%2Fconfig-session-abi.h;h=75ff303d49a818dbf34f0b489bee520d97cb3255;hp=c96adb9ebf5886c479296caf0244a5d8c494edf9;hb=d37ac3cdc4fe21f117edfb829db4d0eb7cf914a1;hpb=16c4c9914f4e9aa1cf1a6f71f4b030fc8928e10e diff --git a/src/common/config/config-session-abi.h b/src/common/config/config-session-abi.h index c96adb9eb..75ff303d4 100644 --- a/src/common/config/config-session-abi.h +++ b/src/common/config/config-session-abi.h @@ -1,23 +1,14 @@ /* - * Copyright (C) 2014 - Jérémie Galarneau + * Copyright (C) 2014 Jérémie Galarneau * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License, version 2 only, as - * published by the Free Software Foundation. + * SPDX-License-Identifier: GPL-2.0-only * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., 51 - * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef CONFIG_SESSION_INTERNAL_H #define CONFIG_SESSION_INTERNAL_H +extern const char * const config_element_all; extern const char * const config_element_channel; extern const char * const config_element_channels; extern const char * const config_element_domain; @@ -34,6 +25,16 @@ extern const char * const config_element_probe_attributes; extern const char * const config_element_symbol_name; extern const char * const config_element_address; extern const char * const config_element_offset; +extern const char * const config_element_userspace_probe_lookup; +extern const char * const config_element_userspace_probe_lookup_function_default; +extern const char * const config_element_userspace_probe_lookup_function_elf; +extern const char * const config_element_userspace_probe_lookup_tracepoint_sdt; +extern const char * const config_element_userspace_probe_location_binary_path; +extern const char * const config_element_userspace_probe_function_attributes; +extern const char * const config_element_userspace_probe_function_location_function_name; +extern const char * const config_element_userspace_probe_tracepoint_attributes; +extern const char * const config_element_userspace_probe_tracepoint_location_provider_name; +extern const char * const config_element_userspace_probe_tracepoint_location_probe_name; extern const char * const config_element_name; extern const char * const config_element_enabled; extern const char * const config_element_overwrite_mode; @@ -74,12 +75,26 @@ extern const char * const config_element_control_uri; extern const char * const config_element_data_uri; extern const char * const config_element_max_size; extern const char * const config_element_pid; +extern const char * const config_element_process_attr_id; extern const char * const config_element_pids; +extern const char * const config_element_name; extern const char * const config_element_shared_memory_path; -extern const char * const config_element_pid_tracker; -extern const char * const config_element_trackers; -extern const char * const config_element_targets; -extern const char * const config_element_target_pid; +extern const char * const config_element_process_attr_tracker_pid; +extern const char * const config_element_process_attr_tracker_vpid; +extern const char * const config_element_process_attr_tracker_uid; +extern const char * const config_element_process_attr_tracker_vuid; +extern const char * const config_element_process_attr_tracker_gid; +extern const char * const config_element_process_attr_tracker_vgid; +extern const char * const config_element_process_attr_trackers; +extern const char * const config_element_process_attr_values; +extern const char * const config_element_process_attr_value_type; +extern const char * const config_element_process_attr_pid_value; +extern const char * const config_element_process_attr_vpid_value; +extern const char * const config_element_process_attr_uid_value; +extern const char * const config_element_process_attr_vuid_value; +extern const char * const config_element_process_attr_gid_value; +extern const char * const config_element_process_attr_vgid_value; +extern const char * const config_element_process_attr_tracker_type; extern const char * const config_element_rotation_timer_interval; extern const char * const config_element_rotation_size; extern const char * const config_element_rotation_schedule; @@ -107,6 +122,7 @@ extern const char * const config_loglevel_type_single; extern const char * const config_event_type_all; extern const char * const config_event_type_tracepoint; extern const char * const config_event_type_probe; +extern const char * const config_event_type_userspace_probe; extern const char * const config_event_type_function; extern const char * const config_event_type_function_entry; extern const char * const config_event_type_noop; @@ -135,4 +151,30 @@ extern const char * const config_event_context_migratable; extern const char * const config_event_context_callstack_user; extern const char * const config_event_context_callstack_kernel; +extern const char * const config_element_rotation_schedules; +extern const char * const config_element_rotation_schedule_periodic; +extern const char * const config_element_rotation_schedule_periodic_time_us; +extern const char * const config_element_rotation_schedule_size_threshold; +extern const char * const config_element_rotation_schedule_size_threshold_bytes; +extern const char * const config_event_context_cgroup_ns; +extern const char * const config_event_context_ipc_ns; +extern const char * const config_event_context_mnt_ns; +extern const char * const config_event_context_net_ns; +extern const char * const config_event_context_pid_ns; +extern const char * const config_event_context_time_ns; +extern const char * const config_event_context_user_ns; +extern const char * const config_event_context_uts_ns; +extern const char * const config_event_context_uid; +extern const char * const config_event_context_euid; +extern const char * const config_event_context_suid; +extern const char * const config_event_context_gid; +extern const char * const config_event_context_egid; +extern const char * const config_event_context_sgid; +extern const char * const config_event_context_vuid; +extern const char * const config_event_context_veuid; +extern const char * const config_event_context_vsuid; +extern const char * const config_event_context_vgid; +extern const char * const config_event_context_vegid; +extern const char * const config_event_context_vsgid; + #endif /* CONFIG_SESSION_INTERNAL_H */