[lttng-dev] [RELEASE] LTTng-Tools 2.9.0 - Joannès

Jérémie Galarneau jeremie.galarneau at efficios.com
Tue Nov 29 23:39:57 UTC 2016


Today marks the release of the final release of LTTng 2.9 - "Joannès".

This release is named after a Berliner Weisse style beer from the
Trèfle Noir microbrewery in Rouyn-Noranda. It is a tangy beer
with a distinct pink dress and intense fruit flavor, thanks to the
presence of fresh blackcurrant grown in Témiscamingue.

This new release introduces the following major features:

--- Session load overrides ---
The lttng load command now supports the --override-name and
--override-url options which, as their names indicate, now allow a
session configuration's destination and name parameter to be overridden
without editing the configuration file.

--- State Dump Regeneration ---
This release introduces the "lttng regenerate" command which accepts
both metadata and statedump arguments.

lttng regenerate metadata offers the same functionality as introduced
in LTTng 2.8 by the "lttng metadata" command.  However, the
"statedump" option introduced in this release allows users to trigger
a kernel and/or user-space state dump at will which is useful when
capturing a snapshot.

--- Custom perf PMU Counter Support ---
This feature allows enabling perf PMU counters by raw ID in addition
to the generic list already provided. The format for kernel tracing is
"perf:cpu:raw:rNNN:<name>" and "perf:thread:raw:rNNN:<name> for
user-space. The rNNN format is the same as perf-record(1) where NNN is
an hexadecimal event descriptor in the form of umask+eventsel. The
<name> field allows users to associate a "human-readable" name to the

Example usage on Intel i7-3520M to get the unhalted reference cycles
(eventsel: 0x13c) count at privilege level 0 (umask: 0x00):
$ lttng add-context --kernel --type perf:cpu:raw:r0013c:x86unhalted

Result in the trace: sched_switch: { cpu_id = 3 }, {
perf_cpu_raw_r0013c_x86unhalted = 27632578 }, [...]

--- macOS Support ---
LTTng 2.9 is the first release to officially support macOS.  The
current support is limited to the LTTng relay daemon which allows a
smoother integration within a trace analysis workflow, regardless of
the platform used.

We will cover all of these new features in depth in an upcoming post
on the official LTTng blog at lttng.org/blog.

The official documentation has been updated to reflect the
addition of these new features.

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

Note that this release marks the end of life of the LTTng 2.7.x release
series. A last version in this series, LTTng 2.7.6, will be released in the
next few days.

Project website: https://lttng.org

GPG sig:

Looking forward to your feedback!

Jérémie Galarneau
EfficiOS Inc.

More information about the lttng-dev mailing list