amd_uprof-sys

Crates.ioamd_uprof-sys
lib.rsamd_uprof-sys
version0.1.3
created_at2025-08-20 16:26:25.829295+00
updated_at2025-08-29 09:56:15.329363+00
descriptionRaw FFI bindings for AMD UProf
homepagehttps://github.com/vdrn/amd_uprof-sys
repositoryhttps://github.com/vdrn/amd_uprof-sys
max_upload_size
id1803676
size27,297
Vedran Maric (vdrn)

documentation

README

amd_uprof-sys

Provides FFI bindings to AMD uProf's AMDProfileController API for profiling from Rust.

Installation

[dependencies]
amd_uprof-sys = "0.1"

Env vars

  • AMD_UPROF_DIR: root install directory; used to infer include/lib paths.
  • AMD_UPROF_INCLUDE_DIR: explicit path to headers (overrides inference).
  • AMD_UPROF_LIB_DIR: explicit path to libraries (overrides inference).

If env vars are not set, the build will try to find AMD uProf headers and libraries in common install locations (e.g. /opt or /usr/local).

Features

  • bindgen: generate bindings at build time from system headers. Without it, the crate uses committed bindings (currently targeting AMD uProf 5.0).
Commit count: 8

cargo fmt