tests: test_ust_constructor: Use a C-compiled static archive
[lttng-tools.git] / tests / utils / testapp / gen-ust-events-constructor / main.cpp
index 8cb4f78985045b6e9b5370f4aa04ee50dc0082fe..9b754f61f8d3757f9f423bdad95ba67abfc5b2c9 100644 (file)
@@ -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");
This page took 0.024795 seconds and 4 git commands to generate.