git-svn-id: http://ltt.polymtl.ca/svn@214 04897980-b3bd-0310-b5e0-8ef037075253
authoryangxx <yangxx@04897980-b3bd-0310-b5e0-8ef037075253>
Fri, 29 Aug 2003 16:50:24 +0000 (16:50 +0000)
committeryangxx <yangxx@04897980-b3bd-0310-b5e0-8ef037075253>
Fri, 29 Aug 2003 16:50:24 +0000 (16:50 +0000)
ltt/branches/poly/lttv/state.c

index 1a79246ee04df9ba7ec8b0a98b218cec7a79401b..a76918a24669c26ba47339b12091fbbf848e0c72 100644 (file)
@@ -317,6 +317,7 @@ LttvProcessState *create_process(LttvTracefileState *tfs,
 
   g_hash_table_insert(tcs->processes, GUINT_TO_POINTER(pid), process);
   process->pid = pid;
+  if(parent) process->ppid = parent->pid;
   process->birth = tfc->timestamp;
   process->name = LTTV_STATE_UNNAMED;
   process->interrupt_stack = g_array_new(FALSE, FALSE, 
This page took 0.025075 seconds and 4 git commands to generate.