File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 2
2
#include <bpf/bpf_tracing.h>
3
3
4
4
#if defined(__TARGET_ARCH_x86 )
5
- #define FENTRY_SEC () SEC("fentry/__x64_sys_getpid ")
5
+ #define FENTRY_SEC () SEC("fentry/__do_sys_getpid ")
6
6
#elif defined(__TARGET_ARCH_arm64 )
7
7
#define FENTRY_SEC () SEC("fentry/__arm64_sys_getpid")
8
8
#else
9
9
#error Unknown target for this architecture
10
10
#endif
11
11
12
12
#if defined(__TARGET_ARCH_x86 )
13
- #define KPROBE_SEC () SEC("kprobe/__x64_sys_getpid ")
13
+ #define KPROBE_SEC () SEC("kprobe/__do_sys_getpid ")
14
14
#elif defined(__TARGET_ARCH_arm64 )
15
15
#define KPROBE_SEC () SEC("kprobe/__arm64_sys_getpid")
16
16
#else
Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ func (m *fanotifyMonitor) Resolve(id int) string {
188
188
}
189
189
190
190
// The following kernel patch is required to take advantage of this (included in v6.6-rc1):
191
- // * https://github.com /torvalds/linux/commit/ 0ce7c12e88cf
191
+ // * https://git.kernel.org /torvalds/c/ 0ce7c12e88cf ("kernfs: attach uuid for every kernfs and report it in fsid")
192
192
func attachFanotify (path string ) (io.Reader , error ) {
193
193
fd , err := unix .FanotifyInit (unix .FAN_CLASS_NOTIF | unix .FAN_REPORT_DFID_NAME , uint (0 ))
194
194
if err != nil {
You can’t perform that action at this time.
0 commit comments