[HN Gopher] Bpfman: An eBPF Manager
___________________________________________________________________
Bpfman: An eBPF Manager
Author : signa11
Score : 69 points
Date : 2024-03-30 04:49 UTC (18 hours ago)
(HTM) web link (bpfman.io)
(TXT) w3m dump (bpfman.io)
| hotfixguru wrote:
| Cool!
|
| I wonder why all their examples[0] uses C, while bpfman
| themselves[1] seems to use aya[2] and rust.
|
| [0] https://github.com/bpfman/bpfman/tree/main/examples
|
| [1] https://github.com/bpfman/bpfman/blob/main/bpfman-
| ns/src/mai...
|
| [2] https://github.com/aya-rs/aya
| cookiengineer wrote:
| eBPF modules themselves have to be written in C, and compiled
| to bytecode before they are loadable. The target architecture
| for llc is bpfeb and bpfel (big/little endian).
|
| Usage/loading of eBPF modules, however, can be done in many
| userspace languages due to them offering the bindings for it.
| brancz wrote:
| This seems interesting for bpf programs that have essentially no
| user-space interaction which isn't true for any of the things it
| lists on the landing page. Pixie, Cilium, Parca, etc have complex
| interactions between userspace and the bpf program, from loading
| and configuring to ongoing maintenance of bpf maps. I don't
| really see why they would use this. I do like this type of thing
| for small programs like Inspektor Gadget does, but Inspektor
| Gadget already exists.
|
| I guess this is feedback to maintainers of the project to clarify
| these two relationships.
___________________________________________________________________
(page generated 2024-03-30 23:01 UTC)