projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Tests: fix oot and dist for rotation tests
[lttng-tools.git]
/
tests
/
regression
/
ust
/
ust-dl
/
libfoo.c
diff --git
a/tests/regression/ust/ust-dl/libfoo.c
b/tests/regression/ust/ust-dl/libfoo.c
index 0c918b1f0c91087ca70e476e22d7a4896bc4fb5b..3bebed42776db4e4f3c6cb4d61cdfd0af6d985eb 100644
(file)
--- a/
tests/regression/ust/ust-dl/libfoo.c
+++ b/
tests/regression/ust/ust-dl/libfoo.c
@@
-1,6
+1,13
@@
#include "libfoo.h"
+#include "libbar.h"
-int foo()
+#define TRACEPOINT_DEFINE
+#define TRACEPOINT_PROBE_DYNAMIC_LINKAGE
+#include "libfoo-tp.h"
+
+int foo(void)
{
+ tracepoint(libfoo, foo);
+ bar();
return 1;
}
This page took
0.024057 seconds
and
4
git commands to generate.