Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 908 Bytes

README.md

File metadata and controls

20 lines (14 loc) · 908 Bytes

perf-event: a Rust interface to Linux performance monitoring

example workflow

This is a nascent project. Tests are lacking. The design may change.

This repository holds the source code for the perf_event and perf_event_open_sys crates, which provide access to performance monitoring hardware and software on Linux.

Even though Windows and Mac don't have the perf_event_open system call, the perf_event_open_sys crate still builds on those platforms: the type definitions in the bindings module can be useful to code that needs to parse perf-related data produced on Linux or Android systems. The syscall and ioctl wrapper functions are not available.

See the crates' subdirectories for details.