perf_attach
Record an already-running program by PID or command-line name for a set duration and return GPU trace summaries while leaving the program running; launch games via their launcher first.
Instructions
Records a program that is already running, by pid or by a name in its command line (Game.exe under Wine),
for seconds and returns the same summary as perf_record; the program keeps running. For games started by
Steam, CrossOver, NotProton or any launcher: start the game or its benchmark there first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | name for the run: letters, digits, '.', '_', '-' | |
| process | Yes | pid, or a name in the program's command line such as Game.exe | |
| seconds | No | recording length, default 20; the export afterwards takes several minutes under Wine |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||