kubectl-prof icon indicating copy to clipboard operation
kubectl-prof copied to clipboard

Use CO-RE to remove dependency on host machine kernel headers?

Open maxweisel opened this issue 1 year ago • 2 comments

Hey all, I've been able to get kubectl-prof working with the perf profiler and it works beautifully (thanks for the hard work here!). However, I'd really like to use the eBPF profiler, but on DigitalOcean, their host instances do not have the kheaders module available.

I've reached out to DO and it doesn't seem like the lack of kheaders is going to change anytime soon. I was looking at CO-RE (https://web.archive.org/web/20220522105208/https://www.seekret.io/blog/handling-the-challenge-of-deploying-ebpf-into-the-wild/) as a potential work around.

Is this something that I could help implement here?

maxweisel avatar Apr 13 '24 17:04 maxweisel

Thank you for the suggestion. I will study this functionality.

josepdcs avatar Apr 16 '24 18:04 josepdcs

Let me know if there's a way I can help implement it!

maxweisel avatar Apr 23 '24 18:04 maxweisel