This enables deferred unwinding for x86.
Changes since v1: https://lore.kernel.org/linux-trace-kernel/20250820190546.172023727@kernel.org
- Added #include <linux/compat.h> to use user_64bit_mode() in
unwind_user.h. When adding this to the ftrace code, it failed to build
due to the missing header.
Josh Poimboeuf (1):
unwind_user/x86: Enable frame pointer unwinding on x86
Steven Rostedt (1):
unwind deferred/x86: Do not defer stack tracing for compat tasks
----
arch/x86/Kconfig | 1 +
arch/x86/include/asm/unwind_user.h | 23 +++++++++++++++++++++++
include/linux/unwind_deferred.h | 5 +++++
kernel/unwind/deferred.c | 3 +++
4 files changed, 32 insertions(+)
create mode 100644 arch/x86/include/asm/unwind_user.h