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

build(deps): bump github.com/cilium/ebpf from 0.11.0 to 0.12.0 #192

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 12, 2023

Bumps github.com/cilium/ebpf from 0.11.0 to 0.12.0.

Release notes

Sourced from github.com/cilium/ebpf's releases.

v0.12.0

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 cilium/ebpf#1159.

Fix fd leak in error path of kfunc support

The library leaked file descriptors when trying to use non-existent kfuncs.

See cilium/ebpf#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 cilium/ebpf#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 by binary.Write. The result is less allocations and CPU usage.

The optimization doesn't apply to per-CPU maps.

See cilium/ebpf#1062.

What's Changed

... (truncated)

Commits
  • 7b4b810 CI: remove obsolete structcheck rules
  • 9f348bc CI: remove errcheck linter
  • 167ebe6 CI: output line numbers from golangci-lint
  • 9598c01 maps: finalize scalar maps during creation, defer prog and outer maps
  • a5de6e3 test: add regression test for freezing .rodata after loading programs
  • ccd0b88 elf: test BTF map typedef support
  • 5075058 elf: support BTF map definitions using a typedef
  • 6f85ee3 elf: assume BTF support in loader tests
  • 23be709 btf: fix writing out signed enums
  • 3a926eb testdata: drop the use of clang_major directive
  • 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)

Bumps [github.com/cilium/ebpf](https://github.com/cilium/ebpf) from 0.11.0 to 0.12.0.
- [Release notes](https://github.com/cilium/ebpf/releases)
- [Commits](cilium/ebpf@v0.11.0...v0.12.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 added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Oct 12, 2023
@jsimonetti jsimonetti merged commit c997b70 into master Oct 12, 2023
10 checks passed
@jsimonetti jsimonetti deleted the dependabot/go_modules/github.com/cilium/ebpf-0.12.0 branch October 12, 2023 05:15
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant