Skip to content

v0.26.0

Latest

Choose a tag to compare

@github-actions github-actions released this 04 Feb 21:31
· 10 commits to refs/heads/master since this release

What's Changed

libbpf-rs

  • Added Link::info method for retrieving LinkInfo
  • Extended LinkTypeInfo::PerfEvent variant to contain newly added PerfEventLinkInfo object
  • Added Linker::add_buf method for adding in-memory ELF files to the set of objects to link
  • Added Program::attach_iter_with_opts for attaching to iterators with additional options
  • Added Program::attach_uprobe_multi & Program::attach_uprobe_multi_opts to enable attachments of multi uprobes at once
  • Added Program::{stdout,stderr} for accessing BPF stdout and stderr streams
  • Added OpenProgram::autoload getter
  • Added OpenMap::autocreate and Map::autocreate getters
  • Added MapCore::lookup_into for looking up values into preallocated buffers
  • Added verified_insns attribute to query::ProgramInfo type
  • Made query::ProgramInfo non-exhaustive
  • Added ObjectBuilder::btf_custom_path setter

libbpf-cargo

  • Fixed Rust type generation for trailing bitfields in composite C types
  • Fixed handling of XxxSkelBuilder::obj_builder customizations when using open() constructor
  • Allowlisted libbpf-sys 1.6.3

New Contributors

Full Changelog: v0.26.0-beta.1...v0.26.0