summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2025-10-24 13:31:10 +0300
committerPeter Zijlstra <peterz@infradead.org>2025-10-29 12:29:58 +0300
commitae25884ad749e7f6e0c3565513bdc8aa2554a425 (patch)
tree373450384ff724ce72856374d5464dd3dc7abe22 /include/linux
parent49cf34c0815f93fb2ea3ab5cfbac1124bd9b45d0 (diff)
downloadlinux-ae25884ad749e7f6e0c3565513bdc8aa2554a425.tar.xz
unwind_user/x86: Teach FP unwind about start of function
When userspace is interrupted at the start of a function, before we get a chance to complete the frame, unwind will miss one caller. X86 has a uprobe specific fixup for this, add bits to the generic unwinder to support this. Suggested-by: Jens Remus <jremus@linux.ibm.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://patch.msgid.link/20251024145156.GM4068168@noisy.programming.kicks-ass.net
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/unwind_user_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/unwind_user_types.h b/include/linux/unwind_user_types.h
index 938f7e623332..412729a269bc 100644
--- a/include/linux/unwind_user_types.h
+++ b/include/linux/unwind_user_types.h
@@ -39,6 +39,7 @@ struct unwind_user_state {
unsigned int ws;
enum unwind_user_type current_type;
unsigned int available_types;
+ bool topmost;
bool done;
};