X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=tests%2Futils%2Ftestapp%2Fgen-ust-events-constructor%2Fmain.cpp;h=8f80fb092437a76c6ffe7e2004d92071f7561fd9;hb=ed1b6b66f5b5d319e86aa7522edbf7517c7ed25d;hp=8cb4f78985045b6e9b5370f4aa04ee50dc0082fe;hpb=a4cc1b1ff4fc661a3980bbe2ceba789acf05dfce;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..8f80fb092 100644 --- a/tests/utils/testapp/gen-ust-events-constructor/main.cpp +++ b/tests/utils/testapp/gen-ust-events-constructor/main.cpp @@ -6,6 +6,8 @@ #include "obj.h" #include "tp-a.h" +#include "tp-a_c.h" +#include "tp-so_c.h" #include "tp-so.h" #include "tp.h" @@ -13,13 +15,13 @@ void test_constructor_so(void) __attribute__((constructor)); void test_constructor_so(void) { - tracepoint(tp_so, constructor_c_provider_shared_library); + tracepoint(tp_so_c, constructor_c_provider_shared_library); } void test_destructor_so(void) __attribute__((destructor)); void test_destructor_so(void) { - tracepoint(tp_so, destructor_c_provider_shared_library); + tracepoint(tp_so_c, destructor_c_provider_shared_library); } Objso g_objso_shared_library("global - shared library define and provider"); @@ -28,13 +30,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");