update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fix configure.ac java hint

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fix configure.ac

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Add live trace reading support to lttvtraceread lib

Add support to read trace that were not previously closed. Useful to
read live trace or incorrectly closed trace.  Support the opening of
incomplete tracefile and its delayed initialisation Rework the block
index management Add a ltt_tracefile_update, ltt_trace_update and
ltt_trace_open_live interface JNI interface for ltt_openTraceLive and
ltt_updateTrace

Update: Remove dead code and fix const correctness

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Add live trace read support to lttv base library and to command line modules

Change process_traceset_middle to handle live traces
Add lttv_process_trace_update to manage trace update
Add parameter to batchanalysis to indicate a live trace and its update
period.

When activating the live option of the batchAnalysis module, the trace
processing will loop. In each loop, it will wait for the specified
period, update the trace and then read the added events.

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Add live trace support to LTTV GUI.

Add an option to the open trace dialog to specify that the trace is to
be open in live mode
Update the displays when new events are available in a trace
Disable statistics for live traces

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fix format string warnings

Or `make check' fails when building with -Werror=format-security
(which is what Launchpad uses).

Signed-off-by: Alexandre Montplaisir <alexandre.montplaisir@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fix some implicit-function-declaration warnings

time_span -> timespan inconsistency
Add a missing prototype to lttvwindow/callbacks.c

Signed-off-by: Alexandre Montplaisir <alexandre.montplaisir@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
New maintainer

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Modernize configure.ac

Replace the old, very long autogen.sh with a 3-line bootstrap.
Use Autoconf portable macros where applicable.

This also makes the bootstrap fail right away when trying to compile on
a system without libgtk/glib, instead of throwing an obscure error at
configure time.

Signed-off-by: Alexandre Montplaisir <alexandre.montplaisir@gmail.com>
Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
Remove the --with-java-dir configure option

This can be easily specified using CFLAGS, so alleviate the
maintenance burden by keeping it out of LTTV's own configuration.

Signed-off-by: Alexandre Montplaisir <alexandre.montplaisir@gmail.com>
Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
Add a report at the end of the configure output

Signed-off-by: Alexandre Montplaisir <alexandre.montplaisir@gmail.com>
Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
Add the static binary option to the configure report

Also fixed how it was defined, as it would never be enabled
(withval vs. enableval)

Signed-off-by: Alexandre Montplaisir <alexandre.montplaisir@gmail.com>
Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
Test for gmodule inclusion in all cases

On recent glib versions, it seems gmodule needs to be included
separately from glib/gtk, or it leads to compilation errors,
e.g. undefined reference to `g_module_close'

Signed-off-by: Mathieu Denis <mathieu.denis55@gmail.com>
Signed-off by: Yannick Brosseau <yannick.brosseau@gmail.com>
Signed-off-by: Alexandre Montplaisir <alexandre.montplaisir@gmail.com>

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
Update gitignore

Signed-off-by: Alexandre Montplaisir <alexandre.montplaisir@gmail.com>
Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
Replace deprecated g_strcasecmp() with g_ascii_strcasecmp()

Signed-off-by: Alexandre Montplaisir <alexandre.montplaisir@gmail.com>
Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
Fix format-security warnings when building with trace-sync

Signed-off-by: Alexandre Montplaisir <alexandre.montplaisir@gmail.com>
Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
Remove warning generated by newer gcc (4.6)

Mostly set but unused variable.
One discard const qualifier

Most of the time, the offending code was removed. In some
places, it was commented out with a TODO because a full
remove will necessitate too much code rework for now.

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
Disable the error bell in the detailed events view

Signed-off-by: FrancisDeslauriers <francis.deslauriers@polymtl.ca>
Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
remove useless menu separator in the view menu

Signed-off-by: FrancisDeslauriers <francis.deslauriers@polymtl.ca>
Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>