diff options
author | Masami Hiramatsu <[email protected]> | 2017-08-18 17:24:00 +0900 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2017-09-28 09:23:03 +0200 |
commit | 63fef14fc98a8b4fad777fd3bef4d068802b3f14 (patch) | |
tree | 538f39c60c9eaafc7a88fc5c717f53f86cd02ec1 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 4f56186ec051033848a669f1b145162d1c53e854 (diff) |
kprobes/x86: Make insn buffer always ROX and use text_poke()
Make insn buffer always ROX and use text_poke() to write
the copied instructions instead of set_memory_*().
This makes instruction buffer stronger against other
kernel subsystems because there is no window time
to modify the buffer.
Suggested-by: Ingo Molnar <[email protected]>
Signed-off-by: Masami Hiramatsu <[email protected]>
Cc: Ananth N Mavinakayanahalli <[email protected]>
Cc: Anil S Keshavamurthy <[email protected]>
Cc: David S . Miller <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/150304463032.17009.14195368040691676813.stgit@devbox
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions