MyGit

v0.13.0

cilium/ebpf

版本发布时间: 2024-02-16 00:44:55

cilium/ebpf最新发布版本:v0.15.0(2024-04-22 20:30:41)

Faster btf.LoadKernelSpec()

Obtaining the kernel's BTF used to be very slow and is now very fast. See https://github.com/cilium/ebpf/pull/1235 by @lmb.

TCX

It's now possible to attach TC programs using the new bpf_link based TCX API. See https://github.com/cilium/ebpf/pull/1163 by @lmb.

UprobeMulti and UretprobeMulti

These are the user-space equivalents to KprobeMulti and Kretprobe multi and allow attaching to a large number of symbols quickly. See https://github.com/cilium/ebpf/pull/1269 by @olsajiri.

Netfilter link

There is now support to attach Netfilter programs using bpf_links. See https://github.com/cilium/ebpf/pull/1313 by @mehrdadrad.

Better ELF section naming compatibility

The list of recognised ELF section names is now automatically generated from libbpf and should be more accurate and easier to keep up to date. See https://github.com/cilium/ebpf/pull/1209 by @lmb.

Pre-allocate per-CPU values

It's now possible to cut down on allocations by pre-allocating per-CPU values. See https://github.com/cilium/ebpf/pull/1220 by @alxn.

Batch operation support for per-CPU values

Batch operations like Map.BatchLookup now support per-CPU values. Note that this is not particularly optimised, please check whether it is faster based on your use case. See https://github.com/cilium/ebpf/pull/1192 by @alxn.

Breaking changes

This release requires at least Go 1.21.

github.com/cilium/ebpf

github.com/cilium/ebpf/btf

Both of these are considered somewhat internal API of the library.

github.com/cilium/ebpf/features

github.com/cilium/ebpf/link

What's Changed

New Contributors

Full Changelog: https://github.com/cilium/ebpf/compare/v0.12.3...v0.13.0

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

查看:2024-02-16发行的版本