aboutsummaryrefslogtreecommitdiff
path: root/ltrace.h
diff options
context:
space:
mode:
authorJuan Cespedes <cespedes@debian.org>2009-04-07 15:33:50 +0200
committerJuan Cespedes <cespedes@debian.org>2009-04-07 15:33:50 +0200
commitda9b953284966b8c52de43713ebb5b503756e468 (patch)
tree9ccf507c40ff259bd43f3e7dce0857c65f9cf4e7 /ltrace.h
parent375ef8e667be88645f6af6bb099f04471c7f53cd (diff)
downloadltrace-da9b953284966b8c52de43713ebb5b503756e468.tar.gz
More fields to struct "options"
(opt_c, opt_d, opt_A)
Diffstat (limited to 'ltrace.h')
-rw-r--r--ltrace.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/ltrace.h b/ltrace.h
index 2677ebf..acfbd4d 100644
--- a/ltrace.h
+++ b/ltrace.h
@@ -195,15 +195,16 @@ struct event {
EVENT_ARCH_SYSCALL,
EVENT_ARCH_SYSRET,
EVENT_FORK,
+ EVENT_CLONE, /* Like FORK, but parent and child share memory */
EVENT_EXEC,
EVENT_BREAKPOINT
} thing;
union {
- int ret_val; /* _EV_EXIT */
- int signum; /* _EV_SIGNAL, _EV_EXIT_SIGNAL */
- int sysnum; /* _EV_SYSCALL, _EV_SYSRET */
- void *brk_addr; /* _EV_BREAKPOINT */
- int newpid; /* _EV_FORK */
+ int ret_val; /* EVENT_EXIT */
+ int signum; /* EVENT_SIGNAL, EVENT_EXIT_SIGNAL */
+ int sysnum; /* EVENT_SYSCALL, EVENT_SYSRET */
+ void *brk_addr; /* EVENT_BREAKPOINT */
+ int newpid; /* EVENT_FORK, EVENT_CLONE */
} e_un;
};