aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2020-07-10 20:32:39 +0100
committerChris Wilson <[email protected]>2020-07-10 22:06:35 +0100
commit68172f2c0b8acc5609284651f1316246f3a3a65b (patch)
tree88fd73bb9b735dcaeda2b0d9c318a20903274cb0 /tools/perf/util/scripting-engines/trace-event-python.c
parentb2295e2ecc04d189477cb08a96129ff1b3606f3a (diff)
drm/i915: Pull printing GT capabilities on error to err_print_gt
We try not to assume that we captured any information, and so have to check that error->gt exists before reporting. This check was missed in err_print_capabilities, so lets break up the capability info and push it into the GT dump. We are still a long way from yamlifying this output! Reported-by: Dan Carpenter <[email protected]> Fixes: 792592e72aba ("drm/i915: Move the engine mask to intel_gt_info") Signed-off-by: Chris Wilson <[email protected]> Cc: Daniele Ceraolo Spurio <[email protected]> Cc: Dan Carpenter <[email protected]> Reviewed-by: Daniele Ceraolo Spurio <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions