Bug 26689

Summary: [mm] systemtap broken on >=5.8 (debian-testing): need portage from mmap_sem to mmap_lock API
Product: systemtap Reporter: sipdbg
Component: runtimeAssignee: Unassigned <systemtap>
Status: RESOLVED WORKSFORME    
Severity: normal CC: fche
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Attachments: debian-testing 5.8 kernel fix

Description sipdbg 2020-10-01 10:38:05 UTC
Created attachment 12879 [details]
debian-testing 5.8 kernel fix

Hi,

down_read (&mm->mmap_sem);
     has evolved to
mmap_read_lock (mm);

Same things for up_{read,write} and *_trylock()

I fixed the source code and I am providing a patch.


Thanks you :-))

P.S.: I also included generated/utsrelease.h instead of linux/vermagic.h to avoid an new pre-processor #error statement
Comment 1 Frank Ch. Eigler 2020-10-01 13:17:47 UTC
git master stap works on this kernel due to patches a few months ago