summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorFrederic Weisbecker <frederic@kernel.org>2020-11-17 16:16:35 +0100
committerPeter Zijlstra <peterz@infradead.org>2020-11-19 11:25:42 +0100
commit9f68b5b74c48761bcbd7d90cf1426049bdbaabb7 (patch)
treed121e17b162a5fdd759f0768e5462c1fab11c394 /tools/perf/scripts/python/syscall-counts.py
parent179a9cf79212bb3b96fb69a314583189cd863c5b (diff)
sched: Detect call to schedule from critical entry code
Detect calls to schedule() between user_enter() and user_exit(). Those are symptoms of early entry code that either forgot to protect a call to schedule() inside exception_enter()/exception_exit() or, in the case of HAVE_CONTEXT_TRACKING_OFFSTACK, enabled interrupts or preemption in a wrong spot. Signed-off-by: Frederic Weisbecker <frederic@kernel.org> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/20201117151637.259084-4-frederic@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions