v0.14.0
版本发布时间: 2024-03-27 18:54:18
cilium/ebpf最新发布版本:v0.16.0(2024-07-24 17:40:43)
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 https://github.com/cilium/ebpf/pull/1300 by @brycekahle.
link: netkit support
The link
package now allows attaching to netkit interfaces. See https://github.com/cilium/ebpf/pull/1257 by @hemanthmalla
link: support for iterating links
The new link.Iterator
type allows enumerating all BPF links active. See https://github.com/cilium/ebpf/pull/1392 by @mpastyl.
Bugfixes
-
ringbuf
: fixed a bug which can lead to corrupt data on arm64, see https://github.com/cilium/ebpf/pull/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 https://github.com/cilium/ebpf/pull/1300
- Create CONTRIBUTING.md by @sandipanpanda in https://github.com/cilium/ebpf/pull/1361
- build(deps): bump golangci/golangci-lint-action from 3.7.0 to 4.0.0 by @dependabot in https://github.com/cilium/ebpf/pull/1362
- build(deps): bump mkdocs-material from 9.5.8 to 9.5.12 in /docs by @dependabot in https://github.com/cilium/ebpf/pull/1363
- test: don't rely on append() to copy base slice by @ti-mo in https://github.com/cilium/ebpf/pull/1367
- Add support for netkit device by @hemanthmalla in https://github.com/cilium/ebpf/pull/1257
- docs: update project roles by @lmb in https://github.com/cilium/ebpf/pull/1374
- make rgo3 owner of features package by @lmb in https://github.com/cilium/ebpf/pull/1376
- ringbuf: replace clamp with min by @lmb in https://github.com/cilium/ebpf/pull/1377
- ringbuf: fix corrupt samples on arm64 by @paulcacheux in https://github.com/cilium/ebpf/pull/1375
- ringbuf: simplify ringReader by @lmb in https://github.com/cilium/ebpf/pull/1379
- CI: increase vm memory to avoid oomkills by @lmb in https://github.com/cilium/ebpf/pull/1378
- Add support for weak kfuncs by @dylandreimerink in https://github.com/cilium/ebpf/pull/1364
- CODEOWNERS: assign code ownership to florianl, mmat11 and dylandreimerink by @ti-mo in https://github.com/cilium/ebpf/pull/1382
- elf_reader_test: Fix CI by disabling the "test_log_fixup" selftest by @dylandreimerink in https://github.com/cilium/ebpf/pull/1385
- btf: use recursion in coreAreTypesCompatible by @lmb in https://github.com/cilium/ebpf/pull/1383
- link, internal: generate full linkinfo for union subtypes by @rgo3 in https://github.com/cilium/ebpf/pull/1359
- gh: do not hide internal/sys/types.go in diffs by @lmb in https://github.com/cilium/ebpf/pull/1388
- tests: clean up ClangEndian by @lmb in https://github.com/cilium/ebpf/pull/1389
- examples: avoid depending on internal packages by @ti-mo in https://github.com/cilium/ebpf/pull/1289
- doc: add DCO by @lmb in https://github.com/cilium/ebpf/pull/1396
- Fix GitHub edit link on every page by @remram44 in https://github.com/cilium/ebpf/pull/1393
- chore: fix some comments by @majorteach in https://github.com/cilium/ebpf/pull/1391
- miscellaneous test fixes by @lmb in https://github.com/cilium/ebpf/pull/1386
- link: add Iterator by @mpastyl in https://github.com/cilium/ebpf/pull/1392
New Contributors
- @sandipanpanda made their first contribution in https://github.com/cilium/ebpf/pull/1361
- @hemanthmalla made their first contribution in https://github.com/cilium/ebpf/pull/1257
- @remram44 made their first contribution in https://github.com/cilium/ebpf/pull/1393
- @majorteach made their first contribution in https://github.com/cilium/ebpf/pull/1391
- @mpastyl made their first contribution in https://github.com/cilium/ebpf/pull/1392
Full Changelog: https://github.com/cilium/ebpf/compare/v0.13.2...v0.14.0