[lttng-dev] [RELEASE] LTTng-Tools 2.5.3

Jérémie Galarneau jeremie.galarneau at efficios.com
Fri Dec 12 14:49:35 EST 2014

Hi all,

The lttng-tools project provides a session daemon (lttng-sessiond) that
acts as a tracing registry, the "lttng" command line for tracing
control, an lttng-ctl library for tracing control and an lttng-relay daemon
to provide network streaming and live reading capabilities.

This is version 2.5.3 which includes 50 new fixes.

A significant portion of these fixes were merged in the last few weeks
as part of the 2.6 release stabilization effort.

Of particular note are fixes pertaining to erroneous RCU usage which could
cause lockups or corruption under heavy loads and a data loss fix which
was discussed on this mailing list [1].

2014-12-12 lttng-tools 2.5.3 (International Day Of Heavy Metal)
* Fix: don't destroy the sockets if the snapshot was successful
* Fix: Missing RCU read lock in kernel_destroy_session()
* Fix: channel names are not validated
* Fix: Apply consumer URI changes to all domains
* Fix: Don't leave events enabled if they were saved in a disabled state
* Test fix: LTTNG_SESSION_CONFIG_XSD_PATH expects an absolute path
* Fix: Memory leak on error in alloc_argv_from_user_opts()
* Fix: Unreachable error logging in set_option()
* Fix: test_utils_expand_path.c: out of memory error handling
* Fix: test test_ust_data.c: check OOM
* Fix: test libc-wrapper: check malloc OOM
* Fix: lttng-ctl: use zmalloc(), missing OOM check
* Fix: filter-parser.y: use zmalloc(), missing OOM check
* Fix: utils.c: check str*dup OOM
* Fix: rculfhash: use zmalloc()
* Fix: ini.c: use zmalloc()
* Fix: lttng lttng.c: check strdup OOM
* Fix: lttng conf.c: use zmalloc()
* Fix: lttng view.c missing strdup OOM check
* Fix: use zmalloc() in lttng view.c
* Fix: use zmalloc() in lttng list.c
* Fix: use zmalloc in lttng enable_events.c
* Fix: Handle empty daemon configuration file lines
* Fix: missing strdup oom check in lttng create.c
* Fix: lttng add_context.c: use zmalloc
* Fix: add missing str*dup oom check in sessiond main.c
* Fix: add missing sessiond kernel-consumer missing str*dup oom checks
* Fix: add missing strdup OOM check
* Fix: Live tracing does not honor live timer after first tracefile
with tracefile rotation
* Docs: Add -f/--config option to lttng-sessiond man page
* Fix: relayd: unbalanced RCU read-side lock/unlock
* Fix: relayd: unbalanced RCU read lock/unlock
* Fix: lttng-relayd: unhandled out of memory error
* Fix: relayd viewer stream: unhandled out of memory error
* Fix: Missing rcu_read_lock in cmd_list_channels()
* Fix: Missing rcu_read_lock in cmd_snapshot_list_outputs()
* Fix: Missing rcu_read_lock in ust_app_get_nb_stream()
* Fix: UST subbuffers silently dropped on moderate trace traffic
* Fix: Missing rcu_read_lock in get_session_max_subbuf_size()
* Fix: create/destroy a splice_pipe per stream
* Fix: return EINVAL if agent registration fails
* Note find_ust_app_context must be called with RCU read lock
* Fix: check userspace perf counter name when looking up contexts
* Fix: empty indexes_ht before destroying it.
* Fix: removed useless key from relay_index
* Fix: filter bytecode and string memory leak on error
* Fix: HT must not be destroyed with a rcu_read_lock held
* Fix: missing rcu_read_lock in cmd_start_trace()
* Fix: filter attach vs event enable race
* Build fix: use ret directly in error handling path
* Fix: Warn the user when enabling an event in a new domain
* Fix: Don't report an error when listing a session with no channels
* Fix: Add missing URCU_TLS access to error_log_time

As always, please report any issue you may encounter to bugs.lttng.org
or on this mailing list.

Project website: https://lttng.org

Download links:
GPG sig: https://lttng.org/files/lttng-tools/lttng-tools-2.5.3.tar.bz2.asc


[1] http://lists.lttng.org/pipermail/lttng-dev/2014-November/023832.html

Jérémie Galarneau
EfficiOS Inc.

More information about the lttng-dev mailing list