diff options
| author | Peter Zijlstra <[email protected]> | 2021-06-11 08:28:12 +0000 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2021-06-18 09:43:07 +0000 |
| commit | b03fbd4ff24c5f075e58eb19261d5f8b3e40d7c6 (patch) | |
| tree | aa8a970bc1cf036c71a1c3201a0cd0ed8fb66636 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | sched: Unbreak wakeups (diff) | |
| download | kernel-b03fbd4ff24c5f075e58eb19261d5f8b3e40d7c6.tar.gz kernel-b03fbd4ff24c5f075e58eb19261d5f8b3e40d7c6.zip | |
sched: Introduce task_is_running()
Replace a bunch of 'p->state == TASK_RUNNING' with a new helper:
task_is_running(p).
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Acked-by: Davidlohr Bueso <[email protected]>
Acked-by: Geert Uytterhoeven <[email protected]>
Acked-by: Will Deacon <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
