projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests: test_ust_constructor: Use a C-compiled shared object
[lttng-tools.git]
/
tests
/
utils
/
testapp
/
gen-ust-events-constructor
/
main.cpp
diff --git
a/tests/utils/testapp/gen-ust-events-constructor/main.cpp
b/tests/utils/testapp/gen-ust-events-constructor/main.cpp
index 9b754f61f8d3757f9f423bdad95ba67abfc5b2c9..8f80fb092437a76c6ffe7e2004d92071f7561fd9 100644
(file)
--- a/
tests/utils/testapp/gen-ust-events-constructor/main.cpp
+++ b/
tests/utils/testapp/gen-ust-events-constructor/main.cpp
@@
-7,6
+7,7
@@
#include "obj.h"
#include "tp-a.h"
#include "tp-a_c.h"
#include "obj.h"
#include "tp-a.h"
#include "tp-a_c.h"
+#include "tp-so_c.h"
#include "tp-so.h"
#include "tp.h"
#include "tp-so.h"
#include "tp.h"
@@
-14,13
+15,13
@@
void test_constructor_so(void) __attribute__((constructor));
void test_constructor_so(void)
{
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)
{
}
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");
}
Objso g_objso_shared_library("global - shared library define and provider");
This page took
0.025834 seconds
and
4
git commands to generate.