X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fconfig%2Fconfig-session-abi.h;h=6c903ef7a4911751849e6a4dd8e3cd9bcc4cc32e;hp=75ff303d49a818dbf34f0b489bee520d97cb3255;hb=4bd69c5f1161cd065f487da0f4c1aa03a73c47e4;hpb=657d1bf105996bf8f6e13af697fb1112afa61b28 diff --git a/src/common/config/config-session-abi.h b/src/common/config/config-session-abi.h index 75ff303d4..6c903ef7a 100644 --- a/src/common/config/config-session-abi.h +++ b/src/common/config/config-session-abi.h @@ -8,23 +8,25 @@ #ifndef CONFIG_SESSION_INTERNAL_H #define CONFIG_SESSION_INTERNAL_H +#include + 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; -extern const char * const config_element_domains; -extern const char * const config_element_event; -extern const char * const config_element_events; -extern const char * const config_element_context; -extern const char * const config_element_contexts; -extern const char * const config_element_attributes; -extern const char * const config_element_exclusion; -extern const char * const config_element_exclusions; -extern const char * const config_element_function_attributes; -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; +LTTNG_EXPORT extern const char * const config_element_channel; +LTTNG_EXPORT extern const char * const config_element_channels; +LTTNG_EXPORT extern const char * const config_element_domain; +LTTNG_EXPORT extern const char * const config_element_domains; +LTTNG_EXPORT extern const char * const config_element_event; +LTTNG_EXPORT extern const char * const config_element_events; +LTTNG_EXPORT extern const char * const config_element_context; +LTTNG_EXPORT extern const char * const config_element_contexts; +LTTNG_EXPORT extern const char * const config_element_attributes; +LTTNG_EXPORT extern const char * const config_element_exclusion; +LTTNG_EXPORT extern const char * const config_element_exclusions; +LTTNG_EXPORT extern const char * const config_element_function_attributes; +LTTNG_EXPORT extern const char * const config_element_probe_attributes; +LTTNG_EXPORT extern const char * const config_element_symbol_name; +LTTNG_EXPORT extern const char * const config_element_address; +LTTNG_EXPORT 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; @@ -36,49 +38,49 @@ 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; -extern const char * const config_element_subbuf_size; -extern const char * const config_element_num_subbuf; -extern const char * const config_element_switch_timer_interval; -extern const char * const config_element_read_timer_interval; +LTTNG_EXPORT extern const char * const config_element_enabled; +LTTNG_EXPORT extern const char * const config_element_overwrite_mode; +LTTNG_EXPORT extern const char * const config_element_subbuf_size; +LTTNG_EXPORT extern const char * const config_element_num_subbuf; +LTTNG_EXPORT extern const char * const config_element_switch_timer_interval; +LTTNG_EXPORT extern const char * const config_element_read_timer_interval; extern const char * const config_element_monitor_timer_interval; extern const char * const config_element_blocking_timeout; -extern const char * const config_element_output; -extern const char * const config_element_output_type; -extern const char * const config_element_tracefile_size; -extern const char * const config_element_tracefile_count; -extern const char * const config_element_live_timer_interval; +LTTNG_EXPORT extern const char * const config_element_output; +LTTNG_EXPORT extern const char * const config_element_output_type; +LTTNG_EXPORT extern const char * const config_element_tracefile_size; +LTTNG_EXPORT extern const char * const config_element_tracefile_count; +LTTNG_EXPORT extern const char * const config_element_live_timer_interval; extern const char * const config_element_discarded_events; extern const char * const config_element_lost_packets; -extern const char * const config_element_type; -extern const char * const config_element_buffer_type; -extern const char * const config_element_session; -extern const char * const config_element_sessions; +LTTNG_EXPORT extern const char * const config_element_type; +LTTNG_EXPORT extern const char * const config_element_buffer_type; +LTTNG_EXPORT extern const char * const config_element_session; +LTTNG_EXPORT extern const char * const config_element_sessions; extern const char * const config_element_context_perf; extern const char * const config_element_context_app; extern const char * const config_element_context_app_provider_name; extern const char * const config_element_context_app_ctx_name; -extern const char * const config_element_config; -extern const char * const config_element_started; -extern const char * const config_element_snapshot_mode; -extern const char * const config_element_loglevel; -extern const char * const config_element_loglevel_type; -extern const char * const config_element_filter; +LTTNG_EXPORT extern const char * const config_element_config; +LTTNG_EXPORT extern const char * const config_element_started; +LTTNG_EXPORT extern const char * const config_element_snapshot_mode; +LTTNG_EXPORT extern const char * const config_element_loglevel; +LTTNG_EXPORT extern const char * const config_element_loglevel_type; +LTTNG_EXPORT extern const char * const config_element_filter; extern const char * const config_element_filter_expression; -extern const char * const config_element_snapshot_outputs; -extern const char * const config_element_consumer_output; -extern const char * const config_element_destination; -extern const char * const config_element_path; -extern const char * const config_element_net_output; -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; +LTTNG_EXPORT extern const char * const config_element_snapshot_outputs; +LTTNG_EXPORT extern const char * const config_element_consumer_output; +LTTNG_EXPORT extern const char * const config_element_destination; +LTTNG_EXPORT extern const char * const config_element_path; +LTTNG_EXPORT extern const char * const config_element_net_output; +LTTNG_EXPORT extern const char * const config_element_control_uri; +LTTNG_EXPORT extern const char * const config_element_data_uri; +LTTNG_EXPORT extern const char * const config_element_max_size; +LTTNG_EXPORT 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; +LTTNG_EXPORT extern const char * const config_element_pids; +LTTNG_EXPORT extern const char * const config_element_name; +LTTNG_EXPORT extern const char * const config_element_shared_memory_path; 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; @@ -99,50 +101,50 @@ 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; -extern const char * const config_domain_type_kernel; -extern const char * const config_domain_type_ust; -extern const char * const config_domain_type_jul; -extern const char * const config_domain_type_log4j; -extern const char * const config_domain_type_python; +LTTNG_EXPORT extern const char * const config_domain_type_kernel; +LTTNG_EXPORT extern const char * const config_domain_type_ust; +LTTNG_EXPORT extern const char * const config_domain_type_jul; +LTTNG_EXPORT extern const char * const config_domain_type_log4j; +LTTNG_EXPORT extern const char * const config_domain_type_python; -extern const char * const config_buffer_type_per_pid; -extern const char * const config_buffer_type_per_uid; -extern const char * const config_buffer_type_global; +LTTNG_EXPORT extern const char * const config_buffer_type_per_pid; +LTTNG_EXPORT extern const char * const config_buffer_type_per_uid; +LTTNG_EXPORT extern const char * const config_buffer_type_global; -extern const char * const config_overwrite_mode_discard; -extern const char * const config_overwrite_mode_overwrite; +LTTNG_EXPORT extern const char * const config_overwrite_mode_discard; +LTTNG_EXPORT extern const char * const config_overwrite_mode_overwrite; -extern const char * const config_output_type_splice; -extern const char * const config_output_type_mmap; +LTTNG_EXPORT extern const char * const config_output_type_splice; +LTTNG_EXPORT extern const char * const config_output_type_mmap; -extern const char * const config_loglevel_type_all; -extern const char * const config_loglevel_type_range; -extern const char * const config_loglevel_type_single; +LTTNG_EXPORT extern const char * const config_loglevel_type_all; +LTTNG_EXPORT extern const char * const config_loglevel_type_range; +LTTNG_EXPORT 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; +LTTNG_EXPORT extern const char * const config_event_type_all; +LTTNG_EXPORT extern const char * const config_event_type_tracepoint; +LTTNG_EXPORT 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; -extern const char * const config_event_type_syscall; -extern const char * const config_event_type_kprobe; -extern const char * const config_event_type_kretprobe; +LTTNG_EXPORT extern const char * const config_event_type_function; +LTTNG_EXPORT extern const char * const config_event_type_function_entry; +LTTNG_EXPORT extern const char * const config_event_type_noop; +LTTNG_EXPORT extern const char * const config_event_type_syscall; +LTTNG_EXPORT extern const char * const config_event_type_kprobe; +LTTNG_EXPORT extern const char * const config_event_type_kretprobe; -extern const char * const config_event_context_pid; -extern const char * const config_event_context_procname; -extern const char * const config_event_context_prio; -extern const char * const config_event_context_nice; -extern const char * const config_event_context_vpid; -extern const char * const config_event_context_tid; -extern const char * const config_event_context_vtid; -extern const char * const config_event_context_ppid; -extern const char * const config_event_context_vppid; -extern const char * const config_event_context_pthread_id; -extern const char * const config_event_context_hostname; -extern const char * const config_event_context_ip; -extern const char * const config_event_context_perf_thread_counter; +LTTNG_EXPORT extern const char * const config_event_context_pid; +LTTNG_EXPORT extern const char * const config_event_context_procname; +LTTNG_EXPORT extern const char * const config_event_context_prio; +LTTNG_EXPORT extern const char * const config_event_context_nice; +LTTNG_EXPORT extern const char * const config_event_context_vpid; +LTTNG_EXPORT extern const char * const config_event_context_tid; +LTTNG_EXPORT extern const char * const config_event_context_vtid; +LTTNG_EXPORT extern const char * const config_event_context_ppid; +LTTNG_EXPORT extern const char * const config_event_context_vppid; +LTTNG_EXPORT extern const char * const config_event_context_pthread_id; +LTTNG_EXPORT extern const char * const config_event_context_hostname; +LTTNG_EXPORT extern const char * const config_event_context_ip; +LTTNG_EXPORT extern const char * const config_event_context_perf_thread_counter; extern const char * const config_event_context_app; extern const char * const config_event_context_interruptible; extern const char * const config_event_context_preemptible;