Took me some time to answer, but here it is:

Yey! 

libbpf definitely needs convenient Rust wrappers, so I did that some
time ago already: https://github.com/badboy/libbpf-rs
It currently lacks proper testing & documentation.

Best,
Jan-Erik

On Sun, Oct 22, 2017 at 12:07:25AM -0500, zhiting zhu via iovisor-dev wrote:
> Hi,
> 
> I create a Rust binding for the bcc headers. Now the binding includes
> libbpf.h, bcc_syms.h and perf_reader.h. The crate has been published to
> crates.io: https://crates.io/crates/bcc-sys and the repo is here:
> https://github.com/photoszzt/bcc-sys.
> 
> The crate right now is looking at the installed bcc header and generate the
> binding on the fly when building the crate. So the generated binding would
> match what you have on your system. Feedback is welcome!
> 
> Best,
> Zhiting Zhu

> _______________________________________________
> iovisor-dev mailing list
> [email protected]
> https://lists.iovisor.org/mailman/listinfo/iovisor-dev

_______________________________________________
iovisor-dev mailing list
[email protected]
https://lists.iovisor.org/mailman/listinfo/iovisor-dev

Reply via email to