]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
tracing/function-return-tracer: free the return stack on free_task()
authorFrederic Weisbecker <fweisbec@gmail.com>
Sun, 23 Nov 2008 17:43:39 +0000 (18:43 +0100)
committerIngo Molnar <mingo@elte.hu>
Sun, 23 Nov 2008 21:34:02 +0000 (22:34 +0100)
commit65afa5e603d507014580ead016ec887b49e1afa6
tree0ee309e4193e90587b2febda09143891e0591cdc
parenteae849ca034c7f1015f0a6f17421ebc737f0a069
tracing/function-return-tracer: free the return stack on free_task()

Impact: avoid losing some traces when a task is freed

do_exit() is not the last function called when a task finishes.
There are still some functions which are to be called such as
ree_task().  So we delay the freeing of the return stack to the
last moment.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/exit.c
kernel/fork.c