With 5.18.0-0.rc5.20220504git107c948d1d3e61d.42.fc37.x86_64 we have ---------------------8<-------------------------------------------------------- :: [ 08:26:39 ] :: [ BEGIN ] :: Running 'stap --skip-badvars --ldd backtrackator.stp -c ./classes > output.out' In file included from /usr/share/systemtap/runtime/linux/../regs.c:20, from /usr/share/systemtap/runtime/linux/runtime.h:270, from /usr/share/systemtap/runtime/runtime.h:26, from /tmp/stap7hYYpn/stap_9beffd9064cc2c18ddd2daf7f47a7e44_5966_src.c:21: /usr/share/systemtap/runtime/stack.c: In function ‘_stp_stack_unwind_one_kernel’: /usr/share/systemtap/runtime/linux/../linux/regs.c:23:32: error: ‘struct kretprobe_instance’ has no member named ‘ret_addr’ 23 | #define _stp_ret_addr_r(ri) (ri->ret_addr) | ^~ /usr/share/systemtap/runtime/stack.c:358:47: note: in expansion of macro ‘_stp_ret_addr_r’ 358 | return (unsigned long)_stp_ret_addr_r(c->ips.krp.pi); | ^~~~~~~~~~~~~~~ make[1]: *** [scripts/Makefile.build:288: /tmp/stap7hYYpn/stap_9beffd9064cc2c18ddd2daf7f47a7e44_5966_src.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:1844: /tmp/stap7hYYpn] Error 2 WARNING: kbuild exited with status: 2 Pass 4: compilation failed. [man error::pass4] :: [ 08:26:59 ] :: [ FAIL ] :: Command 'stap --skip-badvars --ldd backtrackator.stp -c ./classes > output.out' (Expected 0, got 1) ---------------------8<-------------------------------------------------------- Related to CONFIG_KRETPROBE_ON_RETHOOK https://elixir.bootlin.com/linux/v5.18-rc5/source/include/linux/kprobes.h#L163 Needs fixing on the stap side.