projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tracepoint API change: combine TP_PROTO and TP_VARS into TP_ARGS, remove _NOARGS...
[lttng-ust.git]
/
tests
/
fork
/
fork.c
diff --git
a/tests/fork/fork.c
b/tests/fork/fork.c
index 17162574195a9f89853ea35f7138cc61b5df0536..f15a692535d165a1d0ecb7c914e3f18b5d3e7120 100644
(file)
--- 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());
}
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) {
result = fork();
if (result == -1) {
@@
-47,7
+47,7
@@
int main(int argc, char **argv, char *env[])
printf("Child pid is %d\n", getpid());
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) {
result = execve(argv[1], args, env);
if (result == -1) {
@@
-55,7
+55,7
@@
int main(int argc, char **argv, char *env[])
return 1;
}
} else {
return 1;
}
} else {
- tracepoint(ust_tests_fork
_
after_fork_parent);
+ tracepoint(ust_tests_fork
,
after_fork_parent);
}
return 0;
}
return 0;
This page took
0.025236 seconds
and
4
git commands to generate.