mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Make stap available
This commit is contained in:
parent
d31ae36737
commit
d95a4f9ee0
2 changed files with 13 additions and 2 deletions
11
systemtap/patches/replace-open64.patch
Normal file
11
systemtap/patches/replace-open64.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- a/setupdwfl.cxx 2023-07-26 20:22:35.427807372 +0200
|
||||
+++ b/setupdwfl.cxx 2023-07-26 20:22:43.855666830 +0200
|
||||
@@ -762,7 +762,7 @@
|
||||
clog << _("Attempting to extract kernel debuginfo build ID from /sys/kernel/notes") << endl;
|
||||
|
||||
const char *notesfile = "/sys/kernel/notes";
|
||||
- int fd = open64 (notesfile, O_RDONLY);
|
||||
+ int fd = open (notesfile, O_RDONLY);
|
||||
if (fd < 0)
|
||||
return "";
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue