diff options
| author | Hui Su <[email protected]> | 2020-10-31 01:32:23 +0800 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2021-01-14 11:20:11 +0100 |
| commit | 65bcf072e20ed7597caa902f170f293662b0af3c (patch) | |
| tree | 9f38c6fa85339a674e748e3391e94931ea2b3998 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | e9b9734b74656abb585a7f6fabf1d30ce00e51ea (diff) | |
sched: Use task_current() instead of 'rq->curr == p'
Use the task_current() function where appropriate.
No functional change.
Signed-off-by: Hui Su <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Steven Rostedt (VMware) <[email protected]>
Link: https://lkml.kernel.org/r/20201030173223.GA52339@rlk
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions