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

Bump github.com/cilium/ebpf from 0.15.0 to 0.16.0 #965

Merged
merged 3 commits into from
Jul 30, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 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 requested a review from a team July 28, 2024 11:06
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code Skip Changelog labels Jul 28, 2024
@MrAlias
Copy link
Contributor

MrAlias commented Jul 30, 2024

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/cilium/ebpf-0.16.0 branch from 662a009 to a493b30 Compare July 30, 2024 15:53
@MrAlias
Copy link
Contributor

MrAlias commented Jul 30, 2024

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/cilium/ebpf-0.16.0 branch from a493b30 to 6310315 Compare July 30, 2024 16:03
@MrAlias
Copy link
Contributor

MrAlias commented Jul 30, 2024

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/cilium/ebpf-0.16.0 branch from 6310315 to 48ba346 Compare July 30, 2024 16:10
@MrAlias
Copy link
Contributor

MrAlias commented Jul 30, 2024

@dependabot rebase

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] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/cilium/ebpf-0.16.0 branch from 48ba346 to d883ff4 Compare July 30, 2024 17:47
@MrAlias MrAlias merged commit f8dc5ab into main Jul 30, 2024
19 checks passed
@MrAlias MrAlias deleted the dependabot/go_modules/github.com/cilium/ebpf-0.16.0 branch July 30, 2024 18:21
@MrAlias MrAlias added this to the v0.15.0-alpha milestone Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code Skip Changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant