summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorJohn Harrison <John.C.Harrison@Intel.com>2024-10-03 03:46:09 +0300
committerJohn Harrison <John.C.Harrison@Intel.com>2024-10-08 04:35:00 +0300
commitd7c925b2995f5cae3ad405f8988ad821d0dd0287 (patch)
treea1074d40677f52f8da74b14bbb3ccb77743cb925 /tools/perf/scripts/python/exported-sql-viewer.py
parentd2c5a5a926f43b2e42c5c955f917bad8ad6dd68c (diff)
downloadlinux-d7c925b2995f5cae3ad405f8988ad821d0dd0287.tar.xz
drm/xe/guc: Dump entire CTB on errors
The dump of the CT buffers was only showing the unprocessed data which is not generally useful for saying why a hang occurred - because it was probably caused by the commands that were just processed. So save and dump the entire buffer but in a more compact dump format. Also zero fill it on allocation to avoid confusion over uninitialised data in the dump. v2: Add kerneldoc - review feedback from Michal W. v3: Fix kerneldoc. v4: Use ascii85 instead of hexdump (review feedback from Matthew B). v5: Dump the entire CTB object rather than separately dumping just the H2G and G2H sections. That way it includes the full header info. Signed-off-by: John Harrison <John.C.Harrison@Intel.com> Reviewed-by: Julia Filipchuk <julia.filipchuk@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20241003004611.2323493-10-John.C.Harrison@Intel.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions