]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Merge branch 'x86-fgraph-bpf-fix-orc-stack-unwind-from-kprobe_multi'
authorAndrii Nakryiko <andrii@kernel.org>
Fri, 30 Jan 2026 21:40:09 +0000 (13:40 -0800)
committerAndrii Nakryiko <andrii@kernel.org>
Fri, 30 Jan 2026 21:40:09 +0000 (13:40 -0800)
Jiri Olsa says:

====================
x86/fgraph,bpf: Fix ORC stack unwind from kprobe_multi

hi,
Mahe reported missing function from stack trace on top of kprobe multi
program. It turned out the latest fix [1] needs some more fixing.

v2 changes:
- keep the unwind same as for kprobes, attached function
  is part of entry probe stacktrace, not kretprobe [Steven]
- several change in trigger bench [Andrii]
- added selftests for standard kprobes and fentry/fexit probes [Andrii]

Note I'll try to add similar stacktrace adjustment for fentry/fexit
in separate patchset to not complicate this change.

thanks,
jirka

[1] https://lore.kernel.org/bpf/20251104215405.168643-1-jolsa@kernel.org/
---
====================

Link: https://patch.msgid.link/20260126211837.472802-1-jolsa@kernel.org
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>

Trivial merge