X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Ffork%2Ffork2.c;h=49baba8a727e21bd19613b09eb58e5ff03e23da2;hb=45d35b9f4e7d0d88f75238ba8a526cb7ea1a66d4;hp=8a14e1a20c22c04a1ffa203f6dc407e7fa468951;hpb=37ee34e4d9b9363c758aa43255d71661900e89b0;p=lttng-ust.git diff --git a/tests/fork/fork2.c b/tests/fork/fork2.c index 8a14e1a2..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"); - trace_mark(after_exec, MARK_NOARGS); + tracepoint(ust_tests_fork, after_exec); return 0; }