Bug ID 1222249
Summary Systemtap fails to run on v6.8 kernel
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Kernel
Assignee kernel-bugs@opensuse.org
Reporter tonyj@suse.com
QA Contact qa-bugs@suse.de
Target Milestone ---
Found By ---
Blocker ---

While testing fixes for bsc#1221706 I noticed that systemtap was not
functioning correctly on v6.8 based kernels.

# stap -e 'probe oneshot { println("hello world") }'
In file included from /usr/share/systemtap/runtime/linux/access_process_vm.h:6,
                 from /usr/share/systemtap/runtime/linux/runtime.h:315,
                 from /usr/share/systemtap/runtime/runtime.h:26,
                 from
/tmp/stapQfrt4d/stap_12c74092879671ed4cd208bf7321d2eb_983_src.c:21:
/usr/share/systemtap/runtime/linux/access_process_vm.h: In function
‘__access_process_vm_’:
/usr/share/systemtap/runtime/linux/stap_mmap_lock.h:10:43: error: ‘struct
mm_struct’ has no member named ‘mmap_sem’; did you mean ‘mmap_base’?
   10 | #define mmap_read_lock(mm) down_read(&mm->mmap_sem)
      |                                           ^~~~~~~~
/usr/share/systemtap/runtime/linux/access_process_vm.h:33:3: note: in expansion
of macro ‘mmap_read_lock’
   33 |   mmap_read_lock (mm);
      |   ^~~~~~~~~~~~~~
/usr/share/systemtap/runtime/linux/access_process_vm.h:63:36: error: passing
argument 1 of ‘get_user_pages_remote’ from incompatible pointer type
[-Werror=incompatible-pointer-types]
...
...


You are receiving this mail because: