Skip to content

Commit

Permalink
docs: remove gobpf, mention cilium/ebpf
Browse files Browse the repository at this point in the history
As it's been unmaintained for a while, and there are talks [0] of officially
deprecating gobpf, I guess it's time to remove it here.

I was hinted by a fellow community member that this list might need a bit of
work (or we could just redirect to ebpf.io instead), but cilium/ebpf should
at least be mentioned here for now.

[0]: iovisor/gobpf#304

Signed-off-by: Timo Beckers <timo@isovalent.com>
  • Loading branch information
ti-mo authored and glibsm committed Jan 31, 2022
1 parent d8bbea5 commit 56c259b
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions Documentation/bpf.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4581,12 +4581,22 @@ legacy cBPF:

..
* **gobpf**
* **cilium/ebpf**

gobpf provides go bindings for the bcc framework as well as low-level routines in
order to load and use BPF programs from ELF files.
``cilium/ebpf`` (ebpf-go) is a pure Go library that provides utilities for
loading, compiling, and debugging eBPF programs. It has minimal external
dependencies and is intended to be used in long-running processes.

https://github.com/iovisor/gobpf
Its ``bpf2go`` utility automates away compiling eBPF C programs and embedding
them into Go binaries.

It implements attaching programs to various kernel hooks, as well as kprobes
and uprobes for tracing arbitrary kernel and user space functions. It also
features a complete assembler that allows constructing eBPF programs at
runtime using Go, or modifying them after they've been loaded from an ELF
object.

https://github.com/cilium/ebpf

..
Expand Down

0 comments on commit 56c259b

Please sign in to comment.