diff options
author | Sebastian Andrzej Siewior <[email protected]> | 2021-02-18 18:31:24 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2021-03-06 12:40:21 +0100 |
commit | 183f47fcaa54a5ffe671d990186d330ac8c63b10 (patch) | |
tree | 24a2deb651cf90a884b5f520b7e98a09ebb61fd0 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | e140749c9f194d65f5984a5941e46758377c93c0 (diff) |
kcov: Remove kcov include from sched.h and move it to its users.
The recent addition of in_serving_softirq() to kconv.h results in
compile failure on PREEMPT_RT because it requires
task_struct::softirq_disable_cnt. This is not available if kconv.h is
included from sched.h.
It is not needed to include kconv.h from sched.h. All but the net/ user
already include the kconv header file.
Move the include of the kconv.h header from sched.h it its users.
Additionally include sched.h from kconv.h to ensure that everything
task_struct related is available.
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Acked-by: Johannes Berg <[email protected]>
Acked-by: Andrey Konovalov <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions