Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 30-Nov-2020 | - | ||||
asm/ | H | 30-Nov-2020 | - | 1,793 | 1,299 | |
internal/ | H | 30-Nov-2020 | - | 2,806 | 2,029 | |
LICENSE | H A D | 30-Nov-2020 | 1.1 KiB | 24 | 19 | |
abi.go | H A D | 30-Nov-2020 | 4 KiB | 207 | 172 | |
collection.go | H A D | 30-Nov-2020 | 6.9 KiB | 295 | 195 | |
doc.go | H A D | 30-Nov-2020 | 876 | 18 | 1 | |
elf_reader.go | H A D | 30-Nov-2020 | 20.6 KiB | 743 | 590 | |
go.mod | H A D | 30-Nov-2020 | 100 | 6 | 3 | |
linker.go | H A D | 30-Nov-2020 | 1.9 KiB | 87 | 59 | |
map.go | H A D | 30-Nov-2020 | 19.2 KiB | 799 | 530 | |
marshalers.go | H A D | 30-Nov-2020 | 4.9 KiB | 204 | 163 | |
prog.go | H A D | 30-Nov-2020 | 16 KiB | 623 | 406 | |
readme.md | H A D | 30-Nov-2020 | 1.3 KiB | 26 | 16 | |
syscalls.go | H A D | 30-Nov-2020 | 9.7 KiB | 439 | 370 | |
types.go | H A D | 30-Nov-2020 | 6.1 KiB | 197 | 100 | |
types_string.go | H A D | 30-Nov-2020 | 5 KiB | 138 | 118 |
readme.md
1eBPF 2------- 3[![](https://godoc.org/github.com/cilium/ebpf?status.svg)](https://godoc.org/github.com/cilium/ebpf) 4 5eBPF 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. 6 7[ebpf/asm](https://godoc.org/github.com/cilium/ebpf/asm) contains a basic assembler. 8 9The library is maintained by [Cloudflare](https://www.cloudflare.com) and [Cilium](https://www.cilium.io). Feel free to [join](https://cilium.herokuapp.com/) the [libbpf-go](https://cilium.slack.com/messages/libbpf-go) channel on Slack. 10 11## Current status 12 13The package is production ready, but **the API is explicitly unstable 14right now**. Expect to update your code if you want to follow along. 15 16## Requirements 17 18* A version of Go that is [supported by upstream](https://golang.org/doc/devel/release.html#policy) 19* Linux 4.9, 4.19 or 5.4 (versions in-between should work, but are not tested) 20 21## Useful resources 22 23* [Cilium eBPF documentation](https://cilium.readthedocs.io/en/latest/bpf/#bpf-guide) (recommended) 24* [Linux documentation on BPF](http://elixir.free-electrons.com/linux/latest/source/Documentation/networking/filter.txt) 25* [eBPF features by Linux version](https://github.com/iovisor/bcc/blob/master/docs/kernel-versions.md) 26