[lttng-dev] [RFC PATCH babeltrace] Use glib portable macros to convert gpointer to int

2016-09-14 Thread Michael Jeanson
--- formats/ctf-text/ctf-text.c | 2 +- formats/ctf/callbacks.c | 4 ++-- formats/ctf/events.c | 2 +- formats/ctf/ir/field-types.c | 4 ++-- formats/ctf/metadata/ctf-parser.y

[lttng-dev] [PATCH babeltrace 4/4] Cleanup: bt namespace for compat memstream.h

2016-09-14 Thread Michael Jeanson
Signed-off-by: Michael Jeanson --- formats/ctf/ctf.c | 6 +++--- formats/lttng-live/lttng-live-comm.c | 10 +- include/babeltrace/compat/memstream.h | 16 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/formats/ctf/ctf.c b/formats/ct

[lttng-dev] [PATCH babeltrace 2/4] Cleanup: bt namespace for compat timegm

2016-09-14 Thread Michael Jeanson
Signed-off-by: Michael Jeanson --- converter/babeltrace-log.c | 2 +- include/babeltrace/compat/utc.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/converter/babeltrace-log.c b/converter/babeltrace-log.c index db7f60f..8cb35d1 100644 --- a/converter/babeltrace-log.

[lttng-dev] [PATCH babeltrace 3/4] Cleanup: bt namespace for compat glib

2016-09-14 Thread Michael Jeanson
Signed-off-by: Michael Jeanson --- include/babeltrace/compat/glib.h | 8 lib/values.c | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/include/babeltrace/compat/glib.h b/include/babeltrace/compat/glib.h index a95d045..dd03b19 100644 --- a/inclu

[lttng-dev] [PATCH babeltrace 1/4] Cleanup: bt namespace for compat strerror_r

2016-09-14 Thread Michael Jeanson
Signed-off-by: Michael Jeanson --- include/babeltrace/babeltrace-internal.h | 4 ++-- include/babeltrace/compat/string.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/babeltrace/babeltrace-internal.h b/include/babeltrace/babeltrace-internal.h index 2f15a6

Re: [lttng-dev] lttng view on --live session vs direct babeltrace use on UST - solved

2016-09-14 Thread Staffan Tjernstrom
> lttng view -e "/usr/bin/babeltrace --clock-date --clock-gmt" > Having found the tail end of the docs, that line needs to be: lttng view -e "/usr/bin/babeltrace --clock-date --clock-gmt --input-format=lttng-live" ___ lttng-dev mailing list lttng-dev@li

[lttng-dev] lttng view on --live session vs direct babeltrace use on UST

2016-09-14 Thread Staffan Tjernstrom
"/usr/bin/babeltrace --clock-date --clock-gmt" produces the following error: Trace directory: net://localhost/host/e7ch1sapphire01.faction.local/auto-20160914-150040 [error] Unable to open trace directory "net://localhost/host/e7ch1sapphire01.faction.local/auto-20160914-150040&quo

Re: [lttng-dev] [PATCH] babeltrace: add test for babeltrace --list

2016-09-14 Thread Jérémie Galarneau
Merged, thanks! Jérémie On Tue, Sep 13, 2016 at 1:55 PM, Nathan Lynch wrote: > On 09/13/2016 12:47 PM, Jérémie Galarneau wrote: >> The patch looks good to me, but would you mind changing the header of >> test_formats to the full GPL header + copyright mention, as is done >> here: >> >> https://r