cilium/ebpf v0.15.0

release ·

btf: bpf_core_type_matches is now supported

Programs can now use bpf_core_type_matches() for a stricter compatibility check. See https://github.com/cilium/ebpf/pull/1366.

program, btf: improve debuggability when CO-RE or kfunc fixup fails

The library now tries to return a more informative error when loading a program fails due to a failed CO-RE relocation or a missing kfunc. See https://github.com/cilium/ebpf/pull/1402.

btf: synthesise instruction comments into line info

asm.Comment in an instruction’s Source() are now passed to the kernel in the form of BTF line info. See https://github.com/cilium/ebpf/pull/1417.

perf: add WakeupEvents support to Reader

A perf Reader can now be configured to be woken up after a specific number of events / samples have been submitted. See https://github.com/cilium/ebpf/pull/1404.

Bugfixes

Breaking changes

github.com/cilium/ebpf/btf

What’s Changed

New Contributors

Full Changelog: https://github.com/cilium/ebpf/compare/v0.14.0...v0.15.0

View source