Tracepoint API change: add provider field
[lttng-ust.git] / tests / fork / fork.c
index 17162574195a9f89853ea35f7138cc61b5df0536..f15a692535d165a1d0ecb7c914e3f18b5d3e7120 100644 (file)
@@ -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_forkbefore_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_forkafter_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_forkafter_fork_parent);
        }
 
        return 0;
This page took 0.024643 seconds and 4 git commands to generate.