amd_uprof-sys 0.1.0

Raw FFI bindings for AMD UProf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# amd_uprof-sys

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

**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`).