Actions
Bug #805
closedMultiple providers within same C file don't work as expected
Start date:
06/10/2014
Due date:
% Done:
100%
Estimated time:
Description
If we have a C file in an application that is meant to contain both the instrumentation and the provider, build fails if we have more than one provider.
For instance:
#define TRACEPOINT_DEFINE #define TRACEPOINT_CREATE_PROBES #include "ust_tests_hello.h" #include "another_tp.h"
fails with:
hello.c: In function ‘main’: hello.c:58:3: error: ‘__tracepoint_another_tp___a_message’ undeclared (first use in this function) hello.c:58:3: note: each undeclared identifier is reported only once for each function it appears in make: *** [hello.o] Error 1
Actions