X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=tests%2Ffork%2Ffork2.c;h=49baba8a727e21bd19613b09eb58e5ff03e23da2;hb=b25c5b37ef536d7b09fe901d97e678220ec69c9a;hp=c77a7051dd59de971b40566ab20099a2a52f391e;hpb=686debc34cf055ffcb1f98a06df9fbaf27eeb441;p=lttng-ust.git diff --git a/tests/fork/fork2.c b/tests/fork/fork2.c index c77a7051..49baba8a 100644 --- a/tests/fork/fork2.c +++ b/tests/fork/fork2.c @@ -18,13 +18,15 @@ #include #include -#include +#define TRACEPOINT_DEFINE +#define TRACEPOINT_CREATE_PROBES +#include "ust_tests_fork.h" int main() { printf("IN FORK2\n"); - ust_marker(after_exec, MARK_NOARGS); + tracepoint(ust_tests_fork, after_exec); return 0; }