summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorMasami Hiramatsu <mhiramat@kernel.org>2020-10-28 17:31:10 +0300
committerPeter Zijlstra <peterz@infradead.org>2020-12-09 19:08:57 +0300
commit78ff2733ff352175eb7f4418a34654346e1b6cd2 (patch)
tree78de136fb9b5056b893f051ed195bea557741e74 /tools/perf/scripts/python/syscall-counts.py
parent78af4dc949daaa37b3fcd5f348f373085b4e858f (diff)
downloadlinux-78ff2733ff352175eb7f4418a34654346e1b6cd2.tar.xz
x86/kprobes: Restore BTF if the single-stepping is cancelled
Fix to restore BTF if single-stepping causes a page fault and it is cancelled. Usually the BTF flag was restored when the single stepping is done (in resume_execution()). However, if a page fault happens on the single stepping instruction, the fault handler is invoked and the single stepping is cancelled. Thus, the BTF flag is not restored. Fixes: 1ecc798c6764 ("x86: debugctlmsr kprobes") Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/160389546985.106936.12727996109376240993.stgit@devnote2
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions