[Bug translator/29028] Linux 5.18.0 kernels changed struct kretprobe_instance member fields and scripts with return probes fail to compile

wcohen at redhat dot com sourceware-bugzilla@sourceware.org
Tue Apr 26 02:59:25 GMT 2022


https://sourceware.org/bugzilla/show_bug.cgi?id=29028

William Cohen <wcohen at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #14080|0                           |1
        is obsolete|                            |

--- Comment #2 from William Cohen <wcohen at redhat dot com> ---
Created attachment 14081
  --> https://sourceware.org/bugzilla/attachment.cgi?id=14081&action=edit
v2 of the patch

Found that runtime/linux/regs.c had a macro to access to ret_addr field so
updated the macro to do the right thing when CONFIG_KRETPROBE_ON_RETHOOK is set
and just have the tapsets.cxx generated code also uses that macro.

Running the systemtap.examples/check.exp tests on 86_64 rawhide and f35 to see
that the patch doesn't cause any regressions.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Systemtap mailing list