- Update to release 2.7.1.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:lttng/lttng-tools?expand=0&rev=14
This commit is contained in:
committed by
Git OBS Bridge
parent
8306d1a9bd
commit
e787fac6b8
@@ -1,438 +0,0 @@
|
||||
From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?=
|
||||
<jeremie.galarneau@efficios.com>
|
||||
Date: Mon, 25 May 2015 12:10:37 -0400
|
||||
Subject: [PATCH] Fix: Mark MI and Config string declarations as extern
|
||||
MIME-Version: 1.0
|
||||
Git-commit: e1e79f0645732354526651b1999e70c0395c9236
|
||||
Signed-off-by: Tony Jones <tonyj@suse.de>
|
||||
|
||||
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
|
||||
---
|
||||
src/common/config/config-session-abi.h | 166 +++++++++++++--------------
|
||||
src/common/mi-lttng.h | 198 ++++++++++++++++-----------------
|
||||
2 files changed, 182 insertions(+), 182 deletions(-)
|
||||
|
||||
diff --git a/src/common/config/config-session-abi.h b/src/common/config/config-session-abi.h
|
||||
index 1a1feec..e414a20 100644
|
||||
--- a/src/common/config/config-session-abi.h
|
||||
+++ b/src/common/config/config-session-abi.h
|
||||
@@ -18,95 +18,95 @@
|
||||
#ifndef CONFIG_SESSION_INTERNAL_H
|
||||
#define CONFIG_SESSION_INTERNAL_H
|
||||
|
||||
-const char * const config_element_channel;
|
||||
-const char * const config_element_channels;
|
||||
-const char * const config_element_domain;
|
||||
-const char * const config_element_domains;
|
||||
-const char * const config_element_event;
|
||||
-const char * const config_element_events;
|
||||
-const char * const config_element_context;
|
||||
-const char * const config_element_contexts;
|
||||
-const char * const config_element_attributes;
|
||||
-const char * const config_element_exclusion;
|
||||
-const char * const config_element_exclusions;
|
||||
-const char * const config_element_function_attributes;
|
||||
-const char * const config_element_probe_attributes;
|
||||
-const char * const config_element_symbol_name;
|
||||
-const char * const config_element_address;
|
||||
-const char * const config_element_offset;
|
||||
-const char * const config_element_name;
|
||||
-const char * const config_element_enabled;
|
||||
-const char * const config_element_overwrite_mode;
|
||||
-const char * const config_element_subbuf_size;
|
||||
-const char * const config_element_num_subbuf;
|
||||
-const char * const config_element_switch_timer_interval;
|
||||
-const char * const config_element_read_timer_interval;
|
||||
-const char * const config_element_output;
|
||||
-const char * const config_element_output_type;
|
||||
-const char * const config_element_tracefile_size;
|
||||
-const char * const config_element_tracefile_count;
|
||||
-const char * const config_element_live_timer_interval;
|
||||
-const char * const config_element_type;
|
||||
-const char * const config_element_buffer_type;
|
||||
-const char * const config_element_session;
|
||||
-const char * const config_element_sessions;
|
||||
-const char * const config_element_perf;
|
||||
-const char * const config_element_config;
|
||||
-const char * const config_element_started;
|
||||
-const char * const config_element_snapshot_mode;
|
||||
-const char * const config_element_loglevel;
|
||||
-const char * const config_element_loglevel_type;
|
||||
-const char * const config_element_filter;
|
||||
-const char * const config_element_snapshot_outputs;
|
||||
-const char * const config_element_consumer_output;
|
||||
-const char * const config_element_destination;
|
||||
-const char * const config_element_path;
|
||||
-const char * const config_element_net_output;
|
||||
-const char * const config_element_control_uri;
|
||||
-const char * const config_element_data_uri;
|
||||
-const char * const config_element_max_size;
|
||||
+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;
|
||||
+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;
|
||||
+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;
|
||||
+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;
|
||||
+extern const char * const config_element_perf;
|
||||
+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;
|
||||
+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;
|
||||
|
||||
-const char * const config_domain_type_kernel;
|
||||
-const char * const config_domain_type_ust;
|
||||
-const char * const config_domain_type_jul;
|
||||
-const char * const config_domain_type_log4j;
|
||||
+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;
|
||||
|
||||
-const char * const config_buffer_type_per_pid;
|
||||
-const char * const config_buffer_type_per_uid;
|
||||
-const char * const config_buffer_type_global;
|
||||
+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;
|
||||
|
||||
-const char * const config_overwrite_mode_discard;
|
||||
-const char * const config_overwrite_mode_overwrite;
|
||||
+extern const char * const config_overwrite_mode_discard;
|
||||
+extern const char * const config_overwrite_mode_overwrite;
|
||||
|
||||
-const char * const config_output_type_splice;
|
||||
-const char * const config_output_type_mmap;
|
||||
+extern const char * const config_output_type_splice;
|
||||
+extern const char * const config_output_type_mmap;
|
||||
|
||||
-const char * const config_loglevel_type_all;
|
||||
-const char * const config_loglevel_type_range;
|
||||
-const char * const config_loglevel_type_single;
|
||||
+extern const char * const config_loglevel_type_all;
|
||||
+extern const char * const config_loglevel_type_range;
|
||||
+extern const char * const config_loglevel_type_single;
|
||||
|
||||
-const char * const config_event_type_all;
|
||||
-const char * const config_event_type_tracepoint;
|
||||
-const char * const config_event_type_probe;
|
||||
-const char * const config_event_type_function;
|
||||
-const char * const config_event_type_function_entry;
|
||||
-const char * const config_event_type_noop;
|
||||
-const char * const config_event_type_syscall;
|
||||
-const char * const config_event_type_kprobe;
|
||||
-const char * const config_event_type_kretprobe;
|
||||
+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_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;
|
||||
|
||||
-const char * const config_event_context_pid;
|
||||
-const char * const config_event_context_procname;
|
||||
-const char * const config_event_context_prio;
|
||||
-const char * const config_event_context_nice;
|
||||
-const char * const config_event_context_vpid;
|
||||
-const char * const config_event_context_tid;
|
||||
-const char * const config_event_context_vtid;
|
||||
-const char * const config_event_context_ppid;
|
||||
-const char * const config_event_context_vppid;
|
||||
-const char * const config_event_context_pthread_id;
|
||||
-const char * const config_event_context_hostname;
|
||||
-const char * const config_event_context_ip;
|
||||
-const char * const config_event_context_perf_thread_counter;
|
||||
+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;
|
||||
|
||||
#endif /* CONFIG_SESSION_INTERNAL_H */
|
||||
diff --git a/src/common/mi-lttng.h b/src/common/mi-lttng.h
|
||||
index a181e0b..06b0812 100644
|
||||
--- a/src/common/mi-lttng.h
|
||||
+++ b/src/common/mi-lttng.h
|
||||
@@ -49,133 +49,133 @@ struct mi_lttng_version {
|
||||
};
|
||||
|
||||
/* Strings related to command */
|
||||
-const char * const mi_lttng_element_command;
|
||||
-const char * const mi_lttng_element_command_action;
|
||||
-const char * const mi_lttng_element_command_add_context;
|
||||
-const char * const mi_lttng_element_command_calibrate;
|
||||
-const char * const mi_lttng_element_command_create;
|
||||
-const char * const mi_lttng_element_command_destroy;
|
||||
-const char * const mi_lttng_element_command_disable_channel;
|
||||
-const char * const mi_lttng_element_command_disable_event;
|
||||
-const char * const mi_lttng_element_command_enable_channels;
|
||||
-const char * const mi_lttng_element_command_enable_event;
|
||||
-const char * const mi_lttng_element_command_list;
|
||||
-const char * const mi_lttng_element_command_load;
|
||||
-const char * const mi_lttng_element_command_name;
|
||||
-const char * const mi_lttng_element_command_output;
|
||||
-const char * const mi_lttng_element_command_save;
|
||||
-const char * const mi_lttng_element_command_set_session;
|
||||
-const char * const mi_lttng_element_command_snapshot;
|
||||
-const char * const mi_lttng_element_command_snapshot_add;
|
||||
-const char * const mi_lttng_element_command_snapshot_del;
|
||||
-const char * const mi_lttng_element_command_snapshot_list;
|
||||
-const char * const mi_lttng_element_command_snapshot_record;
|
||||
-const char * const mi_lttng_element_command_start;
|
||||
-const char * const mi_lttng_element_command_stop;
|
||||
-const char * const mi_lttng_element_command_success;
|
||||
-const char * const mi_lttng_element_command_version;
|
||||
+extern const char * const mi_lttng_element_command;
|
||||
+extern const char * const mi_lttng_element_command_action;
|
||||
+extern const char * const mi_lttng_element_command_add_context;
|
||||
+extern const char * const mi_lttng_element_command_calibrate;
|
||||
+extern const char * const mi_lttng_element_command_create;
|
||||
+extern const char * const mi_lttng_element_command_destroy;
|
||||
+extern const char * const mi_lttng_element_command_disable_channel;
|
||||
+extern const char * const mi_lttng_element_command_disable_event;
|
||||
+extern const char * const mi_lttng_element_command_enable_channels;
|
||||
+extern const char * const mi_lttng_element_command_enable_event;
|
||||
+extern const char * const mi_lttng_element_command_list;
|
||||
+extern const char * const mi_lttng_element_command_load;
|
||||
+extern const char * const mi_lttng_element_command_name;
|
||||
+extern const char * const mi_lttng_element_command_output;
|
||||
+extern const char * const mi_lttng_element_command_save;
|
||||
+extern const char * const mi_lttng_element_command_set_session;
|
||||
+extern const char * const mi_lttng_element_command_snapshot;
|
||||
+extern const char * const mi_lttng_element_command_snapshot_add;
|
||||
+extern const char * const mi_lttng_element_command_snapshot_del;
|
||||
+extern const char * const mi_lttng_element_command_snapshot_list;
|
||||
+extern const char * const mi_lttng_element_command_snapshot_record;
|
||||
+extern const char * const mi_lttng_element_command_start;
|
||||
+extern const char * const mi_lttng_element_command_stop;
|
||||
+extern const char * const mi_lttng_element_command_success;
|
||||
+extern const char * const mi_lttng_element_command_version;
|
||||
|
||||
/* Strings related to version command */
|
||||
-const char * const mi_lttng_element_version;
|
||||
-const char * const mi_lttng_element_version_commit;
|
||||
-const char * const mi_lttng_element_version_description;
|
||||
-const char * const mi_lttng_element_version_license;
|
||||
-const char * const mi_lttng_element_version_major;
|
||||
-const char * const mi_lttng_element_version_minor;
|
||||
-const char * const mi_lttng_element_version_patch_level;
|
||||
-const char * const mi_lttng_element_version_str;
|
||||
-const char * const mi_lttng_element_version_web;
|
||||
+extern const char * const mi_lttng_element_version;
|
||||
+extern const char * const mi_lttng_element_version_commit;
|
||||
+extern const char * const mi_lttng_element_version_description;
|
||||
+extern const char * const mi_lttng_element_version_license;
|
||||
+extern const char * const mi_lttng_element_version_major;
|
||||
+extern const char * const mi_lttng_element_version_minor;
|
||||
+extern const char * const mi_lttng_element_version_patch_level;
|
||||
+extern const char * const mi_lttng_element_version_str;
|
||||
+extern const char * const mi_lttng_element_version_web;
|
||||
|
||||
/* String related to a lttng_event_field */
|
||||
-const char * const mi_lttng_element_event_field;
|
||||
-const char * const mi_lttng_element_event_fields;
|
||||
+extern const char * const mi_lttng_element_event_field;
|
||||
+extern const char * const mi_lttng_element_event_fields;
|
||||
|
||||
/* String related to lttng_event_context */
|
||||
-const char * const mi_lttng_context_type_perf_counter;
|
||||
-const char * const mi_lttng_context_type_perf_cpu_counter;
|
||||
-const char * const mi_lttng_context_type_perf_thread_counter;
|
||||
+extern const char * const mi_lttng_context_type_perf_counter;
|
||||
+extern const char * const mi_lttng_context_type_perf_cpu_counter;
|
||||
+extern const char * const mi_lttng_context_type_perf_thread_counter;
|
||||
|
||||
/* String related to lttng_event_perf_counter_ctx */
|
||||
-const char * const mi_lttng_element_perf_counter_context;
|
||||
+extern const char * const mi_lttng_element_perf_counter_context;
|
||||
|
||||
/* Strings related to pid */
|
||||
-const char * const mi_lttng_element_pids;
|
||||
-const char * const mi_lttng_element_pid;
|
||||
-const char * const mi_lttng_element_pid_id;
|
||||
+extern const char * const mi_lttng_element_pids;
|
||||
+extern const char * const mi_lttng_element_pid;
|
||||
+extern const char * const mi_lttng_element_pid_id;
|
||||
|
||||
/* Strings related to save command */
|
||||
-const char * const mi_lttng_element_save;
|
||||
+extern const char * const mi_lttng_element_save;
|
||||
|
||||
/* Strings related to load command */
|
||||
-const char * const mi_lttng_element_load;
|
||||
+extern const char * const mi_lttng_element_load;
|
||||
|
||||
/* General element of mi_lttng */
|
||||
-const char * const mi_lttng_element_empty;
|
||||
-const char * const mi_lttng_element_id;
|
||||
-const char * const mi_lttng_element_nowrite;
|
||||
-const char * const mi_lttng_element_success;
|
||||
-const char * const mi_lttng_element_type_enum;
|
||||
-const char * const mi_lttng_element_type_float;
|
||||
-const char * const mi_lttng_element_type_integer;
|
||||
-const char * const mi_lttng_element_type_other;
|
||||
-const char * const mi_lttng_element_type_string;
|
||||
+extern const char * const mi_lttng_element_empty;
|
||||
+extern const char * const mi_lttng_element_id;
|
||||
+extern const char * const mi_lttng_element_nowrite;
|
||||
+extern const char * const mi_lttng_element_success;
|
||||
+extern const char * const mi_lttng_element_type_enum;
|
||||
+extern const char * const mi_lttng_element_type_float;
|
||||
+extern const char * const mi_lttng_element_type_integer;
|
||||
+extern const char * const mi_lttng_element_type_other;
|
||||
+extern const char * const mi_lttng_element_type_string;
|
||||
|
||||
/* String related to loglevel */
|
||||
-const char * const mi_lttng_loglevel_str_alert;
|
||||
-const char * const mi_lttng_loglevel_str_crit;
|
||||
-const char * const mi_lttng_loglevel_str_debug;
|
||||
-const char * const mi_lttng_loglevel_str_debug_function;
|
||||
-const char * const mi_lttng_loglevel_str_debug_line;
|
||||
-const char * const mi_lttng_loglevel_str_debug_module;
|
||||
-const char * const mi_lttng_loglevel_str_debug_process;
|
||||
-const char * const mi_lttng_loglevel_str_debug_program;
|
||||
-const char * const mi_lttng_loglevel_str_debug_system;
|
||||
-const char * const mi_lttng_loglevel_str_debug_unit;
|
||||
-const char * const mi_lttng_loglevel_str_emerg;
|
||||
-const char * const mi_lttng_loglevel_str_err;
|
||||
-const char * const mi_lttng_loglevel_str_info;
|
||||
-const char * const mi_lttng_loglevel_str_notice;
|
||||
-const char * const mi_lttng_loglevel_str_unknown;
|
||||
-const char * const mi_lttng_loglevel_str_warning;
|
||||
+extern const char * const mi_lttng_loglevel_str_alert;
|
||||
+extern const char * const mi_lttng_loglevel_str_crit;
|
||||
+extern const char * const mi_lttng_loglevel_str_debug;
|
||||
+extern const char * const mi_lttng_loglevel_str_debug_function;
|
||||
+extern const char * const mi_lttng_loglevel_str_debug_line;
|
||||
+extern const char * const mi_lttng_loglevel_str_debug_module;
|
||||
+extern const char * const mi_lttng_loglevel_str_debug_process;
|
||||
+extern const char * const mi_lttng_loglevel_str_debug_program;
|
||||
+extern const char * const mi_lttng_loglevel_str_debug_system;
|
||||
+extern const char * const mi_lttng_loglevel_str_debug_unit;
|
||||
+extern const char * const mi_lttng_loglevel_str_emerg;
|
||||
+extern const char * const mi_lttng_loglevel_str_err;
|
||||
+extern const char * const mi_lttng_loglevel_str_info;
|
||||
+extern const char * const mi_lttng_loglevel_str_notice;
|
||||
+extern const char * const mi_lttng_loglevel_str_unknown;
|
||||
+extern const char * const mi_lttng_loglevel_str_warning;
|
||||
|
||||
/* String related to loglevel JUL */
|
||||
-const char * const mi_lttng_loglevel_str_jul_all;
|
||||
-const char * const mi_lttng_loglevel_str_jul_config;
|
||||
-const char * const mi_lttng_loglevel_str_jul_fine;
|
||||
-const char * const mi_lttng_loglevel_str_jul_finer;
|
||||
-const char * const mi_lttng_loglevel_str_jul_finest;
|
||||
-const char * const mi_lttng_loglevel_str_jul_info;
|
||||
-const char * const mi_lttng_loglevel_str_jul_off;
|
||||
-const char * const mi_lttng_loglevel_str_jul_severe;
|
||||
-const char * const mi_lttng_loglevel_str_jul_warning;
|
||||
+extern const char * const mi_lttng_loglevel_str_jul_all;
|
||||
+extern const char * const mi_lttng_loglevel_str_jul_config;
|
||||
+extern const char * const mi_lttng_loglevel_str_jul_fine;
|
||||
+extern const char * const mi_lttng_loglevel_str_jul_finer;
|
||||
+extern const char * const mi_lttng_loglevel_str_jul_finest;
|
||||
+extern const char * const mi_lttng_loglevel_str_jul_info;
|
||||
+extern const char * const mi_lttng_loglevel_str_jul_off;
|
||||
+extern const char * const mi_lttng_loglevel_str_jul_severe;
|
||||
+extern const char * const mi_lttng_loglevel_str_jul_warning;
|
||||
|
||||
/* String related to loglevel Log4j */
|
||||
-const char * const mi_lttng_loglevel_str_log4j_off;
|
||||
-const char * const mi_lttng_loglevel_str_log4j_fatal;
|
||||
-const char * const mi_lttng_loglevel_str_log4j_error;
|
||||
-const char * const mi_lttng_loglevel_str_log4j_warn;
|
||||
-const char * const mi_lttng_loglevel_str_log4j_info;
|
||||
-const char * const mi_lttng_loglevel_str_log4j_debug;
|
||||
-const char * const mi_lttng_loglevel_str_log4j_trace;
|
||||
-const char * const mi_lttng_loglevel_str_log4j_all;
|
||||
+extern const char * const mi_lttng_loglevel_str_log4j_off;
|
||||
+extern const char * const mi_lttng_loglevel_str_log4j_fatal;
|
||||
+extern const char * const mi_lttng_loglevel_str_log4j_error;
|
||||
+extern const char * const mi_lttng_loglevel_str_log4j_warn;
|
||||
+extern const char * const mi_lttng_loglevel_str_log4j_info;
|
||||
+extern const char * const mi_lttng_loglevel_str_log4j_debug;
|
||||
+extern const char * const mi_lttng_loglevel_str_log4j_trace;
|
||||
+extern const char * const mi_lttng_loglevel_str_log4j_all;
|
||||
|
||||
/* String related to loglevel type */
|
||||
-const char * const mi_lttng_loglevel_type_all;
|
||||
-const char * const mi_lttng_loglevel_type_range;
|
||||
-const char * const mi_lttng_loglevel_type_single;
|
||||
-const char * const mi_lttng_loglevel_type_unknown;
|
||||
+extern const char * const mi_lttng_loglevel_type_all;
|
||||
+extern const char * const mi_lttng_loglevel_type_range;
|
||||
+extern const char * const mi_lttng_loglevel_type_single;
|
||||
+extern const char * const mi_lttng_loglevel_type_unknown;
|
||||
|
||||
/* Sting related to lttng_calibrate */
|
||||
-const char * const mi_lttng_element_calibrate;
|
||||
-const char * const mi_lttng_element_calibrate_function;
|
||||
+extern const char * const mi_lttng_element_calibrate;
|
||||
+extern const char * const mi_lttng_element_calibrate_function;
|
||||
|
||||
/* String related to a lttng_snapshot */
|
||||
-const char * const mi_lttng_element_snapshot_ctrl_url;
|
||||
-const char * const mi_lttng_element_snapshot_data_url;
|
||||
-const char * const mi_lttng_element_snapshot_max_size;
|
||||
-const char * const mi_lttng_element_snapshot_n_ptr;
|
||||
-const char * const mi_lttng_element_snapshot_session_name;
|
||||
-const char * const mi_lttng_element_snapshots;
|
||||
+extern const char * const mi_lttng_element_snapshot_ctrl_url;
|
||||
+extern const char * const mi_lttng_element_snapshot_data_url;
|
||||
+extern const char * const mi_lttng_element_snapshot_max_size;
|
||||
+extern const char * const mi_lttng_element_snapshot_n_ptr;
|
||||
+extern const char * const mi_lttng_element_snapshot_session_name;
|
||||
+extern const char * const mi_lttng_element_snapshots;
|
||||
|
||||
/* Utility string function */
|
||||
const char *mi_lttng_loglevel_string(int value, enum lttng_domain_type domain);
|
||||
--
|
||||
1.9.1
|
||||
|
||||
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:128166445126d76da7d9f42a56dec12716732a1ed697a6cfdf40c9e135384f32
|
||||
size 921098
|
3
lttng-tools-2.7.1.tar.bz2
Normal file
3
lttng-tools-2.7.1.tar.bz2
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0c799fb21dfa42475feaa1507ded934608b2e531039b46c40e944a5b81c7b21c
|
||||
size 984351
|
@@ -4,50 +4,319 @@ Tue Aug 2 16:32:36 UTC 2016 - normand@linux.vnet.ibm.com
|
||||
- add ppc64/ppc64le in ExclusiveArch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 24 20:03:30 UTC 2015 - tonyj@suse.com
|
||||
Thu Jan 28 17:53:26 UTC 2016 - tonyj@suse.com
|
||||
|
||||
- Update to version 2.6.0
|
||||
Add patch: fix-gcc-5.1-mult-defn.patch
|
||||
http://git.lttng.org/?p=lttng-tools.git;a=blob_plain;f=ChangeLog;hb=c89365654b8ffa9aaa0a103bf19c3fafb7b6851f
|
||||
- Update to bugfix release 2.7.1 for SLE12SP2
|
||||
Changelog:
|
||||
http://git.lttng.org/?p=lttng-tools.git;a=blob_plain;f=ChangeLog;hb=v2.7.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 27 18:56:18 UTC 2014 - tonyj@suse.com
|
||||
Mon Oct 5 17:23:09 UTC 2015 - tonyj@suse.com
|
||||
|
||||
- Update to version 2.5
|
||||
Changelog: http://git.lttng.org/?p=lttng-tools.git;a=blob_plain;f=ChangeLog;hb=refs/heads/stable-2.5
|
||||
- Upgrade to release version 2.7.0 (FATE#319273)
|
||||
http://git.lttng.org/?p=lttng-tools.git;a=blob_plain;f=ChangeLog;hb=v2.7.0
|
||||
to view changelog from v2.7.0-rc1 to v2.7.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 15 18:01:30 UTC 2014 - tonyj@suse.com
|
||||
Tue Jul 28 22:42:00 UTC 2015 - tonyj@suse.com
|
||||
|
||||
- Update to version 2.7.0-rc1 (FATE#319273)
|
||||
Changelog for differences between 2.4.0 and this point may be found at:
|
||||
http://git.lttng.org/?p=lttng-tools.git;a=blob_plain;f=ChangeLog;hb=1808007961cfaa7f915e44424f790e616219a361
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 15 17:39:30 UTC 2014 - tonyj@suse.com
|
||||
|
||||
- Update to version 2.4.1
|
||||
Changelog:
|
||||
* Fix: don't delete stream from connection recv list
|
||||
* Fix: use after free of a relayd stream
|
||||
* Fix: don't print stream name in error message
|
||||
* Fix: take session list lock when listing tp
|
||||
* Fix: add consumer wake up pipe to avoid race
|
||||
* Fix: don't spawn relayd if URL is provided
|
||||
* Fix: don't ask data pending if session was not started
|
||||
* Fix: missing test file in EXTRA dist
|
||||
* Fix: allow empty URL for live session creation
|
||||
* Fix: missing valid return code when adding an URI to consumer
|
||||
* Fix: syntax error in lttng.1
|
||||
* Fix: check relayd fd leak in lttng cmdline
|
||||
* Fix: remove unused tp in high-throughput test
|
||||
* Use autoconf AM_MAINTAINER_MODE.
|
||||
* Fix: clang 'constant-out-of-range-compare' warning
|
||||
* Fix: Unchecked session pointer when destroying a connection in relayd
|
||||
|
||||
- Add dependancy on babeltrace and recommend kmps (bnc#872688)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 10 17:15:03 UTC 2014 - tonyj@suse.com
|
||||
Fri Feb 28 21:45:30 UTC 2014 - tonyj@suse.com
|
||||
|
||||
- Update to release 2.3.1
|
||||
- Update to version 2.4.0. Changelog for changes between 2.3.0 and 2.4.0
|
||||
may be found at: http://git.lttng.org/?p=lttng-tools.git;a=blob_plain;f=ChangeLog;hb=refs/heads/stable-2.4
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 6 17:38:30 UTC 2013 - tonyj@suse.com
|
||||
Mon Feb 10 18:26:45 UTC 2014 - tonyj@suse.com
|
||||
|
||||
- Update to release 2.2.3
|
||||
- Update to version 2.3.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 8 21:51:38 UTC 2013 - tonyj@suse.com
|
||||
Mon Mar 11 21:25:06 UTC 2013 - tonyj@suse.com
|
||||
|
||||
- Update to release 2.1.1
|
||||
- Upgrade to version 2.1.1 (FATE#314846)
|
||||
Changelog 2.1.1:
|
||||
* Fix: update next_net_seq_num after sending header
|
||||
* Fix: wrong loop continuation in metadata thread
|
||||
* Fix: lttng create session memleaks
|
||||
* Fix: remove unused session id map
|
||||
* Fix: wrong session id used on relayd lookup
|
||||
* Fix: add missing UST abi header for make dist
|
||||
* Fix: add missing rcu read side lock/unlock
|
||||
|
||||
Changelog 2.1.0:
|
||||
* STABLE VERSION 2.1.0-stable - "Basse Messe"
|
||||
* Multiple minor fixes
|
||||
* Multiple memory and fd leaks
|
||||
* Fix: Off by one in seq num for data pending command
|
||||
* Fix: flag metadata stream on quiescent control cmd
|
||||
* Fix: prioritize control socket communication in relayd
|
||||
* Fix: poll and epoll fd set reallocation
|
||||
* Fix: add missing goto pending if data is inflight
|
||||
* Fix: remove ua_sess->started assert on stop trace
|
||||
* Set classes of traffic in high_throughput_limit
|
||||
* Fix: use the poll wait ret value when iterating on fd(s)
|
||||
* Fix: force the poll() return value to be nb_fd
|
||||
* Fix: Wrong check of node when cleaning up ht
|
||||
* Fix: set started flag of ust app after ustctl
|
||||
* Fix: memory leak in add relayd socket error path
|
||||
* Fix: add packed attribute to filter structure
|
||||
* Fix: Add missing health code update for consumer command
|
||||
* Add LTTNG_PACKED macro
|
||||
* Fix data pending for inflight streaming
|
||||
* Map session id of relayd and sessiond in consumer
|
||||
* Add the relayd create session command
|
||||
* Make the consumer sends a ACK after each command
|
||||
* Remove MSG_WAITALL on every recvmsg() socket typ
|
||||
* Fix: Add missing relayd ht cleanup and ht destroy
|
||||
* Fix: Relayd and sessiond version check
|
||||
* Fix: protect consumer_find_channel with rcu locking
|
||||
* Fix: don't steal key when adding a metadata stream
|
||||
* Consumer hold stream mutex for add stream
|
||||
|
||||
Changelog 2.1.0-rc9:
|
||||
* Fix: set the stream ht static in consumer file
|
||||
* Update sessiond man page with new env var
|
||||
* Update lttng.1 man page
|
||||
* Fix: enable-consumer for all domains missing dir
|
||||
* Fix: Add missing fct prototypes when disabling UST
|
||||
* Fix a typo in lttng-probe-module name
|
||||
* Assign values to enum lttcomm_sessiond_command
|
||||
* Fix: run health test only if root
|
||||
* Clarify empty string/NULL filter errors
|
||||
* Fix: add missing padding for UST filter
|
||||
|
||||
Changelog 2.1.0-rc8:
|
||||
* Fix: Uninit. variable in lttng view
|
||||
* Add already enabled UST event error code
|
||||
* lttng.h API update: set filter becomes enable event with filter
|
||||
* Change the UST event hash table match function
|
||||
* Pass lttng_event struct to the set_filter API call
|
||||
* Adding context to an event is no longer possible
|
||||
* Add UST overlap tests
|
||||
* Add filter sequence number to UST
|
||||
* Fix: Typo from a previous patch in an assert()
|
||||
* Fix: Warn if session is running with lttng view
|
||||
* Fix: Add bash requirement to README for make check
|
||||
* Fix: add the notion of domain to lttng.1 man page
|
||||
* Enable additional kernel probes
|
||||
* Update CodingStyle
|
||||
* Use the new functions for default subbuf sizes
|
||||
* Add default subbuf sizes getter functions
|
||||
* Add max() and min() macro in common
|
||||
|
||||
Changelog 2.1.0-rc7:
|
||||
* Fix: Add pointer check when freeing poll events
|
||||
* Fix: FD leak on thread error
|
||||
* Fix: Wrong fd used by kernel_wait_quiescent
|
||||
* Support new lttng-ust error code
|
||||
* Fix: Don't set filter if enable event fails
|
||||
* Fix: Wrong data port when listing session
|
||||
* Fix: Enable event after start command
|
||||
* Fix: Teardown of thread_manage_clients on failure of listen/create_poll
|
||||
* Add a timeout to UST application socket
|
||||
* Fix: Consumerd error socket connect race
|
||||
* Fix: Set CLOEXEC flag on every created sockets
|
||||
* Remove consumer poll timeout in data thread
|
||||
* Fix: RCU hash table seed
|
||||
* Fix: Do not install health tests helper libraries
|
||||
* Fix: Create default channel on add-context if none
|
||||
* Support new liblttng-ust-ctl error code
|
||||
* Fix: Add EPIPE error handling on buffer splice
|
||||
* Fix: Channel creation error return code was not set
|
||||
* Fix: Wrong poll events on UST application socket
|
||||
* Fix: Remove dependency to urcu-cds in tools tests
|
||||
* Fix: Missing librt dependency in configure check for lttng-ust-ctl
|
||||
* Fix: Don't append datetime to default session name
|
||||
* Fix: Deny session creation name 'auto'
|
||||
* Fix: Add space for stream name CPU number
|
||||
* Fix: Add output option to enable-channel command
|
||||
|
||||
Changelog 2.1.0-rc6:
|
||||
* Tests: Add filtering tests for uncovered cases
|
||||
* Fix: Sync issue when deleting a data stream
|
||||
* Rename data_available to data_pending
|
||||
* Fix: consumer health state
|
||||
* Fix: Add the ACCOUNTING flag to ht creation and set bucket size to 0
|
||||
* Fix: Bad return error code handling
|
||||
* Fix: Use after free() of the rundir string
|
||||
* Fix: Cleanup UST app session on ustctl create session error
|
||||
* Fix: add missing pthread_join in sessiond
|
||||
* Fix: free running directory string
|
||||
* Fix: UST app clean list node usage
|
||||
* Add liblttng-ctl destructor to cleanup memory
|
||||
* Fix: Cleanup URIs on teardown
|
||||
* Fix: relayd memleaks
|
||||
* Fix: Memory leaks of allocated URIs
|
||||
* Fix: consumer output memory leak on creation
|
||||
* Fix: missing addrlen initialization before accept(2)
|
||||
* Fix: relayd trace file padding memleak
|
||||
* Fix: Remove useless consumer subdir string concatenation
|
||||
* Fix: lttng create allocated path memleak
|
||||
* Fix: Cppcheck memleakOnRealloc mistake
|
||||
* Fix: Synchronization issue for data available command
|
||||
* Fix: consumer relayd cleanup on disconnect
|
||||
* Fix: Handle the unary bitwise negation operator (~) in the XML printer
|
||||
* Fix: Possible memory leaks when creating filter IR root node
|
||||
* Fix: Delete stream on write error in consumer
|
||||
* Fix: Error handling when sending relayd sockets to consumer
|
||||
* Add stream lock comment for nesting
|
||||
* Fix: Mutex and RCU lock nesting in consumer
|
||||
* Fix: Uninitialized ret code
|
||||
* Fix: Remove bad condition and fix overflow issue
|
||||
* Fix: consumerd pthread error flow
|
||||
* Fix: Set a single return point and mutex unlock
|
||||
* Fix: Remove useless NULL and zero assignment
|
||||
* Fix: segfault on create session with two URLs
|
||||
|
||||
Changelog 2.1.0-rc5:
|
||||
* Fix: Remove network stream ID ABI calls
|
||||
* Tests: Add filtering tests
|
||||
* Wait for data availability when stopping a session
|
||||
* Relayd data available command support
|
||||
* Lib lttng-ctl data available command support
|
||||
* Consumer daemon data available command support
|
||||
* Add data structure for the data available command
|
||||
* Change the metadata hash table node
|
||||
* Make stream hash tables global to the consumer
|
||||
* Move add data stream to the data thread
|
||||
* Rename consumer threads and spawn them in daemon
|
||||
* Fix: relayd close stream command was not working
|
||||
* Fix: Relayd and consumerd socket leaks
|
||||
* Fix: Missing -ENODATA handling in the consumer
|
||||
* Fix: Empty metadata buffer(s) on HUP|ERR
|
||||
* ABI with support for compat 32/64 bits
|
||||
* Fix: Stream allocation and insertion consistency
|
||||
* Fix: output number of bytes written by relayd
|
||||
* Add hash table argument to helper functions
|
||||
* Fix: Add missing call rcu and read side lock
|
||||
* Tests: Fix LD_PRELOAD library lookup path for health tests
|
||||
* Fix: Add arbitrary wait period for kernel streaming test
|
||||
* Fix coding style and add/change debug statements
|
||||
* Fix: Build out of src tree
|
||||
* Tests: Add health check tests to configure
|
||||
* Tests: Add health check thread stall test
|
||||
* Tests: Add health check thread exit test
|
||||
* Tests: Add a health check utility program
|
||||
* Add testpoints in lttng-sessiond for each threads
|
||||
* New testpoint mechanism to instrument binaries for testing
|
||||
* Fix: off-by-one in comm proto between lttng-ctl and sessiond
|
||||
* Fix: Metadata stream leak when received in consumer
|
||||
* Fix: consumer_allocate_stream error handling
|
||||
* Fix: consumer should await for initial streams
|
||||
* Fix: Missing rcu read side lock in consumer
|
||||
|
||||
Changelog 2.1.0-rc4:
|
||||
* Fix: Change sempahore to pthread conditions
|
||||
* Fix: relayd relay_send_version: handle sscanf return code
|
||||
* Fix relayd: NULL ptr deref
|
||||
* Fix: relayd: possible NULL ptr deref, memory leak, accept fd leak
|
||||
* Tests: add print bytecode to filter grammar test
|
||||
* Cleanup: assign values to bytecode opcodes
|
||||
* Fix: Filter: Fix allocation length error
|
||||
* Fix: Filter: add missing ast free
|
||||
* Tests: Add high throughput with bandwidth limits test
|
||||
* Fix: Returned code when listing kernel channel
|
||||
* Tests: Rename helper functions to have consistent names
|
||||
* Tests: Cleanup redundant code and use printing helper functions
|
||||
* Tests: Add helper functions for printing status and banner
|
||||
* Tests: Add a check for color support when printing status
|
||||
* Fix: Lib lttng-ctl on error returns lttng code
|
||||
* Fix: lttng_set_event_filter() was returning bad error code
|
||||
* Fix: printing [no write] on lttng list -uf
|
||||
* Fix: Disable event on filter error with lttng
|
||||
* Fix: Wrong returned error code on UST enable event
|
||||
* Add consumer commands to lttng.1 man page
|
||||
* Add lttng_health_check(3) man page
|
||||
* Fix: Remove LPOLLNVAL from consumer metadata revents
|
||||
* Fix: Mismatch of field name between ust and tools
|
||||
* Add the written value when listing fields
|
||||
* Fix: Consumer return value check after mmap/splice
|
||||
* Don't send the subbuffer padding for streaming
|
||||
* Fix: Returned error code in consumer on read buffer
|
||||
|
||||
Changelog 2.1.0-rc3:
|
||||
* Fix: Relayd fix ret value when adding a connection
|
||||
* Add new thread in consumer for metadata handling
|
||||
* Fix: consumer recv command error path
|
||||
* Fix filter: fix recent regressions
|
||||
* Update lttng-ust-abi.h from upstream lttng-ust
|
||||
* Fix: Accept bytecode of length 65536 bytes
|
||||
* Fix: Generation of bytecode longer than 32768 bytes fails
|
||||
* Fix: Filter bytecode alloc buffer size must be a power of 2
|
||||
* Add lttng-ctl SWIG python bindings
|
||||
* Add C++ support to API header files
|
||||
* Librarify filter in liblttng-ctl and hide symbols
|
||||
* Set hidden visibility for calls used in lttng-ctl
|
||||
* Notify the user if a filter is already enabled
|
||||
* Install lttng-error.h and include it in lttng.h
|
||||
* Add lttng-error.h containing every API err. code
|
||||
* Fix: missing hostname context
|
||||
|
||||
Changelog 2.1.0-rc2:
|
||||
* Fix: put back 2.0 output text for lttng create cmd
|
||||
* Fix: remove set subdir call that uses bad ptr
|
||||
* Filter: Handle the unary bitwise not operator (~) with an unsupported
|
||||
* Fix: missing mutex unlock on register consumer err
|
||||
* Remove underscore from ifndef of lttng.h
|
||||
* Remove unused define in lttng.h
|
||||
* Standardize lttng command line usage text
|
||||
* Merge duplicate code in consumer for destroy relayd
|
||||
* Merge duplicate code in consumer for add relayd
|
||||
* Fix: Possible buffer overflows in strncat() usage
|
||||
* Move code out of main.c and fix some issues
|
||||
|
||||
Changelog 2.1.0-rc1:
|
||||
* Feature: Network Streaming
|
||||
* Add the lttng-relayd binary for network streaming
|
||||
* Support user space tracer filtering
|
||||
* Multiple fixes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 29 18:54:50 UTC 2012 - tonyj@suse.com
|
||||
|
||||
- Update to release 2.0.3
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 21 19:02:15 UTC 2012 - tonyj@suse.com
|
||||
|
||||
- Update to release 2.0.2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 14 16:19:39 CEST 2012 - ro@suse.de
|
||||
|
||||
- changed specfile license entry to GPL-2.0 and LGPL-2.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 20 07:31:41 UTC 2012 - jblunck@opensuse.org
|
||||
Fri Apr 20 20:07:41 UTC 2012 - tonyj@suse.com
|
||||
|
||||
- Update to release 2.0.1
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package lttng-tools
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -15,25 +15,27 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define majorversion 2.7.0
|
||||
|
||||
Name: lttng-tools
|
||||
Version: 2.6.0
|
||||
Version: 2.7.1
|
||||
Release: 0
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
Source: http://lttng.org/files/%{name}/%{name}-%{version}.tar.bz2
|
||||
Summary: Linux Trace Toolkit Next Generation 2.0 userspace tools
|
||||
License: GPL-2.0 and LGPL-2.1
|
||||
Group: Development/Languages/C and C++
|
||||
Url: http://lttng.org/lttng2.0
|
||||
BuildRequires: liburcu-devel
|
||||
BuildRequires: libuuid-devel
|
||||
BuildRequires: lttng-ust-devel >= 2.6.2
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: lttng-ust-devel >= %{majorversion}
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: popt-devel
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
ExclusiveArch: %ix86 x86_64 ppc64 ppc64le
|
||||
Requires: babeltrace
|
||||
Recommends: lttng-modules-kmp
|
||||
Patch1: fix-gcc-5.1-mult-defn.patch
|
||||
|
||||
%description
|
||||
This package provides the userspace tools for controlling the LTTng subsystem
|
||||
@@ -51,7 +53,6 @@ from userspace.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
%configure --docdir=%{_docdir}/%{name}
|
||||
@@ -73,11 +74,13 @@ rm -rf %buildroot
|
||||
%dir %{_libdir}/lttng
|
||||
%dir %{_libdir}/lttng/libexec
|
||||
%{_bindir}/lttng
|
||||
%{_bindir}/lttng-crash
|
||||
%{_bindir}/lttng-relayd
|
||||
%{_libdir}/lttng/libexec/lttng-consumerd
|
||||
%{_bindir}/lttng-sessiond
|
||||
%{_libdir}/*.so.*
|
||||
%{_mandir}/man1/lttng.1.gz
|
||||
%{_mandir}/man1/lttng-crash.1.gz
|
||||
%{_mandir}/man8/lttng-sessiond.8.gz
|
||||
%{_mandir}/man8/lttng-relayd.8.gz
|
||||
%dir %{_docdir}/%{name}
|
||||
@@ -85,8 +88,8 @@ rm -rf %buildroot
|
||||
%{_docdir}/%{name}/LICENSE
|
||||
%{_docdir}/%{name}/README.md
|
||||
%{_docdir}/%{name}/*.txt
|
||||
%dir %{_datadir}/xml/lttng
|
||||
%{_datadir}/xml/lttng/session.xsd
|
||||
%dir %{_prefix}/share/xml/lttng
|
||||
%{_prefix}/share/xml/lttng/session.xsd
|
||||
|
||||
%files -n %{name}-devel
|
||||
%defattr(-,root,root)
|
||||
|
Reference in New Issue
Block a user