summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorSudeep Holla <sudeep.holla@arm.com>2020-07-09 18:49:31 +0300
committerChris Wilson <chris@chris-wilson.co.uk>2020-07-09 20:21:31 +0300
commit2196dfea896f7027b43bae848890ce4aec5c8724 (patch)
tree11ce202c867e217b71b826d4da6b4b9ca7dabaf4 /tools/perf/scripts/python/syscall-counts.py
parent3d702d06cb3c06b34a58f01471e094d8156181ad (diff)
downloadlinux-2196dfea896f7027b43bae848890ce4aec5c8724.tar.xz
drm/i915/selftests: Fix compare functions provided for sorting
Both cmp_u32 and cmp_u64 are comparing the pointers instead of the value at those pointers. This will result in incorrect/unsorted list. Fix it by deferencing the pointers before comparison. Fixes: 4ba74e53ada3 ("drm/i915/selftests: Verify frequency scaling with RPS") Fixes: 8757797ff9c9 ("drm/i915/selftests: Repeat the rps clock frequency measurement") Cc: Chris Wilson <chris@chris-wilson.co.uk> Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Link: https://patchwork.freedesktop.org/patch/msgid/20200709154931.23310-1-sudeep.holla@arm.com
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions