projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Turn ISessiondCommand into an abstract class
[lttng-ust.git]
/
liblttng-ust-fork
/
ustfork.c
diff --git
a/liblttng-ust-fork/ustfork.c
b/liblttng-ust-fork/ustfork.c
index 13f77cfc47ba9e24207080d00c7f72763680f2b0..43b8d8f69a39e3683f59a02d1a4db76b990df3f2 100644
(file)
--- a/
liblttng-ust-fork/ustfork.c
+++ b/
liblttng-ust-fork/ustfork.c
@@
-18,13
+18,13
@@
*/
#define _GNU_SOURCE
*/
#define _GNU_SOURCE
-#include <dlfcn.h>
+#include <
lttng/ust-
dlfcn.h>
#include <unistd.h>
#include <stdio.h>
#include <signal.h>
#include <sched.h>
#include <stdarg.h>
#include <unistd.h>
#include <stdio.h>
#include <signal.h>
#include <sched.h>
#include <stdarg.h>
-#include
"usterr.h"
+#include
<errno.h>
#include <lttng/ust.h>
#include <lttng/ust.h>
@@
-139,7
+139,7
@@
int clone(int (*fn)(void *), void *child_stack, int flags, void *arg, ...)
tls, ctid);
} else {
/* Creating a real process, we need to intervene. */
tls, ctid);
} else {
/* Creating a real process, we need to intervene. */
- struct ustfork_clone_info info = {
fn = fn,
arg = arg };
+ struct ustfork_clone_info info = {
.fn = fn, .
arg = arg };
ust_before_fork(&info.sigset);
retval = plibc_func(clone_fn, child_stack, flags, &info,
ust_before_fork(&info.sigset);
retval = plibc_func(clone_fn, child_stack, flags, &info,
This page took
0.026449 seconds
and
4
git commands to generate.