Package: systemtap
Version: 4.3-2
Severity: grave

With linux-image-5.8.0-3-amd64 version 5.8.14-1, stap fails as follows:

$ sudo stap -e 'probe oneshot { println("hello world") }'
[...]
/usr/share/systemtap/runtime/linux/access_process_vm.h: In function 
‘__access_process_vm_’:
/usr/share/systemtap/runtime/linux/access_process_vm.h:32:19: error: ‘struct 
mm_struct’ has no member named ‘mmap_sem’; did you mean ‘mmap_base’?
   32 |   down_read (&mm->mmap_sem);
      |                   ^~~~~~~~
      |                   mmap_base
/usr/share/systemtap/runtime/linux/access_process_vm.h:87:17: error: ‘struct 
mm_struct’ has no member named ‘mmap_sem’; did you mean ‘mmap_base’?
   87 |   up_read (&mm->mmap_sem);
      |                 ^~~~~~~~
      |                 mmap_base

This upstream commit should fix the issue:
https://sourceware.org/git/?p=systemtap.git;a=commit;h=37066e2c3a9d9f48fc01b13ec0493b1c67551275

Reply via email to