Module perf_event_open_sys::bindings
source · Expand description
Types and constants used with perf_event_open
.
This module contains types and constants for use with the
perf_event_open
system call. These are automatically generated from
the header files <linux/perf_event.h>
and <linux/hw_breakpoint.h>
by the
Rust bindgen
tool.
It’s not always obvious how bindgen
will choose to reflect a given C
construct into Rust. The best approach I’ve found is simply to search
the source code for the C identifier name and see what bindgen
did
with it.