Generate local kernel and UST indexes

When the consumer creates a new trace file, it now creates as well an
index file that the viewers can use to navigate in the trace.  For now
these indexes are only local and not sent to the relayd.

This patch requires additionnal ioctl and ustctl calls implemented in
lttng-modules and lttng-ust in 2.4.

For now, no indexes are sent over the network and no indexes are
generated on snaphots.

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
Bump version to 2.4.0-pre1

We need to bump the version early in the development cycle since we
extend the relayd protocol.

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
Live timer set up

Add a new option to create to enable the live_timer.
This timer is responsible to check all streams of a live session and
make sure the viewer receives periodic updates even for low-throughput
channels.

This patch only enables the parameter from the UI to the consumer.
A couple of FIXMEs to check (changes to the ABI/API especially).

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
[MERGE] live timer modif

Signed-off-by: David Goulet <dgoulet@efficios.com>
[MERGE] Pass live timer to consumer at channel creation

Signed-off-by: David Goulet <dgoulet@efficios.com>
[MERGE] Fix lttng create session to use new API

Signed-off-by: David Goulet <dgoulet@efficios.com>
[MERGE] Use strtoul for live timer of create session cmd

Signed-off-by: David Goulet <dgoulet@efficios.com>
[MERGE] copy live timer and remove UST abi usage of live timer

Signed-off-by: David Goulet <dgoulet@efficios.com>