k3s/vendor/github.com/cilium/ebpf
Erik Wilson daa4beb22c
Update go.mod for k8s 1.19
2020-08-28 17:18:31 -07:00
..
asm Update go.mod for k8s 1.19 2020-08-28 17:18:31 -07:00
internal Update go.mod for k8s 1.19 2020-08-28 17:18:31 -07:00
.gitignore
CODE_OF_CONDUCT.md
LICENSE
abi.go Update go.mod for k8s 1.19 2020-08-28 17:18:31 -07:00
collection.go Update go.mod for k8s 1.19 2020-08-28 17:18:31 -07:00
doc.go
elf_reader.go Update go.mod for k8s 1.19 2020-08-28 17:18:31 -07:00
go.mod Update go.mod for k8s 1.19 2020-08-28 17:18:31 -07:00
go.sum Update go.mod for k8s 1.19 2020-08-28 17:18:31 -07:00
linker.go Update go.mod for k8s 1.19 2020-08-28 17:18:31 -07:00
map.go Update go.mod for k8s 1.19 2020-08-28 17:18:31 -07:00
marshalers.go Update go.mod for k8s 1.19 2020-08-28 17:18:31 -07:00
prog.go Update go.mod for k8s 1.19 2020-08-28 17:18:31 -07:00
readme.md Update go.mod for k8s 1.19 2020-08-28 17:18:31 -07:00
run-tests.sh Update go.mod for k8s 1.19 2020-08-28 17:18:31 -07:00
syscalls.go Update go.mod for k8s 1.19 2020-08-28 17:18:31 -07:00
types.go Update go.mod for k8s 1.19 2020-08-28 17:18:31 -07:00
types_string.go Update go.mod for k8s 1.19 2020-08-28 17:18:31 -07:00

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