Releases: libbpf/libbpf-rs
Releases · libbpf/libbpf-rs
v0.25.0-beta.1
What's Changed
libbpf-rs
- Adjusted
btf::types::EnumMember
to store value asi64
- Adjusted
btf::types::Enum64Member
to store value asi128
libbpf-cargo
- Fixed skeleton generation when
enum64
types are present
New Contributors
Full Changelog: v0.25.0-beta.0...v0.25.0-beta.1
v0.25.0-beta.0
What's Changed
libbpf-rs
- Added
Map::lookup_batch
andMap::lookup_and_delete_batch
method
libbpf-cargo
- Represent C enums with custom types and const fields
- Adjusted Rust correspondents in generated skeletons to no longer be wrapped in
MaybeUninit
- Adjusted Rust correspondents in generated skeletons to no longer be wrapped in
- Adjusted
SkeletonBuilder::build*
methods to returnCompilationOutput
on success
New Contributors
- @JakeHillion made their first contribution in #994
Full Changelog: v0.24.8...v0.25.0-beta.0
v0.24.8
What's Changed
libbpf-rs
- Added
Program::attach_netfilter_with_opts
for attaching to netfilter hooks
Full Changelog: v0.24.8...v0.24.8
v0.24.7
What's Changed
libbpf-cargo
- Fixed handling of empty unions in BPF types
New Contributors
- @JoelColledge made their first contribution in #975
- @musicinmybrain made their first contribution in #988
Full Changelog: v0.24.6...v0.24.7
v0.24.6
What's Changed
libbpf-cargo
- Fixed incorrect Cargo environment variable query when used in build script context
New Contributors
Full Changelog: v0.24.5...v0.24.6
v0.24.5
What's Changed
libbpf-rs
- Renamed
Program::get_id_by_fd
toid_from_fd
- Deprecated
Program::get_id_by_fd
- Deprecated
- Renamed
Program::get_fd_by_id
tofd_from_id
- Deprecated
Program::get_fd_by_id
- Deprecated
- Adjusted
Program::{attach_*, test_run}
methods to work on shared receivers - Adjusted
PerfBufferBuilder
to work withMapCore
objects
New Contributors
- @CoderPoet made their first contribution in #939
- @lbrndnr made their first contribution in #951
Full Changelog: v0.24.4...v0.24.5
v0.24.4
What's Changed
libbpf-rs
- Added
Program::fd_from_pinned_path
method for restoring program descriptor from a pinned path
libbpf-cargo
- Adjusted skeleton generation code to work around
libbpf
forward compatibility issue when an old systemlibbpf
is being used instead of the vendored copy
Full Changelog: v0.24.3...v0.24.4
v0.24.3
What's Changed
libbpf-cargo
- Silenced possible
clippy
reported warnings in generated skeleton when BPF object file does not contain any maps
Full Changelog: v0.24.2...v0.24.3
v0.24.2
What's Changed
libbpf-cargo
- Fixed panic on "open" of skeleton with
kconfig
map
Full Changelog: v0.24.1...v0.24.2
v0.24.1
What's Changed
libbpf-cargo
- Fixed missing BPF object cleanup after skeleton destruction
Full Changelog: v0.24.0...v0.24.1