containerd/vendor/github.com/cilium/ebpf
Davanum Srinivas de6db4038c
Update vendored runc to v1.0.0.0-rc94
Note that this is the code in containerd that uses runc (as almost
a library). Please see the other commit for the update to runc binary
itself.

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-05-10 13:12:48 -04:00
..
asm Update vendored runc to v1.0.0.0-rc94 2021-05-10 13:12:48 -04:00
internal Update vendored runc to v1.0.0.0-rc94 2021-05-10 13:12:48 -04:00
link Update vendored runc to v1.0.0.0-rc94 2021-05-10 13:12:48 -04:00
.clang-format update runc to v1.0.0-rc93 2021-02-04 16:13:30 +01:00
.gitignore update runc to v1.0.0-rc93 2021-02-04 16:13:30 +01:00
.golangci.yaml Update vendored runc to v1.0.0.0-rc94 2021-05-10 13:12:48 -04:00
ARCHITECTURE.md Update containerd vendors to tags 2021-04-19 10:59:29 -07:00
CODE_OF_CONDUCT.md Go mod vendor 2020-12-01 01:41:25 +08:00
collection.go Update containerd vendors to tags 2021-04-19 10:59:29 -07:00
CONTRIBUTING.md Update containerd vendors to tags 2021-04-19 10:59:29 -07:00
doc.go update runc to v1.0.0-rc93 2021-02-04 16:13:30 +01:00
elf_reader_fuzz.go Update containerd vendors to tags 2021-04-19 10:59:29 -07:00
elf_reader.go Update vendored runc to v1.0.0.0-rc94 2021-05-10 13:12:48 -04:00
go.mod Update containerd vendors to tags 2021-04-19 10:59:29 -07:00
go.sum Update containerd vendors to tags 2021-04-19 10:59:29 -07:00
info.go Update containerd vendors to tags 2021-04-19 10:59:29 -07:00
LICENSE support cgroup2 2019-12-12 02:56:51 +09:00
linker.go Update containerd vendors to tags 2021-04-19 10:59:29 -07:00
Makefile Update containerd vendors to tags 2021-04-19 10:59:29 -07:00
map.go Update vendored runc to v1.0.0.0-rc94 2021-05-10 13:12:48 -04:00
marshalers.go Update vendored runc to v1.0.0.0-rc94 2021-05-10 13:12:48 -04:00
prog.go Update vendored runc to v1.0.0.0-rc94 2021-05-10 13:12:48 -04:00
README.md Update vendored runc to v1.0.0.0-rc94 2021-05-10 13:12:48 -04:00
run-tests.sh Update vendored runc to v1.0.0.0-rc94 2021-05-10 13:12:48 -04:00
syscalls.go Update vendored runc to v1.0.0.0-rc94 2021-05-10 13:12:48 -04:00
types_string.go update runc to v1.0.0-rc93 2021-02-04 16:13:30 +01:00
types.go Update vendored runc to v1.0.0.0-rc94 2021-05-10 13:12:48 -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 compiling and embedding eBPF programs in Go code

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.

Getting Started

A small collection of Go and eBPF programs that serve as examples for building your own tools can be found under examples/.

Contributions are highly encouraged, as they highlight certain use cases of eBPF and the library, and help shape the future of the project.

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

Regenerating Testdata

Run make in the root of this repository to rebuild testdata in all subpackages. This requires Docker, as it relies on a standardized build environment to keep the build output stable.

The toolchain image build files are kept in testdata/docker/.

License

MIT