perf-event: a Rust interface to Linux performance monitoring

This repository holds the source code for the perf-event2 and perf-event-open-sys2 crates, which provide access to performance monitoring hardware and software on linux.

This repository is a fork of Jim Blandy's perf-event crate that has been updated to include several new features:

For more details see the readmes within the respective crate directories:

On systems other than Linux the perf-event2 crate will not compile but you can use the data types exposed by the perf-event-open-sys2 crate. This can useful for code that needs to parse perf-related data produced on Linux or Android systems. The syscall and ioctl functions will not be available.

See Also