bpftop
bpftop copied to clipboard
Bump libbpf-rs from 0.23.3 to 0.24.2
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
mapFull 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 forOpenObject
andObjectBuilder
- Decoupled
Map
andMapHandle
more and introducedMapCore
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 ofCStr
orstr
- Adjusted
{Open,}Program
to lazily retrieve name and section
- Changed
name
andsection
methods to return&OsStr
and made constructors infallible- Adjusted
OpenObject::name
to returnOption<&OsStr>
- Removed
Result
return type fromOpenProgram::{set_log_level,set_autoload,set_flags}
- Added
Object::name
method- Added
Copy
andClone
impls for types insidebtf::types
module- Adjusted
OpenMap::set_inner_map_fd
to returnResult
- 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 variousenum
typeslibbpf-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 justtypes
- Renamed generated
struct_ops
type toStructOps
and moved it out oftypes
module- Fixed Rust code generation logic to properly create
Default
impl for arrays of pointersNew Contributors
@tverghis
made their first contribution in libbpf/libbpf-rs#843@x1b6e6
made their first contribution in libbpf/libbpf-rs#890Full Changelog: https://github.com/libbpf/libbpf-rs/compare/v0.23.3...v0.24.0
Commits
0176e5b
Release 0.24.227dfe16
libbpf-cargo: Don't provide kconfig data access after "open"c38b01a
libbpf-cargo: Recreate loaded maps from ObjectSkeletonConfig6246195
build(deps): bump serde_json from 1.0.124 to 1.0.12528e096a
libbpf-cargo: Improve panic message for datasec mmap ptr retrieval17d6cb8
build(deps): bump serde from 1.0.205 to 1.0.2070bd100b
build(deps): bump clap from 4.5.14 to 4.5.15ea2058b
build(deps): bump serde_json from 1.0.122 to 1.0.1240189c1f
build(deps): bump clap from 4.5.13 to 4.5.1413e76e7
Release 0.24.1- Additional commits viewable in compare view
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)