diff options
| author | Kirill Tkhai <[email protected]> | 2014-08-20 13:47:32 +0400 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2014-08-20 14:52:59 +0200 |
| commit | da0c1e65b51a289540159663aa4b90ba2366bc21 (patch) | |
| tree | ed3da6438c901a5b51eaf5ed57f94b56c271572a /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | f36c019c79edb3a89920afae1b2b45987af1a112 (diff) | |
sched: Add wrapper for checking task_struct::on_rq
Implement task_on_rq_queued() and use it everywhere instead of
on_rq check. No functional changes.
The only exception is we do not use the wrapper in
check_for_tasks(), because it requires to export
task_on_rq_queued() in global header files. Next patch in series
would return it back, so we do not twist it from here to there.
Signed-off-by: Kirill Tkhai <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Paul Turner <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Kirill Tkhai <[email protected]>
Cc: Tim Chen <[email protected]>
Cc: Nicolas Pitre <[email protected]>
Cc: Linus Torvalds <[email protected]>
Link: http://lkml.kernel.org/r/1408528052.23412.87.camel@tkhai
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions