Bug 26689 - [mm] systemtap broken on >=5.8 (debian-testing): need portage from mmap_sem to mmap_lock API
Summary: [mm] systemtap broken on >=5.8 (debian-testing): need portage from mmap_sem t...
Status: RESOLVED WORKSFORME
Alias: None
Product: systemtap
Classification: Unclassified
Component: runtime (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-01 10:38 UTC by sipdbg
Modified: 2020-10-01 13:17 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments
debian-testing 5.8 kernel fix (2.36 KB, patch)
2020-10-01 10:38 UTC, sipdbg
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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