X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=tests%2Futils%2Ftestapp%2Fgen-ust-events-constructor%2Fmain.cpp;h=9b754f61f8d3757f9f423bdad95ba67abfc5b2c9;hb=ab4919b5b443ac46269a5ba9f6bd00f0cbd9f35b;hp=8cb4f78985045b6e9b5370f4aa04ee50dc0082fe;hpb=b8e79f3f1057ff91224991f76b3837202bde5a06;p=lttng-tools.git diff --git a/tests/utils/testapp/gen-ust-events-constructor/main.cpp b/tests/utils/testapp/gen-ust-events-constructor/main.cpp index 8cb4f7898..9b754f61f 100644 --- a/tests/utils/testapp/gen-ust-events-constructor/main.cpp +++ b/tests/utils/testapp/gen-ust-events-constructor/main.cpp @@ -6,6 +6,7 @@ #include "obj.h" #include "tp-a.h" +#include "tp-a_c.h" #include "tp-so.h" #include "tp.h" @@ -28,13 +29,13 @@ Objso g_objso_shared_library("global - shared library define and provider"); void test_constructor_a(void) __attribute__((constructor)); void test_constructor_a(void) { - tracepoint(tp_a, constructor_c_provider_static_archive); + tracepoint(tp_a_c, constructor_c_provider_static_archive); } void test_destructor_a(void) __attribute__((destructor)); void test_destructor_a(void) { - tracepoint(tp_a, destructor_c_provider_static_archive); + tracepoint(tp_a_c, destructor_c_provider_static_archive); } Obja g_obja_static_archive("global - static archive define and provider");