correct process fork and exit in state.c : inversed parent and child
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Tue, 27 Jul 2004 21:13:38 +0000 (21:13 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Tue, 27 Jul 2004 21:13:38 +0000 (21:13 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@638 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/lttv/lttv/state.c

index 05852dfb784d2c70bf44f34390ec6c9b5e610ba7..469ed1c22186876fea237ba7324cf6a89129a1fe 100644 (file)
@@ -992,7 +992,7 @@ static gboolean process_fork(LttvTraceHook *trace_hook, LttvTracefileState *s)
   guint child_pid;
 
   /* Child PID */
   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);
   child_pid = ltt_event_get_unsigned(s->parent.e, f);
 
   lttv_state_create_process(s, s->process, child_pid);
This page took 0.02512 seconds and 4 git commands to generate.