Re: [lttng-dev] [RELEASE] Babeltrace 2.0.0-pre1

2017-06-30 Thread Nathan Lynch
Nathan Lynch writes: > Static linking still needs work, specifically case #3 from this comment: > > https://bugs.lttng.org/issues/1055#note-2 > > Building on Fedora 25 with 'make LDFLAGS=-all-static' gets: > > ../lib/.libs/libbabeltrace.a(common.o): In function `bt_get_home_dir': > /home/nathanl/s

[lttng-dev] [PATCH] babeltrace-2.0: do not link with -export-dynamic

2017-06-30 Thread Nathan Lynch
It seems that changes in the plugin system make passing -export-dynamic to the linker unnecessary -- a welcome improvement. No regressions observed in the test suite. Signed-off-by: Nathan Lynch --- cli/Makefile.am | 2 +- configure.ac| 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(

Re: [lttng-dev] Writing from a trace to a new one with Babeltrace 2.0.0-pre1 C API

2017-06-30 Thread Julien Desfossez
Hi, On 2017-06-29 01:37 PM, Marie Martin wrote: > Hi everyone! > > I'm trying to use Babeltrace 2.0.0-pre1 C API to copy some events of an > existing CTF trace (generated with LTTng) into a new one. So I was > wondering how I should open the existing trace and iterate over its > events, as there