[Bug runtime/32856] Systemtap does not work with Fedora rawhide kernel-6.15.0-0.rc0.20250403gita2cc6ff5ec8f.10.fc43.x86_64 (or newer)
wcohen at redhat dot com
sourceware-bugzilla@sourceware.org
Mon Apr 21 00:04:35 GMT 2025
https://sourceware.org/bugzilla/show_bug.cgi?id=32856
--- Comment #8 from William Cohen <wcohen at redhat dot com> ---
To make it a bit easier for others to follow along and check the patches there
is now a wcohen/linux615 branch with the current set of patches (4 at the
moment):
https://sourceware.org/git/?p=systemtap.git;a=shortlog;h=refs/heads/wcohen/linux615
There are remaining issues with systemtap's runtime/linux/stap-hw-breakpoint.h
on x86_64. See the following when running kernel-hw-breakpoint-addr-err.exp:
Running
/home/wcohen/systemtap_write/systemtap/testsuite/systemtap.base/kernel-hw-breakpoint-addr-err.exp
...
FAIL: kernel-hw-breakpoint-addr-err: TEST 1: kernel.data(ADDR).rw 2nd probe
failed to register (kernel): stderr: fails to match regex "^ERROR: Probe
kernel\.data\("blah_no_such_symbol"\)\.length\(1\)\.rw registration failed:
invalid symbol 'blah_no_such_symbol'": got "In file i\
ncluded from stap_30daa8d2bd3aff60b5d3a3798dcc04a4_2874_src.c:548:
/home/wcohen/systemtap_write/install/share/systemtap/runtime/linux/stap-hw-breakpoint.h:
In function 'stap_hwbkpt_init':
/home/wcohen/systemtap_write/install/share/systemtap/runtime/linux/stap-hw-breakpoint.h:91:38:
error: assignment from pointer to non-enclosed address space
91 | ret_array[i] = register_wide_hw_breakpoint(hp,
triggered, NULL);
| ^
/home/wcohen/systemtap_write/install/share/systemtap/runtime/linux/stap-hw-breakpoint.h:91:38:
note: expected 'void *' but pointer is of type 'struct perf_event * __seg_gs*'
/home/wcohen/systemtap_write/install/share/systemtap/runtime/linux/stap-hw-breakpoint.h:137:64:
error: passing argument 1 of 'unregister_wide_hw_breakpoint' from pointer to
non-enclosed address space
137 | unregister_wide_hw_breakpoint(ret_array[i]);
| ~~~~~~~~~^~~
In file included from stap_30daa8d2bd3aff60b5d3a3798dcc04a4_2874_src.c:547:
/usr/src/kernels/6.15.0-0.rc2.20250415git834a4a689699.23.fc43.x86_64/include/linux/hw_breakpoint.h:86:73:
note: expected 'struct perf_event * __seg_gs*' but argument is of type 'void *'
86 | extern void unregister_wide_hw_breakpoint(struct perf_event * __percpu
*cpu_events);
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/home/wcohen/systemtap_write/install/share/systemtap/runtime/linux/stap-hw-breakpoint.h:
In function 'stap_hwbkpt_exit':
/home/wcohen/systemtap_write/install/share/systemtap/runtime/linux/stap-hw-breakpoint.h:154:55:
error: passing argument 1 of 'unregister_wide_hw_breakpoint' from pointer to
non-enclosed address space
154 | unregister_wide_hw_breakpoint((struct
perf_event **) ret_array[i]);
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/kernels/6.15.0-0.rc2.20250415git834a4a689699.23.fc43.x86_64/include/linux/hw_breakpoint.h:86:73:
note: expected 'struct perf_event * __seg_gs*' but argument is of type 'struct
perf_event **'
86 | extern void unregister_wide_hw_breakpoint(struct perf_event * __percpu
*cpu_events);
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
make[5]: ***
[/usr/src/kernels/6.15.0-0.rc2.20250415git834a4a689699.23.fc43.x86_64/scripts/Makefile.build:203:
stap_30daa8d2bd3aff60b5d3a3798dcc04a4_2874_src.o] Error 1
make[4]: ***
[/usr/src/kernels/6.15.0-0.rc2.20250415git834a4a689699.23.fc43.x86_64/Makefile:2055:
.] Error 2
make[3]: *** [Makefile:260: __sub-make] Error 2
WARNING: kbuild exited with status: 2
Pass 4: compilation failed. [man error::pass4]
Kernel version 6.15.0 is outside tested range 3.10 ... 6.14-rc
"
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Systemtap
mailing list