Skip to content

mythi/ebpf

This branch is 1523 commits behind cilium/ebpf:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d124590 · Feb 19, 2021
Feb 17, 2021
Jan 15, 2021
Nov 17, 2020
Feb 16, 2021
Dec 18, 2020
Nov 5, 2020
Dec 8, 2020
Nov 5, 2020
Sep 17, 2020
Feb 15, 2021
May 29, 2018
Feb 15, 2021
Sep 24, 2019
Dec 15, 2020
Jan 28, 2021
Jan 21, 2021
Aug 5, 2020
Dec 8, 2020
Nov 26, 2020
Dec 8, 2020
Aug 10, 2020
Jan 8, 2021
Sep 12, 2019
Feb 19, 2021
Feb 19, 2021
Feb 16, 2021
Feb 16, 2021
Oct 2, 2020
Mar 3, 2020
Feb 19, 2021
Feb 19, 2021
Sep 12, 2019
Feb 3, 2021
Feb 16, 2021
Jan 15, 2021
Nov 16, 2020
Nov 26, 2020
Feb 7, 2020
Feb 3, 2021
Nov 6, 2020

Repository files navigation

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

License

MIT

About

eBPF Library for Go

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 99.4%
  • Shell 0.6%