[Bug runtime/30617] Systemtap unable to successfully build kernel modules for linux-6.5

wcohen at redhat dot com sourceware-bugzilla@sourceware.org
Mon Jul 10 15:08:38 GMT 2023


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

William Cohen <wcohen at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from William Cohen <wcohen at redhat dot com> ---
Following test provided reasonable results on Fedora rawhide and RHEL8:

sudo ../install/bin/stap --example para-callgraph.stp
'process("/usr/bin/ls").function("*")' -c /usr/bin/ls

The following also produced reasonable results on Fedora rawhide and RHEL8:

 sudo ../install/bin/stap --example glibc-malloc.stp -c 'stap --dump-functions'


The patch is in the master branch as:

commit e891a37e366362a12ca311439918d69ffe641cec (HEAD -> master, origin/master,
origin/HEAD)
Author: William Cohen <wcohen@redhat.com>
Date:   Sun Jul 9 16:46:20 2023 -0400

    Adjust runtime _access_process_vm_ to work with linux 6.5

    Linux kernel commit ca5e863233e8f6acd1792fd85d6bc2729a1b2c10
    eliminated the vma argument for ‘get_user_pages_remote.  For linux 6.5
    kernel use the get_user_page_vma_remote function in its place like the
    __access_remote_vm function in mm/memory.c of the kernel.

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


More information about the Systemtap mailing list