Parse LTTng indexes

If a trace file has an associated index (same filename and .idx suffix),
we open it and use it instead of generating the index at open.

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
babeltrace handle the inactive streams (review needed)

when content_size == 0, just set the timestamp_end of the packet and
reinsert the stream in the heap.

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
fix handling of empty packets

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Handle empty streams on iterator init

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Live viewer

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Begin lttng-live input plugin

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>