open-nomad/vendor/github.com/cilium/ebpf
zhsj 5a182e1d03
deps: update runc to v1.0.0-rc93
includes updates for breaking changes in runc v1.0.0-rc93
2021-03-31 10:57:02 -04:00
..
asm deps: update runc to v1.0.0-rc93 2021-03-31 10:57:02 -04:00
internal deps: update runc to v1.0.0-rc93 2021-03-31 10:57:02 -04:00
.clang-format deps: update runc to v1.0.0-rc93 2021-03-31 10:57:02 -04:00
.gitignore deps: update runc to v1.0.0-rc93 2021-03-31 10:57:02 -04:00
abi.go deps: update runc to v1.0.0-rc93 2021-03-31 10:57:02 -04:00
CODE_OF_CONDUCT.md
collection.go deps: update runc to v1.0.0-rc93 2021-03-31 10:57:02 -04:00
doc.go deps: update runc to v1.0.0-rc93 2021-03-31 10:57:02 -04:00
elf_reader.go deps: update runc to v1.0.0-rc93 2021-03-31 10:57:02 -04:00
go.mod deps: update runc to v1.0.0-rc93 2021-03-31 10:57:02 -04:00
go.sum deps: update runc to v1.0.0-rc93 2021-03-31 10:57:02 -04:00
LICENSE
linker.go deps: update runc to v1.0.0-rc93 2021-03-31 10:57:02 -04:00
map.go deps: update runc to v1.0.0-rc93 2021-03-31 10:57:02 -04:00
marshalers.go Vendor sync 2020-08-20 00:31:07 +08:00
prog.go deps: update runc to v1.0.0-rc93 2021-03-31 10:57:02 -04:00
readme.md deps: update runc to v1.0.0-rc93 2021-03-31 10:57:02 -04:00
run-tests.sh deps: update runc to v1.0.0-rc93 2021-03-31 10:57:02 -04:00
syscalls.go deps: update runc to v1.0.0-rc93 2021-03-31 10:57:02 -04:00
types.go deps: update runc to v1.0.0-rc93 2021-03-31 10:57:02 -04:00
types_string.go deps: update runc to v1.0.0-rc93 2021-03-31 10:57:02 -04:00

eBPF

PkgGoDev

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.

  • asm contains a basic assembler.
  • link allows attaching eBPF to various hooks.
  • perf allows reading from a PERF_EVENT_ARRAY.
  • cmd/bpf2go allows embedding eBPF in Go.

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