dorindabassey / gpu-trace

Simple script to collect amdgpu traces

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gpu-trace

A tool intended to aid the collection process of gpuvis traces.

It can run either as a daemon or standalone fashion.

Installation instructions

cd {path where project was clone}
sudo make install

Standalone capture

sudo gpu-trace
# Press Ctrl+C to stop capture and open report in gpuvis

Daemon based capture

First enable the daemon after installation:

sudo systemctl enable gpu-trace
sudo systemctl start gpu-trace

Capturing a trace:

gpu-trace --capture
# Or gpu-trace --capture -o ./capture.dat

In daemon mode a trace will always be collected in the background. To temporarily disable capture:

gpu-trace --stop
# Do things
gpu-trace --start

Alternatively, the daemon can stopped/started using systemctl.

About

Simple script to collect amdgpu traces

License:MIT License


Languages

Language:Python 74.7%Language:Shell 22.6%Language:Makefile 2.7%