v0.20.0
github-actions
released this
15 Mar 20:59
·
741 commits
to refs/heads/master
since this release
What's Changed
libbpf-rs
- Added support for USDT probes
- Added BPF linker support with new
Linker
type - Added
Program::attach_uprobe_with_opts
for attaching Uprobes with additional options - Added
tproxy
example - Added option to
RingBuffer::poll
to block indefinitely - Added support for querying BPF program type using
OpenProgram::prog_type
- Added support for retrieving a BPF program's instructions using
OpenProgram::insns
&Program::insns
- Added
MapType::is_supported
,ProgramType::is_supported
, andProgramType::is_helper_supported
methods - Added
PerfBuffer::as_libbpf_perf_buffer_ptr
to access underlyinglibbpf-sys
object - Adjusted various
Map
methods to work on shared receivers - Fixed
Link::open
constructor to be a static method - Fixed unsoundness in skeleton logic caused by aliased
Box
contents - Implemented
Send
forPerfBuffer
andRingBuffer
- Made more types implement
Clone
andDebug
- Run leak sanitizer in CI
- Updated various dependencies
libbpf-cargo
- Fixed mismatch in size of generated types with respect to corresponding C types
- Fixed generated skeleton potentially being unstable (changing each time)
- Implemented
Sync
for generated skeletons - Made formatting using
rustfmt
optional - Updated various dependencies
New Contributors
- @ueno made their first contribution in #277
- @jirutka made their first contribution in #283
- @yunwei37 made their first contribution in #286
- @yuval-k made their first contribution in #295
- @michel-slm made their first contribution in #338
- @vankoven made their first contribution in #369
- @mendess made their first contribution in #371
Full Changelog: v0.19.1...v0.20.0