Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): Bump github.com/cilium/ebpf from 0.15.0 to 0.16.0 #650

Merged
merged 1 commit into from
Oct 28, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 28, 2024

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.LogSize to 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

... (truncated)

Commits
  • 061e86d map: remove misleading error message when creating without BTF
  • b689d28 btf: fix panic when copying nil Type
  • 218b9f9 program: deprecate LogSize and VerifierError.Truncated
  • 63c6cf8 map: do not allocate on lookup when key doesn't exist
  • a61222d fix a variety of Copy() problems
  • fbb9ed8 perf: do not add offline CPUs
  • 7e18818 info: make it harder to add backwards incompatible API
  • 88e8f88 link: fix nil pointer dereference in AttachXDP
  • 5976561 map: fix flaky TestMapIteratorAllocations
  • 9bd3c36 perf: fix panic when CPU is offline
  • Additional commits viewable in compare view

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Oct 28, 2024
@poiana poiana added the size/XS label Oct 28, 2024
cpanato
cpanato previously approved these changes Oct 28, 2024
@poiana
Copy link
Contributor

poiana commented Oct 28, 2024

LGTM label has been added.

Git tree hash: fecd04efdafcc8dc98b5cfddb5bad0e23c7e4c95

Bumps [github.com/cilium/ebpf](https://github.com/cilium/ebpf) from 0.15.0 to 0.16.0.
- [Release notes](https://github.com/cilium/ebpf/releases)
- [Commits](cilium/ebpf@v0.15.0...v0.16.0)

---
updated-dependencies:
- dependency-name: github.com/cilium/ebpf
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/cilium/ebpf-0.16.0 branch from 487bee8 to 4d7e13d Compare October 28, 2024 07:19
@poiana poiana removed the lgtm label Oct 28, 2024
@poiana poiana requested a review from cpanato October 28, 2024 07:19
@poiana poiana removed the approved label Oct 28, 2024
Copy link
Member

@maxgio92 maxgio92 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve

@poiana
Copy link
Contributor

poiana commented Oct 28, 2024

LGTM label has been added.

Git tree hash: 63533a780cfbf6732e838952a561a8e6e163cd31

@poiana
Copy link
Contributor

poiana commented Oct 28, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dependabot[bot], maxgio92

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@poiana poiana merged commit 46a47e0 into main Oct 28, 2024
16 of 17 checks passed
@poiana poiana deleted the dependabot/go_modules/github.com/cilium/ebpf-0.16.0 branch October 28, 2024 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved dco-signoff: yes dependencies Pull requests that update a dependency file go Pull requests that update Go code lgtm size/XS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants