apt-get update
apt-get -y install lttng-tools babeltrace lttng-modules-dkms python3-babeltrace python3-progressbar
git clone https://github.com/lttng/lttng-analyses.git
+cd lttng-analyses
+./install.sh (or run from the local directory)
```
### Other distros
install LTTng and the [Babeltrace
README](http://git.efficios.com/?p=babeltrace.git;a=blob_plain;f=README;hb=HEAD)
to install ```babeltrace``` with the python bindings. Optionally install the
-```progressbar``` python module and then:
+```progressbar``` python module, and then:
```bash
git clone https://github.com/lttng/lttng-analyses.git
+cd lttng-analyses
+./install.sh (or run from the local directory)
```
## Trace creation
# events that might fail on specific kernels and that are not mandatory
lttng enable-event -s $SESSION_NAME -k writeback_pages_written -c chan1 >/dev/null 2>&1
-[[ $? != 0 ]] && echo "Warning: Optional event writeback_pages_written could not be enabled, everything will still work"
+[[ $? != 0 ]] && echo "Warning: Optional event writeback_pages_written could not be enabled, everything will still work (experimental feature)"
lttng enable-event -s $SESSION_NAME -k -c chan1 --syscall -a >/dev/null
[[ $? != 0 ]] && exit 2