[Bug runtime/32904] runtime/linux/stap-hw-breakpoint.h does not compile with linux 6.15 on x86_64
wcohen at redhat dot com
sourceware-bugzilla@sourceware.org
Fri Apr 25 00:53:37 GMT 2025
https://sourceware.org/bugzilla/show_bug.cgi?id=32904
William Cohen <wcohen at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |agentzh at gmail dot com
--- Comment #1 from William Cohen <wcohen at redhat dot com> ---
This looks to be related to systemtap git commits:
03c35e2212 (Yichun Zhang (agentzh) 2023-12-16 20:49:46 -0800
afb26217f5 (Yichun Zhang (agentzh) 2023-12-16 22:21:27 -0800
Linux 6.15 does more checking for the x86_64 processor than for other
architectures and the modules using this header do not compile. I attempted to
do some casting to convert the void * pointer into "struct perf_event *
__percpu *". However the kernel check do not appear to allow such casting. A
possible approach might be to have the ret_array be a union of the appropriate
types to be compatible with the checks.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Systemtap
mailing list