X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=tests%2Ffork%2Ffork.c;h=f15a692535d165a1d0ecb7c914e3f18b5d3e7120;hb=63ef26930fe613a266cc69f5089cf643dd59b012;hp=17162574195a9f89853ea35f7138cc61b5df0536;hpb=1fcf7ad708a39a7ab3b76b3cacbee2b39b19d0db;p=lttng-ust.git diff --git a/tests/fork/fork.c b/tests/fork/fork.c index 17162574..f15a6925 100644 --- a/tests/fork/fork.c +++ b/tests/fork/fork.c @@ -35,7 +35,7 @@ int main(int argc, char **argv, char *env[]) } printf("Fork test program, parent pid is %d\n", getpid()); - tracepoint(ust_tests_fork_before_fork); + tracepoint(ust_tests_fork, before_fork); result = fork(); if (result == -1) { @@ -47,7 +47,7 @@ int main(int argc, char **argv, char *env[]) printf("Child pid is %d\n", getpid()); - tracepoint(ust_tests_fork_after_fork_child, getpid()); + tracepoint(ust_tests_fork, after_fork_child, getpid()); result = execve(argv[1], args, env); if (result == -1) { @@ -55,7 +55,7 @@ int main(int argc, char **argv, char *env[]) return 1; } } else { - tracepoint(ust_tests_fork_after_fork_parent); + tracepoint(ust_tests_fork, after_fork_parent); } return 0;