rust-bpf / rust-bcc

user-friendly rust bindings for the bpf compiler collection
MIT License
475 stars 54 forks source link

Adds support for creating raw perf events #168

Closed brayniac closed 3 years ago

brayniac commented 3 years ago

Adds a Event::Raw variant that captures the fields necessary for creating the event configuration. This allows us to use Rust + BPF to instrument architecture specific events.