[PATCH] Merge stacktrace and show_trace
authorAndi Kleen <ak@suse.de>
Tue, 26 Sep 2006 08:52:34 +0000 (10:52 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Tue, 26 Sep 2006 08:52:34 +0000 (10:52 +0200)
commitc0b766f13d8e1189ce4d00e54700c9d96b543b9a
tree7acb6b7a46b3b0b53328f7d72949f75a57509064
parentc9538ed49272fb244ac06ba643ff076a68a77e12
[PATCH] Merge stacktrace and show_trace

This unifies the standard backtracer and the new stacktrace
in memory backtracer. The standard one is converted to use callbacks
and then reimplement stacktrace using new callbacks.

The main advantage is that stacktrace can now use the new dwarf2 unwinder
and avoid false positives in many cases.

I kept it simple to make sure the standard backtracer stays reliable.

Cc: mingo@elte.hu
Signed-off-by: Andi Kleen <ak@suse.de>
arch/x86_64/kernel/stacktrace.c
arch/x86_64/kernel/traps.c
include/asm-x86_64/stacktrace.h [new file with mode: 0644]