fix(deps): update module github.com/cilium/ebpf to v0.16.0 #76
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.14.0
->v0.16.0
Release Notes
cilium/ebpf (github.com/cilium/ebpf)
v0.16.0
Compare Source
program: automatic verifier log sizing and ProgramInfo.RecursionMisses()
For the longest time users had to specify
ProgramOptions.LogSize
to get thefull verifier log for large programs. The library now automatically figures out
the correct buffer size to use and the field is deprecated. It will be removed
in the next version.
ProgramInfo now exposes how often a program didn't execute due to recursion
limits via
RecursionMisses
.perf, ringbuf: better control over wakeups, Flush()
There is a trade off between how fast samples are processed and how much CPU is
used. Reading samples as quickly as possible uses more CPU, reading in batches
is cheaper.
It's now possible to configure a "maximum time before a wakeup" by using
Reader.SetDeadline(). This now guarantees that any pending samples are read
at the end of the deadline, even if the Watermark wasn't reached.
It's also possible to manually flush the buffer using
Flush()
.Bugfixes
Copy()
methods now to a full deep copy and all accept nil values.What's Changed
go
directive to1.21
by @mx-psi in https://github.com/cilium/ebpf/pull/1441New Contributors
Full Changelog: cilium/ebpf@v0.15.0...v0.16.0
v0.15.0
Compare Source
btf:
bpf_core_type_matches
is now supportedPrograms 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'sSource()
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
program
: fix loading a program which targets a function in a kernel module whenCONFIG_DEBUG_INFO_BTF_MODULES
is disabled, see #1440.Breaking changes
github.com/cilium/ebpf/btf
Copy
: thetransform
argument was removed. Use the newbtf.As
function instead.Transformer
: removed. See above.What's Changed
bpf_core_type_matches()
by @dylandreimerink in https://github.com/cilium/ebpf/pull/1366New Contributors
Full Changelog: cilium/ebpf@v0.14.0...v0.15.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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 was generated by Mend Renovate. View the repository job log.