aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorPaul Burton <[email protected]>2018-06-14 17:20:54 +0000
committerPaul Burton <[email protected]>2018-06-20 04:13:56 +0000
commit9bcf53598dfe1bd8caaf8e03738d3cc51d45904e (patch)
treeee25419bb284148763c5a9cd2ae30424d006ca44 /tools/perf/scripts/python/sched-migration.py
parentMIPS: Add support for restartable sequences (diff)
downloadkernel-9bcf53598dfe1bd8caaf8e03738d3cc51d45904e.tar.gz
kernel-9bcf53598dfe1bd8caaf8e03738d3cc51d45904e.zip
MIPS: Add syscall detection for restartable sequences
Syscalls are not allowed inside restartable sequences, so add a call to rseq_syscall() at the very beginning of the system call exit path when CONFIG_DEBUG_RSEQ=y. This will help us to detect whether there is a syscall issued erroneously inside a restartable sequence. Signed-off-by: Paul Burton <[email protected]> Reviewed-by: James Hogan <[email protected]> Patchwork: https://patchwork.linux-mips.org/patch/19522/ Cc: Ralf Baechle <[email protected]> Cc: Mathieu Desnoyers <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Paul E. McKenney <[email protected]> Cc: Boqun Feng <[email protected]> Cc: [email protected] Cc: [email protected]
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions