Remove useless variable assignment

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Support old compilers

Some old compilers do not use C99 as their default C language variant,
for example gcc 4.3.x, which is used on some old machines. When such a
compiler is used, by default, ULLONG_MAX is not visible. Adding
-std=gnu99 is needed to make this definition visible.

In autoconf speak, this translates into the need of using
AC_PROC_CC_STDC instead of AC_PROG_CC. See
http://www.gnu.org/software/autoconf/manual/autoconf-2.65/html_node/C-Compiler.html
for more details.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Add bt_stream_pos to bt_trace_descriptor

This is intended to provide a generic way to access the bt_stream_pos API
without having to make assumptions about the output format's descriptor layout.

Renamed format-internal.h to trace-descriptor-internal.h to make it more
representative of the interface it really contains.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Fix converter code relying on the output type being ctf-text

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Add a format-agnostic iterator creation mechanism

Iterators now expose an event providing function so that a user does not
need to know the input trace format to get "bt_ctf_event"s.

A context can now create a specialized iterator depending on its input
trace format.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>