[lttng-dev] UST tracepoints, same provider, different files
Mathieu Desnoyers
mathieu.desnoyers at efficios.com
Mon Apr 29 12:25:37 EDT 2013
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 (simon.marchi at polymtl.ca) 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
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
--
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com
More information about the lttng-dev
mailing list