summaryrefslogtreecommitdiff
path: root/tools/intel_display_poller.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2017-11-12 11:46:37 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2017-11-17 14:15:37 +0000
commit9fb5344bab2540e3d12a7d3a94c2a3801a6fec36 (patch)
tree5bbcdf875238c78cd9af63118d9ab1108cbb5cea /tools/intel_display_poller.c
parent8934f722e15fe00de993f6e802ab7f96e749d2bb (diff)
tools/error_decode: Print ASCII user buffers
Look at the first 16 characters of the user buffer and if they are all printable, assume that user buffer contains ASCII data (e.g. a debug log) that we want to simply print out. Otherwise, we treat it as a binary data and hexdump as before. Tvrtko: you know you could just write this as a printf (d'oh) Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Diffstat (limited to 'tools/intel_display_poller.c')
0 files changed, 0 insertions, 0 deletions