v0.25.0
·
95 commits
to refs/heads/master
since this release
What's Changed
libbpf-rs
- Added kprobe multi support for attaching programs, with and without providing additional options
- Added
Program::attach_perf_event_with_optsfor attaching to perf events with additional options - Allow to provide additional options when attaching programs to raw tracepoints
- Allow to provide additional options when attaching programs to kprobes
- Introduced
TracepointCategoryenum for specifying tracepoint categories - Added
max_entriesgetter to various map types - Added
OpenProgramMut::set_autoattach - Added additional
ProgramAttachTypeandquery::LinkTypeInfovariants - Adjusted
UprobeOpts::func_nameto be anOption - Implemented
SyncforLink - Updated
libbpf-sysdependency to1.5.0 - Added
ProgramInput::repeatfield to run a test multiple times - Added
ProgramOutput::durationfield which represent the average duration per repetition - Added
RingBuffer::consume_raw_nmethod to consume up to N items
libbpf-cargo
- Adjusted all
<xxx>_dataBPF map skeleton members to beOptions - Adjusted numbering of generated Rust structs for anonymous C types to be less fragile in the presence of type additions
- Removed
SkeletonBuilder::skip_clang_version_checkandSkeletonBuilder::debug - Removed
--skip-clang-version-checksoption oflibbpf buildsub-command - Replaced
--debugoption oflibbpfsub-command with-v/--verbose- Removed
--quietoption oflibbpf makesub-command
- Removed
- Replaced
CompilationOutputtype withtracingbased solution using newly addedutil::CargoWarningFormatter - Fixed handling of multiple types of same name in BTF by enumerating them in the generated skeleton
- Bumped minimum Rust version to
1.78
New Contributors
- @Jongy made their first contribution in #1064
- @atenart made their first contribution in #1115
- @josefbacik made their first contribution in #1139
- @volcano0dr made their first contribution in #1142
- @theihor made their first contribution in #1153
- @chantra made their first contribution in #1159
- @SidongYang made their first contribution in #1176
- @Waujito made their first contribution in #1178
Full Changelog: v0.25.0-beta.1...v0.25.0