Bump github.com/cilium/ebpf from 0.15.0 to 0.16.0
Bumps github.com/cilium/ebpf from 0.15.0 to 0.16.0.
Release notes
Sourced from github.com/cilium/ebpf's releases.
v0.16.0
program: automatic verifier log sizing and ProgramInfo.RecursionMisses()
For the longest time users had to specify
ProgramOptions.LogSizeto get the full 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
- The various
Copy()methods now to a full deep copy and all accept nil values.- link: kprobe and uprobe links can now be pinned.
What's Changed
- perf: clean up error handling and bare fds by
@lmbin cilium/ebpf#1444- [go.mod] Change
godirective to1.21by@mx-psiin cilium/ebpf#1441- gh: don't use code blocks in Bug report template by
@lmbin cilium/ebpf#1450- CI: Update kernel from v6.7 to v6.8 by
@dylandreimerinkin cilium/ebpf#1452- build(deps): bump mkdocs from 1.5.3 to 1.6.0 in /docs by
@dependabotin cilium/ebpf#1455- build(deps): bump golangci/golangci-lint-action from 4.0.0 to 5.1.0 by
@dependabotin cilium/ebpf#1454- build(deps): bump mkdocs-material from 9.5.16 to 9.5.20 in /docs by
@dependabotin cilium/ebpf#1456- build(deps): bump mkdocs-git-revision-date-localized-plugin from 1.2.4 to 1.2.5 in /docs by
@dependabotin cilium/ebpf#1458- build(deps): bump jinja2 from 3.1.3 to 3.1.4 in /docs by
@dependabotin cilium/ebpf#1459- replace virtme by
@lmbin cilium/ebpf#1321- ci: ignore kprobe_multi test failures on arm64 by
@lmbin cilium/ebpf#1461- perf: flush Record when deadline is exceeded by
@lmbin cilium/ebpf#1429- link: allow retrieving perf event file descriptor by
@lmbin cilium/ebpf#1425- perf_event_open cpu should be -1 for valid PID by
@brycekahlein cilium/ebpf#1464- link: add test suite for netkit by
@brlbilin cilium/ebpf#1463- debug sporadic vimto hang by
@lmbin cilium/ebpf#1466- build(deps): bump requests from 2.31.0 to 2.32.0 in /docs by
@dependabotin cilium/ebpf#1469- ci: use stable-selftests tag by
@lmbin cilium/ebpf#1472- link: add Info() method to all link types by
@rgo3in cilium/ebpf#1435- Add RecursionMisses to access ProgramInfo recursion misses counter by
@olsajiriin cilium/ebpf#1465- elf: turn BTF map_extra into ErrNotSupported by
@lmbin cilium/ebpf#1483
... (truncated)
Commits
061e86dmap: remove misleading error message when creating without BTFb689d28btf: fix panic when copying nil Type218b9f9program: deprecate LogSize and VerifierError.Truncated63c6cf8map: do not allocate on lookup when key doesn't exista61222dfix a variety of Copy() problemsfbb9ed8perf: do not add offline CPUs7e18818info: make it harder to add backwards incompatible API88e8f88link: fix nil pointer dereference in AttachXDP5976561map: fix flaky TestMapIteratorAllocations9bd3c36perf: fix panic when CPU is offline- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: Once this PR has been reviewed and has the lgtm label, please assign hzxuzhonghu for approval. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment
/retest
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.
If you change your mind, just re-open this PR and I'll resolve any conflicts on it.