MyGit

v0.9.2

cilium/ebpf

版本发布时间: 2022-09-20 16:39:01

cilium/ebpf最新发布版本:v0.16.0(2024-07-24 17:40:43)

This release contains an important bugfix for users of Program.Test() and .Benchmark(). A kernel change was made that disallows empty packet buffers, with knock-on effects to BPF_PROG_RUN and, as a result, ebpf-go's detection routine for said feature. Users are strongly encouraged to upgrade. See #788 for more details.

The new features.HaveMapFlag() API was merged in this release, congrats @paulcacheux!

Likewise, the link.K(ret)probeMulti() API was added by @mmat11, bringing blazingly-fast bulk kprobe attachments to kernels 5.18 and newer.

Some improvements were made to verifier log handling. The VerifierError.Truncated flag can now reliably be used to determine if a program load should be retried due to the provided buffer size being too small. Use this to retry with incrementally growing log buffers for large or complex programs. The Log* fields in ProgramOptions are now thoroughly documented to this effect.

It also bumps the minimum Go version to 1.18, since 1.19 is now out.

What's Changed

New Contributors

Full Changelog: https://github.com/cilium/ebpf/compare/v0.9.1...v0.9.2

相关地址:原始地址 下载(tar) 下载(zip)

查看:2022-09-20发行的版本