From: yangxx Date: Fri, 29 Aug 2003 16:50:24 +0000 (+0000) Subject: git-svn-id: http://ltt.polymtl.ca/svn@214 04897980-b3bd-0310-b5e0-8ef037075253 X-Git-Tag: v0.12.20~3275 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=0ac02254c703ff7692e92cf2fd1deb6ec467600a;p=lttv.git git-svn-id: ltt.polymtl.ca/svn@214 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/lttv/state.c b/ltt/branches/poly/lttv/state.c index 1a79246e..a76918a2 100644 --- a/ltt/branches/poly/lttv/state.c +++ b/ltt/branches/poly/lttv/state.c @@ -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,