diff options
| author | Steven Rostedt <[email protected]> | 2014-10-08 13:52:16 -0400 |
|---|---|---|
| committer | Steven Rostedt <[email protected]> | 2014-10-09 11:15:08 -0400 |
| commit | addff1feb02b03cb766b9a611c6b2cebf29bc285 (patch) | |
| tree | faf54b05294f2feac72d62ebafb2fcbe959185e0 /tools/perf/scripts/python/syscall-counts.py | |
| parent | fe0e01c77dd9f7a60916aec2149d8a1182baf63c (diff) | |
tracing: Clean up scheduling in trace_wakeup_test_thread()
Peter's new debugging tool triggers when tasks exit with !TASK_RUNNING.
The code in trace_wakeup_test_thread() also has a single schedule() call
that should be encompassed by a loop.
This cleans up the code a little to make it a bit more robust and
also makes the return exit properly with TASK_RUNNING.
Link: http://lkml.kernel.org/p/[email protected]
Reported-by: Peter Zijlstra <[email protected]>
Acked-by: Peter Zijlstra <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions