top | item 45248353 (no title) grantseltzer | 5 months ago bcc hasn't been relevant for years. discuss order hn newest _bobm|5 months ago I have been a bit out of the loop. what is relevant these days for writing ebpf code? what about ebpf code in python? grantseltzer|5 months ago Writing it in C, compiling with clang, and loading with either C(libbpf), Go (cilium/ebpf), or Rust (Aya).You can also write bpf in rust with Aya but i'm not sure how feature complete it is.For very simple use cases you can just bpftrace. nickysielicki|5 months ago bpftrace is nicer to work with and can replace bcc in most cases for debugging.
_bobm|5 months ago I have been a bit out of the loop. what is relevant these days for writing ebpf code? what about ebpf code in python? grantseltzer|5 months ago Writing it in C, compiling with clang, and loading with either C(libbpf), Go (cilium/ebpf), or Rust (Aya).You can also write bpf in rust with Aya but i'm not sure how feature complete it is.For very simple use cases you can just bpftrace. nickysielicki|5 months ago bpftrace is nicer to work with and can replace bcc in most cases for debugging.
grantseltzer|5 months ago Writing it in C, compiling with clang, and loading with either C(libbpf), Go (cilium/ebpf), or Rust (Aya).You can also write bpf in rust with Aya but i'm not sure how feature complete it is.For very simple use cases you can just bpftrace.
nickysielicki|5 months ago bpftrace is nicer to work with and can replace bcc in most cases for debugging.
_bobm|5 months ago
grantseltzer|5 months ago
You can also write bpf in rust with Aya but i'm not sure how feature complete it is.
For very simple use cases you can just bpftrace.
nickysielicki|5 months ago