You should not create two compilation units with the same provider name in your application. This assertion is there to check just that.
* Simon Marchi ([email protected]) wrote: > 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 ! > > Simon > > [1] http://git.dorsal.polymtl.ca/~smarchi?p=ust-test.git;a=summary > > _______________________________________________ > lttng-dev mailing list > [email protected] > http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev -- Mathieu Desnoyers EfficiOS Inc. http://www.efficios.com _______________________________________________ lttng-dev mailing list [email protected] http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
