[lttng-dev] UST tracepoints, same provider, different files

Simon Marchi simon.marchi at polymtl.ca
Mon Apr 29 09:58:01 EDT 2013

Hello !

I am trying to add two tracepoints to a simple test application. If I
put both tracepoints in different compilation units (two .c files),
UST crashes when the application starts with the following message:

test: /usr/local/include/lttng/ust-tracepoint-event.h:685:
__lttng_events_init__my_project: Assertion `!ret' failed.

I made an example [1] so you can simply run "make && ./test". I am
using the latest git versions, on Ubuntu 13.04 x86_64.

Thanks !


[1] http://git.dorsal.polymtl.ca/~smarchi?p=ust-test.git;a=summary

More information about the lttng-dev mailing list