aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorZhang Xiaoxu <[email protected]>2020-11-16 09:35:40 -0500
committerChris Wilson <[email protected]>2020-11-16 16:32:18 +0000
commit19384452052a1e0525e663bfbdd62ac1399bb647 (patch)
tree8d1b51f4b1ef36d504b60025d001b494732e7758 /tools/perf/scripts/python/syscall-counts-by-pid.py
parent01d708840c26c9532579677eaca942363a009fd5 (diff)
drm/i915/selftests: Fix wrong return value of perf_request_latency()
If intel context create failed, the perf_request_latency() will return 0 rather than error, because we doesn't initialize the return value. Fixes: 25c26f18ea79 ("drm/i915/selftests: Measure dispatch latency") Reported-by: Hulk Robot <[email protected]> Signed-off-by: Zhang Xiaoxu <[email protected]> Reviewed-by: Mika Kuoppala <[email protected]> Signed-off-by: Chris Wilson <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions