828e4ad89d
Update ebpf to include PR https://github.com/cilium/ebpf/pull/91. The update is needed to fix #2316. Signed-off-by: Alice Frosi <afrosi@de.ibm.com> |
||
---|---|---|
.. | ||
asm | ||
internal | ||
.gitignore | ||
CODE_OF_CONDUCT.md | ||
LICENSE | ||
abi.go | ||
collection.go | ||
doc.go | ||
elf_reader.go | ||
go.mod | ||
go.sum | ||
linker.go | ||
map.go | ||
marshalers.go | ||
prog.go | ||
readme.md | ||
run-tests.sh | ||
syscalls.go | ||
types.go | ||
types_string.go |
readme.md
eBPF
eBPF 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.
ebpf/asm contains a basic assembler.
The library is maintained by Cloudflare and Cilium. Feel free to join the libbpf-go channel on Slack.
Current status
The package is production ready, but the API is explicitly unstable right now. Expect to update your code if you want to follow along.
Requirements
- A version of Go that is supported by upstream
- Linux 4.9, 4.19 or 5.4 (versions in-between should work, but are not tested)