systemtap/tests/Regression/RHEL6Feature-cpp-backtraces
2023-11-24 15:13:33 +01:00
..
backtrackator.stp Include downstream/RHEL tests 2022-05-10 09:56:18 +02:00
classes.cpp Include downstream/RHEL tests 2022-05-10 09:56:18 +02:00
classes.hpp Include downstream/RHEL tests 2022-05-10 09:56:18 +02:00
golden.out CI Tests: Robustify Regression/RHEL6Feature-cpp-backtraces 2023-11-24 15:13:33 +01:00
main.cpp Include downstream/RHEL tests 2022-05-10 09:56:18 +02:00
main.fmf CI Tests: Robustify Regression/RHEL6Feature-cpp-backtraces 2023-11-24 15:13:33 +01:00
README Include downstream/RHEL tests 2022-05-10 09:56:18 +02:00
runtest.sh CI Tests: Robustify Regression/RHEL6Feature-cpp-backtraces 2023-11-24 15:13:33 +01:00

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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.