We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Right now, exectrace uses BPF_MAP_TYPE_RINGBUF which is only supported in Linux kernel 5.8+.
BPF_MAP_TYPE_RINGBUF
To support older kernels, we would need to reimplement the output method to use a perf map instead of a ringbuf:
BPF_MAP_TYPE_PERF_EVENT_ARRAY
BPF_MAP_TYPE_PERCPU_ARRAY
This blog post has some examples comparing a ringbuf to a perfmap: https://nakryiko.com/posts/bpf-ringbuf
cc @kylecarbs
The text was updated successfully, but these errors were encountered:
This doesn't seem very important anymore as every cloud uses 5.8+ I'm pretty sure.
Sorry, something went wrong.
No branches or pull requests
Right now, exectrace uses
BPF_MAP_TYPE_RINGBUF
which is only supported in Linux kernel 5.8+.To support older kernels, we would need to reimplement the output method to use a perf map instead of a ringbuf:
BPF_MAP_TYPE_PERF_EVENT_ARRAY
for the outputBPF_MAP_TYPE_PERCPU_ARRAY
for temporary memory storage (because our event struct exceeds the 512 byte BPF stack limit)This blog post has some examples comparing a ringbuf to a perfmap: https://nakryiko.com/posts/bpf-ringbuf
cc @kylecarbs
The text was updated successfully, but these errors were encountered: