bpftop icon indicating copy to clipboard operation
bpftop copied to clipboard

Bump libbpf-rs from 0.23.3 to 0.24.2

Open dependabot[bot] opened this issue 6 months ago • 0 comments

Bumps libbpf-rs from 0.23.3 to 0.24.2.

Release notes

Sourced from libbpf-rs's releases.

v0.24.2

What's Changed

libbpf-cargo

  • Fixed panic on "open" of skeleton with kconfig map

Full Changelog: https://github.com/libbpf/libbpf-rs/compare/v0.24.1...v0.24.2

v0.24.1

What's Changed

libbpf-cargo

  • Fixed missing BPF object cleanup after skeleton destruction

Full Changelog: https://github.com/libbpf/libbpf-rs/compare/v0.24.0...v0.24.1

v0.24.0

What's Changed

libbpf-rs

  • Split {Open,}{Map,Program} into {Open,}{Map,Program} (for shared access) and {Open,}{Map,Program}Mut (for exclusive access)
  • Added AsRawLibbpf impl for OpenObject and ObjectBuilder
  • Decoupled Map and MapHandle more and introduced MapCore trait abstracting over common functionality
  • Adjusted SkelBuilder::open method to require mutable reference to storage space for BPF object
  • Adjusted {Open,}Object::from_ptr constructor to be infallible
  • Added {Open,}Object::maps{_mut,} and {Open,}Object::progs{_mut,} for BPF map and program iteration
  • Adjusted various APIs to return/use OsStr instead of CStr or str
  • Adjusted {Open,}Program to lazily retrieve name and section
    • Changed name and section methods to return &OsStr and made constructors infallible
  • Adjusted OpenObject::name to return Option<&OsStr>
  • Removed Result return type from OpenProgram::{set_log_level,set_autoload,set_flags}
  • Added Object::name method
  • Added Copy and Clone impls for types inside btf::types module
  • Adjusted OpenMap::set_inner_map_fd to return Result
  • Adjusted ProgramInput::context_in field to be a mutable reference
  • Made inner query::Tag contents publicly accessible
  • Fixed potential memory leak in RingBufferBuilder::build
  • Removed Display implementation of various enum types

libbpf-cargo

  • Reworked generated skeletons to contain publicly accessible maps and program members, no longer requiring method calls
  • Adjusted skeleton creation logic to generate Rust types for all types available in BPF
  • Renamed module for generated Rust types from <project>_types to just types
  • Renamed generated struct_ops type to StructOps and moved it out of types module
  • Fixed Rust code generation logic to properly create Default impl for arrays of pointers

New Contributors

Full Changelog: https://github.com/libbpf/libbpf-rs/compare/v0.23.3...v0.24.0

Commits
  • 0176e5b Release 0.24.2
  • 27dfe16 libbpf-cargo: Don't provide kconfig data access after "open"
  • c38b01a libbpf-cargo: Recreate loaded maps from ObjectSkeletonConfig
  • 6246195 build(deps): bump serde_json from 1.0.124 to 1.0.125
  • 28e096a libbpf-cargo: Improve panic message for datasec mmap ptr retrieval
  • 17d6cb8 build(deps): bump serde from 1.0.205 to 1.0.207
  • 0bd100b build(deps): bump clap from 4.5.14 to 4.5.15
  • ea2058b build(deps): bump serde_json from 1.0.122 to 1.0.124
  • 0189c1f build(deps): bump clap from 4.5.13 to 4.5.14
  • 13e76e7 Release 0.24.1
  • 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 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[bot] avatar Aug 19 '24 20:08 dependabot[bot]