]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
perf: Skip user unwind if the task is a kernel thread
authorJosh Poimboeuf <jpoimboe@kernel.org>
Wed, 20 Aug 2025 18:03:43 +0000 (14:03 -0400)
committerPeter Zijlstra <peterz@infradead.org>
Tue, 26 Aug 2025 07:51:13 +0000 (09:51 +0200)
commit16ed389227651330879e17bd83d43bd234006722
tree227860a8684309da8d99a7ffb5f44082ca68b34e
parentd77e3319e31098a6cb97b7ce4e71ba676e327fd7
perf: Skip user unwind if the task is a kernel thread

If the task is not a user thread, there's no user stack to unwind.

Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20250820180428.930791978@kernel.org
kernel/events/core.c