aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2019-11-01 08:49:40 +0000
committerChris Wilson <[email protected]>2019-11-01 10:12:29 +0000
commite5661c6ab0efd0dd0140a0f521b6e9f6a26a5071 (patch)
tree99446cddd13e1d8d9d6225de6cd7f32926c480e0 /tools/perf/util/scripting-engines/trace-event-python.c
parent292a27b0a807615f4c140b990802f109c72d6c8c (diff)
drm/i915/selftests: Start kthreads before stopping
An interesting observation made with our parallel selftests was that on our small/single cpu systems we would call kthread_stop() before the kthreads were spawned. If this happens, the kthread is never run at all; completely bypassing the test. A simple yield() from the parent will ensure that all children have the opportunity to start before we reap them. Signed-off-by: Chris Wilson <[email protected]> Cc: Matthew Auld <[email protected]> Reviewed-by: Matthew Auld <[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