From: compudj Date: Tue, 27 Jul 2004 21:13:38 +0000 (+0000) Subject: correct process fork and exit in state.c : inversed parent and child X-Git-Tag: v0.12.20~2851 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=34871cd8bae3bf0f9ea3ce70db03f1fe3af41cfa;p=lttv.git correct process fork and exit in state.c : inversed parent and child git-svn-id: http://ltt.polymtl.ca/svn@638 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/lttv/lttv/state.c b/ltt/branches/poly/lttv/lttv/state.c index 05852dfb..469ed1c2 100644 --- a/ltt/branches/poly/lttv/lttv/state.c +++ b/ltt/branches/poly/lttv/lttv/state.c @@ -992,7 +992,7 @@ static gboolean process_fork(LttvTraceHook *trace_hook, LttvTracefileState *s) guint child_pid; /* Child PID */ - f = trace_hook->f3; + f = trace_hook->f2; child_pid = ltt_event_get_unsigned(s->parent.e, f); lttv_state_create_process(s, s->process, child_pid);