A library to program performance counters in rust.
- API Documentation
- See the
examples/
directory for more code-snippets on how to use the library to create counters.
- perfcnt-list: Lists all architecture specific events available on the current machine (currently only supports Intel x86).
- Linux support without breakpoints and tracepoints
- No Windows or MacOS X support
- Missing raw AMD and ARM aarch64 events
- Generally, this requires the CAP_PERFMON and CAP_SYS_PTRACE capabilities to run
- On Kubernetes/Docker these are referred to as PERFMON and SYS_PTRACE