Skip to content

Rust library to program hardware performance counter.

License

Notifications You must be signed in to change notification settings

ticketmaster/rust-perfcnt

This branch is 1 commit ahead of gz/rust-perfcnt:master.

Repository files navigation

perfcnt Build Status Crates.io

A library to program performance counters in rust.

Documentation

Provided Programs

  • perfcnt-list: Lists all architecture specific events available on the current machine (currently only supports Intel x86).

Known limitations

  • Linux support without breakpoints and tracepoints
  • No Windows or MacOS X support
  • Missing raw AMD and ARM aarch64 events

Linux Kernel Capabilities

  • 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

About

Rust library to program hardware performance counter.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%