aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/task-analyzer-record
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2023-09-06 13:54:38 +0300
committerAlex Deucher <[email protected]>2023-09-11 17:13:57 -0400
commitb3b186852846d5526134248cdddef004d831998f (patch)
tree8041e8c740755bdec6a60f302cadf402f3984387 /tools/perf/scripts/python/bin/task-analyzer-record
parentb6c22668a898c326740412a2913c8c4154d7bae6 (diff)
drm/amdgpu: fix retry loop test
This loop will exit with "retry" set to -1 if it fails but the code checks for if "retry" is zero. Fix this by changing post-op to a pre-op. --retry vs retry--. Fixes: e01eeffc3f86 ("drm/amd/pm: avoid driver getting empty metrics table for the first time") Reviewed-by: Evan Quan <[email protected]> Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/task-analyzer-record')
0 files changed, 0 insertions, 0 deletions