Skip to content

v0.20.0

Compare
Choose a tag to compare
@github-actions 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, and ProgramType::is_helper_supported methods
  • Added PerfBuffer::as_libbpf_perf_buffer_ptr to access underlying libbpf-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 for PerfBuffer and RingBuffer
  • Made more types implement Clone and Debug
  • 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

Full Changelog: v0.19.1...v0.20.0