aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorJohn Harrison <[email protected]>2024-10-02 17:46:09 -0700
committerJohn Harrison <[email protected]>2024-10-07 18:35:00 -0700
commitd7c925b2995f5cae3ad405f8988ad821d0dd0287 (patch)
treea1074d40677f52f8da74b14bbb3ccb77743cb925 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parentd2c5a5a926f43b2e42c5c955f917bad8ad6dd68c (diff)
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 <[email protected]> Reviewed-by: Julia Filipchuk <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions