-
Notifications
You must be signed in to change notification settings - Fork 362
New issue
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
migrate bcc based system monitor to libbpf and cilium/ebpf #677
Conversation
5c98cc3
to
9b32b58
Compare
Codecov Report
@@ Coverage Diff @@
## main #677 +/- ##
==========================================
+ Coverage 40.08% 40.29% +0.21%
==========================================
Files 29 29
Lines 9348 9318 -30
==========================================
+ Hits 3747 3755 +8
+ Misses 5110 5075 -35
+ Partials 491 488 -3
Continue to review full report at Codecov.
|
6fd4425
to
05175f1
Compare
25f28d1
to
aba14d8
Compare
c32b78d
to
2354b42
Compare
Tested on
|
Fixed compilation on BottleRocket EKS, The object files were shipping with the docker container causing non native bpf code to run resulting in no telemetry data. |
Signed-off-by: daemon1024 <[email protected]>
Signed-off-by: daemon1024 <[email protected]>
updated docker container to compile ebpf code at runtime Signed-off-by: daemon1024 <[email protected]>
- Use init container for compiling BPF code Signed-off-by: daemon1024 <[email protected]>
Signed-off-by: daemon1024 <[email protected]>
- setup CI to test systemd - add llvm toolchain dep instead of bcc - eliminate stdarg dep from clang/gcc std include Signed-off-by: daemon1024 <[email protected]>
Signed-off-by: daemon1024 <[email protected]>
Signed-off-by: daemon1024 <[email protected]>
Signed-off-by: daemon1024 <[email protected]>
4a9e8a7
to
1fcb2ad
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍🏼 👍🏼
…t container - Using lib modules for kernel header detection which symlinks to appropriate directory in usr src - clean up object files and added object files to docker ignore Signed-off-by: daemon1024 <[email protected]>
1fcb2ad
to
fbdedb3
Compare
Lots of tests now hehe 😛 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀
Why?
libbcc
dependency on the host machineFollow Up #399
Fixes #38
TODO