v0.25.0
·
24 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_opts
for 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
TracepointCategory
enum for specifying tracepoint categories - Added
max_entries
getter to various map types - Added
OpenProgramMut::set_autoattach
- Added additional
ProgramAttachType
andquery::LinkTypeInfo
variants - Adjusted
UprobeOpts::func_name
to be anOption
- Implemented
Sync
forLink
- Updated
libbpf-sys
dependency to1.5.0
- Added
ProgramInput::repeat
field to run a test multiple times - Added
ProgramOutput::duration
field which represent the average duration per repetition - Added
RingBuffer::consume_raw_n
method to consume up to N items
libbpf-cargo
- Adjusted all
<xxx>_data
BPF map skeleton members to beOption
s - 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_check
andSkeletonBuilder::debug
- Removed
--skip-clang-version-checks
option oflibbpf build
sub-command - Replaced
--debug
option oflibbpf
sub-command with-v
/--verbose
- Removed
--quiet
option oflibbpf make
sub-command
- Removed
- Replaced
CompilationOutput
type withtracing
based 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