iovisor / iovisor/bcc

Allow libbpf-tools to run on old kernels

Open
#4,231 12 comments 3 reactions 0 assignees View on GitHub
Dominant language
C
Stars
22.7k
Forks
4.1k
Avg merge
10d 4h
Merged PRs (30d)
3

Description

We have a bunch of libbpf tools require features like `fentry` / `tp_btf` which only available on kernel v5.5+.
Running these tools on old kernels result in EINVAL. Instead of error out, we can fallback to kprobe.
Open this ticket to keep track of this process:

* [x] biolatency
* [ ] biosnoop
* [ ] biostacks
* [ ] bitesize
* [ ] cachestat
* [ ] cpudist
* [ ] cpufreq
* [x] drsnoop
* [x] hardirqs
* [x] mdflush
* [x] numamove
* [ ] offcputime
* [ ] readahead
* [x] softirqs

If you are interested, please feel free to pick it up.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.