From: compudj Date: Fri, 8 Dec 2006 19:48:14 +0000 (+0000) Subject: TASK_DEAD fix for 2.6.19 X-Git-Tag: v0.12.20~1188 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=5fe0b9ca3ca6a7ca1ed57c73f16ba2496c41dfc4;p=lttv.git TASK_DEAD fix for 2.6.19 git-svn-id: http://ltt.polymtl.ca/svn@2301 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/lttv/lttv/state.c b/ltt/branches/poly/lttv/lttv/state.c index b4e5efe3..cf7b0b00 100644 --- a/ltt/branches/poly/lttv/lttv/state.c +++ b/ltt/branches/poly/lttv/lttv/state.c @@ -2165,8 +2165,8 @@ static gboolean schedchange(void *hook_data, void *call_data) process->state->change = s->parent.timestamp; } - if(state_out == 32) - exit_process(s, process); /* EXIT_DEAD */ + if(state_out == 32 || state_out == 128) + exit_process(s, process); /* EXIT_DEAD || TASK_DEAD */ /* see sched.h for states */ } }