The LTTng Documentation
=======================
Philippe Proulx <pproulx@efficios.com>
-v2.10, 12 November 2018
+v2.10, 19 November 2018
include::../common/copyright.txt[]
|<<building-from-source,Build LTTng{nbsp}{revision} from source>>.
|https://getfedora.org/[Fedora]
-|<<fedora,"Fedora{nbsp}27, Fedora{nbsp}28, and Fedora{nbsp}29">>.
+|xref:fedora[Fedora{nbsp}27, Fedora{nbsp}28, and Fedora{nbsp}29].
|<<building-from-source,Build LTTng{nbsp}{revision} from source>>.
|https://www.debian.org/[Debian]
|
|https://buildroot.org/[Buildroot]
-|<<buildroot,"Buildroot{nbsp}2018.02, Buildroot{nbsp}2018.05,
-Buildroot{nbsp}2018.08, and Buildroot{nbsp}2018.11">>.
+|xref:buildroot[Buildroot{nbsp}2018.02, Buildroot{nbsp}2018.05,
+Buildroot{nbsp}2018.08, and Buildroot{nbsp}2018.11].
|<<building-from-source,Build LTTng{nbsp}{revision} from source>>.
|http://www.openembedded.org/wiki/Main_Page[OpenEmbedded] and
see http://packages.efficios.com/[EfficiOS Enterprise Packages].
+[[buildroot]]
+=== Buildroot
+
+To install LTTng{nbsp}{revision} on Buildroot{nbsp}2018.02,
+Buildroot{nbsp}2018.05, Buildroot{nbsp}2018.08, or
+Buildroot{nbsp}2018.11:
+
+. Launch the Buildroot configuration tool:
++
+--
+[role="term"]
+----
+$ make menuconfig
+----
+--
+
+. In **Kernel**, check **Linux kernel**.
+. In **Toolchain**, check **Enable WCHAR support**.
+. In **Target packages**{nbsp}→ **Debugging, profiling and benchmark**,
+ check **lttng-modules** and **lttng-tools**.
+. In **Target packages**{nbsp}→ **Libraries**{nbsp}→
+ **Other**, check **lttng-libust**.
+
+
[[building-from-source]]
=== Build from source
----
--
+
+You need to stop tracing to make LTTng flush the remaining trace data
+and make the trace readable.
++
The man:lttng-destroy(1) command does not destroy the trace data; it
only destroys the state of the tracing session.
----
--
+
+You need to stop tracing to make LTTng flush the remaining trace data
+and make the trace readable.
++
The man:lttng-destroy(1) command does not destroy the trace data; it
only destroys the state of the tracing session.
man:lttng-start(1), warnings are printed when you run the
man:lttng-stop(1) command.
+IMPORTANT: You need to stop tracing to make LTTng flush the remaining
+trace data and make the trace readable.
+
[[enabling-disabling-channels]]
=== Create a channel