]> git.ipfire.org Git - thirdparty/linux.git/commit
selftests/bpf: Add stacktrace ips test for kprobe/kretprobe
authorJiri Olsa <jolsa@kernel.org>
Mon, 26 Jan 2026 21:18:35 +0000 (22:18 +0100)
committerAndrii Nakryiko <andrii@kernel.org>
Fri, 30 Jan 2026 21:40:08 +0000 (13:40 -0800)
commit7373f97e868ad01fc73de8e7b71834eeba25d4f1
treebdbe9f356a4bb408ab049c45722571442ceaa3ad
parent0207f94971e72a13380e28022c86da147e8e090f
selftests/bpf: Add stacktrace ips test for kprobe/kretprobe

Adding test that attaches kprobe/kretprobe and verifies the
ORC stacktrace matches expected functions.

The test is only for ORC unwinder to keep it simple.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20260126211837.472802-5-jolsa@kernel.org
tools/testing/selftests/bpf/prog_tests/stacktrace_ips.c
tools/testing/selftests/bpf/progs/stacktrace_ips.c