fix(deps): update module github.com/cilium/ebpf to v0.12.0 #1600
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v0.11.0
->v0.12.0
Release Notes
cilium/ebpf (github.com/cilium/ebpf)
v0.12.0
Compare Source
This release requires at least Go 1.20. It is mainly a bugfix release without any expected breaking changes. Map operations have also been made faster on the Go side.
Fixes
Correctly freeze
.rodata
maps.rodata
maps were frozen after programs referring to them were loaded, preventing the verifier from eliminating dead code based on the contents of the.rodata
maps. Upgrade if you're running into odd verifier errors that don't occur on libbpf.See https://github.com/cilium/ebpf/pull/1159.
Fix fd leak in error path of kfunc support
The library leaked file descriptors when trying to use non-existent kfuncs.
See https://github.com/cilium/ebpf/pull/1145.
Fix incorrect formatting of signed BTF enums with negative values
Signed enums with negative values were incorrectly formatted, leading to invalid output from
bpf2go
.See https://github.com/cilium/ebpf/pull/1155.
Additions
Map operations using common types are much faster
Keys and values used in map operations were indiscriminately passed through the
encoding/binary
package. There is now a fast path which skips this step when the in-memory layout of a type is equivalent to the output produced bybinary.Write
. The result is less allocations and CPU usage.The optimization doesn't apply to per-CPU maps.
See https://github.com/cilium/ebpf/pull/1062.
What's Changed
New Contributors
Full Changelog: cilium/ebpf@v0.11.0...v0.12.0
Configuration
📅 Schedule: Branch creation - "on monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.