]> git.baikalelectronics.ru Git - kernel.git/commit
x86: don't save unreliable stack trace entries
authorVegard Nossum <vegard.nossum@gmail.com>
Fri, 22 Feb 2008 18:23:58 +0000 (19:23 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 26 Feb 2008 11:55:58 +0000 (12:55 +0100)
commit34257324e57b2f6584f37fcb1d6c6501496d45e4
tree14d6218acfc06a20450cf80365a1854af4c096b0
parent3496b4a1a6900585efd2f2f2552e4106f16d4730
x86: don't save unreliable stack trace entries

Currently, there is no way for print_stack_trace() to determine whether
a given stack trace entry was deemed reliable or not, simply because
save_stack_trace() does not record this information. (Perhaps needless
to say, this makes the saved stack traces A LOT harder to read, and
probably with no other benefits, since debugging features that use
save_stack_trace() most likely also require frame pointers, etc.)

This patch reverts to the old behaviour of only recording the reliable trace
entries for saved stack traces.

Signed-off-by: Vegard Nossum <vegardno@ifi.uio.no>
Acked-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/stacktrace.c