You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 3, 2023. It is now read-only.
Traceloop should not use bpf_probe_read() but should use the new bpf_probe_read_{user, kernel}() when possible, depending on the Linux version (see kernel-versions.md). I'm hoping it will help, but I have not tried it.
Gobpf currently does not allow to load different implementation of a BPF program depending on the kernel version. However, @shang-wang wrote DataDog/gobpf#1 which could help with the function SetKprobeForSection(). It could be upstreamed ;) There are some examples how to use that function here.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
On newer kernels, traceloop sometimes triggers a kernel stack to be printed in dmesg:
For more information:
bpf_probe_read_{user, kernel}()
added in Linux 5.5)Traceloop should not use
bpf_probe_read()
but should use the newbpf_probe_read_{user, kernel}()
when possible, depending on the Linux version (see kernel-versions.md). I'm hoping it will help, but I have not tried it.Gobpf currently does not allow to load different implementation of a BPF program depending on the kernel version. However, @shang-wang wrote DataDog/gobpf#1 which could help with the function
SetKprobeForSection()
. It could be upstreamed ;) There are some examples how to use that function here.The text was updated successfully, but these errors were encountered: