tree: 8f5fd132c8d976332da3583bcd6475dac5a2d20f [path history] [tgz]
  1. asm/
  2. internal/
  3. abi.go
  4. collection.go
  5. doc.go
  6. elf_reader.go
  7. go.mod
  8. LICENSE
  9. linker.go
  10. map.go
  11. marshalers.go
  12. prog.go
  13. readme.md
  14. syscalls.go
  15. types.go
  16. types_string.go
vendor/github.com/cilium/ebpf/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)

Useful resources