diff options
| author | Jordan Crouse <jcrouse@codeaurora.org> | 2017-02-21 14:50:45 -0700 |
|---|---|---|
| committer | Jordan Crouse <jcrouse@codeaurora.org> | 2017-02-22 09:52:30 -0700 |
| commit | 20e281de4868145daafdf6e0da9b1924a869e152 (patch) | |
| tree | 83eef42371c6ec76f4d5e74935d76d35bf4c35e7 /tools/perf/scripts/python | |
| parent | 869486c969c819ef907437ac74381ffe1ae6f662 (diff) | |
drm/msm: Add support for the QTI GPU snapshot format
When a fault happens on the Adreno GPU we want to collect
a considerable amount of information to diagnose the problem
including registers, caches, and GPU memory structures (ringbuffers,
etc).
The snapshot collects all of this information following a GPU fault
and encodes it into a binary file format that can be pulled from
debugfs or extracted from a memory dump.
This may seem a duplication of other debug methods (the ->show
functions for example) and while that is true for small numbers
of registers the snapshot goes much further - it collects hundreds
(thousands) of registers in addition to memory and other structures
that would be impractical to dump as ascii. The binary format allows
for the snapshot to be easily shared and post-processed in different
ways to extract patterns.
Add the basic snapshot infrastructure and enable ringbuffer, register
and shader bank collection for A5XX targets.
Change-Id: Ic0dedbadcf0513096d05870f522ac73da74ceb31
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
