whats-new: remove LTTng-modules clock plugin
[lttng-docs.git] / contents / whats-new.md
CommitLineData
727aa690
PP
1---
2id: whats-new
3---
4
179d0464
PP
5LTTng 2.7 ships with a generous list of new features, with essential
6additions to all the project's components.
7
8Dynamic filtering of user space tracepoints has been available for
9quite some time now
10(see [Enabling and disabling events](#doc-enabling-disabling-events)).
11LTTng 2.7 adds filtering support to kernel events as well. For example:
12
13<pre class="term">
14lttng enable-event --kernel irq_handler_entry --filter 'irq == 28'
15</pre>
16
71c82cd2 17LTTng 2.7 adds wildcard support for kernel event names:
727aa690
PP
18
19<pre class="term">
179d0464 20lttng enable-event --kernel 'sched_*'
727aa690
PP
21</pre>
22
179d0464
PP
23On the user space tracing side, the new [`tracelog()`](#doc-tracelog)
24facility allows users to easily migrate from logging to tracing.
25`tracelog()` is similar to [`tracef()`](#doc-tracef), but accepts
26an additional log level parameter.
27
28The new `--shm-path` option of `lttng create` can be used to specify the
29path where the shared memory holding the ring buffers are
30created. This feature is useful when used with persistent memory file
31systems to extract the latest recorded trace data in the event of a
32crash requiring a reboot. The new `lttng-crash` command line
33utility can extract trace data from such a file (see
34[Recording trace data on persistent memory file systems](#doc-persistent-memory-file-systems)).
35
71c82cd2
PP
36LTTng-UST 2.7 can rely on a user plugin to provide a custom clock source
37to its tracer. LTTng-UST can also load a user plugin to retrieve the
38current CPU number. This feature exists for very advanced use cases. See
179d0464
PP
39the <a href="https://github.com/lttng/lttng-ust/tree/master/doc/examples/clock-override" class="ext">clock-override</a>
40and <a href="https://github.com/lttng/lttng-ust/tree/master/doc/examples/getcpu-override" class="ext">getcpu-override</a>
41examples for more details.
42
43Python developers can now benefit from the new
44[LTTng-UST Python agent](#doc-python-application),
45a Python&nbsp;2/3-compatible package which allows standard Python logging
46using the `logging` module to output log entries to an LTTng trace.
47
48Last but not least, the new `lttng track` and `lttng untrack` commands
49make [<abbr title="process ID">PID</abbr> tracking](#doc-pid-tracking)
50super-fast for both the kernel and the user space domains. When one or
51more PIDs are tracked, only the processes having those PIDs are allowed
52to emit enabled events.
53
54Moreover, LTTng 2.7 boasts great stability, benifiting from piles of
55bug fixes and more-than-welcome internal refactorings.
26418fc3 56
71c82cd2 57<!--
179d0464
PP
58To learn more about the new features of LTTng 2.7, see
59<a href="" class="ext">the release announcement</a>.
71c82cd2 60-->
This page took 0.02524 seconds and 4 git commands to generate.