v0.14.0
btf: support for CO-RE relocations against kernel modules
It's now possible to use CO-RE relocations against types defined in kernel modules. See #1300 by @brycekahle.
link: netkit support
The link
package now allows attaching to netkit interfaces. See #1257 by @hemanthmalla
link: support for iterating links
The new link.Iterator
type allows enumerating all BPF links active. See #1392 by @mpastyl.
Bugfixes
ringbuf
: fixed a bug which can lead to corrupt data on arm64, see #1375
Breaking changes
github.com/cilium/ebpf
ProgramOptions
is not comparable anymore due toKernelModuleTypes
.
github.com/cilium/ebpf/btf
CORERelocate
had its singature change once again.
What's Changed
- Add CO-RE support for kernel modules by @brycekahle in #1300
- Create CONTRIBUTING.md by @sandipanpanda in #1361
- build(deps): bump golangci/golangci-lint-action from 3.7.0 to 4.0.0 by @dependabot in #1362
- build(deps): bump mkdocs-material from 9.5.8 to 9.5.12 in /docs by @dependabot in #1363
- test: don't rely on append() to copy base slice by @ti-mo in #1367
- Add support for netkit device by @hemanthmalla in #1257
- docs: update project roles by @lmb in #1374
- make rgo3 owner of features package by @lmb in #1376
- ringbuf: replace clamp with min by @lmb in #1377
- ringbuf: fix corrupt samples on arm64 by @paulcacheux in #1375
- ringbuf: simplify ringReader by @lmb in #1379
- CI: increase vm memory to avoid oomkills by @lmb in #1378
- Add support for weak kfuncs by @dylandreimerink in #1364
- CODEOWNERS: assign code ownership to florianl, mmat11 and dylandreimerink by @ti-mo in #1382
- elf_reader_test: Fix CI by disabling the "test_log_fixup" selftest by @dylandreimerink in #1385
- btf: use recursion in coreAreTypesCompatible by @lmb in #1383
- link, internal: generate full linkinfo for union subtypes by @rgo3 in #1359
- gh: do not hide internal/sys/types.go in diffs by @lmb in #1388
- tests: clean up ClangEndian by @lmb in #1389
- examples: avoid depending on internal packages by @ti-mo in #1289
- doc: add DCO by @lmb in #1396
- Fix GitHub edit link on every page by @remram44 in #1393
- chore: fix some comments by @majorteach in #1391
- miscellaneous test fixes by @lmb in #1386
- link: add Iterator by @mpastyl in #1392
New Contributors
- @sandipanpanda made their first contribution in #1361
- @hemanthmalla made their first contribution in #1257
- @remram44 made their first contribution in #1393
- @majorteach made their first contribution in #1391
- @mpastyl made their first contribution in #1392
Full Changelog: v0.13.2...v0.14.0