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.8.1 to 0.9.0 #91

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 27, 2022

Bumps github.com/cilium/ebpf from 0.8.1 to 0.9.0.

Release notes

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

Releasing the BTF package!

This release makes package btf public, allowing type information embedded in eBPF ELF objects and vmlinux to be read programmatically from Go. This enables use cases like searching and inspecting the kernel's types and function signatures at runtime, or ensuring alignment between structures defined in Go and C. Package btf stands on its own and does not require adopting other subpackages, potentially making it useful beyond the domain of eBPF. Additionally, parsing BTF was made significantly faster and now consumes less memory.

Note: Modifications to btf.Types are not (yet) reflected in the BTF info loaded into the kernel. This will be implemented in the near future, and will provide the flexibility of, for example, creating maps with arbitrarily crafted key/value type information for pretty-printing map dumps, among many other exciting use cases.

Users of the ringbuf and perf packages can now avoid allocations when reading samples with the addition of ReadInto().

Feature probes for program helpers (features.HaveProgramHelper()) were added, as well as a few miscellaneous probes for large instruction limit, bounded loops and the supported eBPF ISA. This now brings the library mostly on par with bpftool's probing capabilities, except for a few program types that require BTF.

There was also one important bugfix where CO-RE relocations in bpf2bpf subprograms were not applied. Users are strongly encouraged to upgrade.

Enjoy!

Breaking changes

  • Deprecations:
    • CollectionSpec.RewriteMaps is deprecated in favour of CollectionOptions.MapReplacements
    • features.HaveProgType is deprecated in favour of features.HaveProgramType
  • CollectionSpec.BTF is now called CollectionSpec.Types
  • link.K(ret)probe and link.Tracepoint signatures have changed, they now take an additional options parameter. Pass nil to retain the old behaviour.

Features

Bug fixes

Miscellaneous

... (truncated)

Commits
  • 951bb28 features: rename HaveProgType API
  • d1edf5a features: add HaveProgramHelper API
  • c4f6259 btf: Add spec types iterator
  • 00ae3f2 testdata: loader - declare constant in custom .rodata.test section
  • 1ff15d2 collection: make RewriteConstants operate on custom .rodata* sections
  • 20cccef testdata: loader - read from anonymous (global) constant
  • 9850db7 elf_reader: tolerate untyped/local map relocations from llvm 7/9
  • 1e37e4f elf_reader: accept ELF data sections without a corresponding BTF datasec
  • 88c2d0c elf_reader: freeze all data sections with .rodata* prefix
  • 1e1f08c Makefile: disable journald logging in podman
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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 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.8.1 to 0.9.0.
- [Release notes](https://github.com/cilium/ebpf/releases)
- [Commits](cilium/ebpf@v0.8.1...v0.9.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 requested a review from a team as a code owner May 27, 2022 09:40
@dependabot dependabot bot added the kind/enhancement This improves or streamlines existing functionality label May 27, 2022
@kkourt
Copy link
Contributor

kkourt commented May 27, 2022

Due to the failures, it seems that we need to do this manually.

@kkourt
Copy link
Contributor

kkourt commented May 27, 2022

#92

@kkourt kkourt closed this May 27, 2022
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github May 27, 2022

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.

@dependabot dependabot bot deleted the dependabot/go_modules/github.com/cilium/ebpf-0.9.0 branch May 27, 2022 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement This improves or streamlines existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant