mirror of
https://gitee.com/openharmony/kernel_linux
synced 2025-05-23 23:26:57 +00:00

Following x86-64 patches. Reuses code from them in fact. Convert the standard backtracer to do all output using callbacks. Use the x86-64 stack tracer implementation that uses these callbacks to implement the stacktrace interface. This allows to use the new dwarf2 unwinder for stacktrace and get better backtraces. Cc: mingo@elte.hu Signed-off-by: Andi Kleen <ak@suse.de>
2 lines
35 B
C
2 lines
35 B
C
#include <asm-x86_64/stacktrace.h>
|