diff options
author | Peter Zijlstra <[email protected]> | 2019-08-26 14:48:23 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2019-11-27 07:44:24 +0100 |
commit | 768ae4406a5cab7e8702550f2446dbeb377b798d (patch) | |
tree | e8b0d60a474c915f8219e3b2616da50b43421143 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 63f62addb88ec4b358cf4574789bc3180c689e9a (diff) |
x86/ftrace: Use text_poke()
Move ftrace over to using the generic x86 text_poke functions; this
avoids having a second/different copy of that code around.
This also avoids ftrace violating the (new) W^X rule and avoids
fragmenting the kernel text page-tables, due to no longer having to
toggle them RW.
Tested-by: Alexei Starovoitov <[email protected]>
Tested-by: Steven Rostedt (VMware) <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Steven Rostedt (VMware) <[email protected]>
Acked-by: Alexei Starovoitov <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Daniel Bristot de Oliveira <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Josh Poimboeuf <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions