aboutsummaryrefslogtreecommitdiff
path: root/ltrace.h
diff options
context:
space:
mode:
authorJuan Cespedes <cespedes@coco.thehackers.org>2009-04-07 00:49:12 +0200
committerJuan Cespedes <cespedes@coco.thehackers.org>2009-04-07 00:49:12 +0200
commit138d41c7468ba77656170a869553e49b5409aa70 (patch)
tree9cdb0fe63cade66edeca9a301ea1c07ace7953b0 /ltrace.h
parent1423f082d22fc77baff60789c51471c7ff244295 (diff)
downloadltrace-138d41c7468ba77656170a869553e49b5409aa70.tar.gz
LT_EV_* -> EVENT_*
Diffstat (limited to 'ltrace.h')
-rw-r--r--ltrace.h26
1 files changed, 14 insertions, 12 deletions
diff --git a/ltrace.h b/ltrace.h
index fd60594..c1e24c6 100644
--- a/ltrace.h
+++ b/ltrace.h
@@ -186,22 +186,24 @@ struct process {
struct event {
struct process *proc;
enum {
- LT_EV_UNKNOWN,
- LT_EV_NONE,
- LT_EV_SIGNAL,
- LT_EV_EXIT,
- LT_EV_EXIT_SIGNAL,
- LT_EV_SYSCALL,
- LT_EV_SYSRET,
- LT_EV_ARCH_SYSCALL,
- LT_EV_ARCH_SYSRET,
- LT_EV_BREAKPOINT
+ EVENT_NONE,
+ EVENT_SIGNAL,
+ EVENT_EXIT,
+ EVENT_EXIT_SIGNAL,
+ EVENT_SYSCALL,
+ EVENT_SYSRET,
+ EVENT_ARCH_SYSCALL,
+ EVENT_ARCH_SYSRET,
+ EVENT_FORK,
+ EVENT_EXEC,
+ EVENT_BREAKPOINT
} thing;
union {
int ret_val; /* _EV_EXIT */
- int signum; /* _EV_SIGNAL, _EV_EXIT_SIGNAL */
- int sysnum; /* _EV_SYSCALL, _EV_SYSRET, _EV_ARCH_SYSCALL, _EV_ARCH_SYSRET */
+ int signum; /* _EV_SIGNAL, _EV_EXIT_SIGNAL */
+ int sysnum; /* _EV_SYSCALL, _EV_SYSRET */
void *brk_addr; /* _EV_BREAKPOINT */
+ int newpid; /* _EV_FORK */
} e_un;
};