aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/ui/gtk/annotate.c
diff options
context:
space:
mode:
authorMasami Hiramatsu <[email protected]>2017-03-29 05:03:56 +0000
committerIngo Molnar <[email protected]>2017-04-12 07:23:47 +0000
commitea1e34fc366b84e4449b37d86f2222935e29412d (patch)
treeca5dc3065ba800b8ccb593d2af457ed35f971cae /tools/perf/ui/gtk/annotate.c
parentkprobes/x86: Set kprobes pages read-only (diff)
downloadkernel-ea1e34fc366b84e4449b37d86f2222935e29412d.tar.gz
kernel-ea1e34fc366b84e4449b37d86f2222935e29412d.zip
kprobes/x86: Use probe_kernel_read() instead of memcpy()
Use probe_kernel_read() for avoiding unexpected faults while copying kernel text in __recover_probed_insn(), __recover_optprobed_insn() and __copy_instruction(). Signed-off-by: Masami Hiramatsu <[email protected]> Cc: Ananth N Mavinakayanahalli <[email protected]> Cc: Andrey Ryabinin <[email protected]> Cc: Anil S Keshavamurthy <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: Brian Gerst <[email protected]> Cc: David S . Miller <[email protected]> Cc: Denys Vlasenko <[email protected]> Cc: H. Peter Anvin <[email protected]> Cc: Josh Poimboeuf <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Ye Xiaolong <[email protected]> Link: http://lkml.kernel.org/r/149076382624.22469.10091613887942958518.stgit@devbox Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/ui/gtk/annotate.c')
0 files changed, 0 insertions, 0 deletions