X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=tests%2Ffork%2Ffork2.c;h=49baba8a727e21bd19613b09eb58e5ff03e23da2;hb=476037d9a24fdd5e339e3565743aadb9cb8a0a96;hp=187b7a1cecd50f66c56d7f450dc6c8ae2a377834;hpb=1fcf7ad708a39a7ab3b76b3cacbee2b39b19d0db;p=lttng-ust.git diff --git a/tests/fork/fork2.c b/tests/fork/fork2.c index 187b7a1c..49baba8a 100644 --- a/tests/fork/fork2.c +++ b/tests/fork/fork2.c @@ -18,6 +18,7 @@ #include #include +#define TRACEPOINT_DEFINE #define TRACEPOINT_CREATE_PROBES #include "ust_tests_fork.h" @@ -25,7 +26,7 @@ int main() { printf("IN FORK2\n"); - tracepoint(ust_tests_fork_after_exec); + tracepoint(ust_tests_fork, after_exec); return 0; }