diff options
author | Masami Hiramatsu (Google) <mhiramat@kernel.org> | 2024-10-21 15:39:22 +0300 |
---|---|---|
committer | Masami Hiramatsu (Google) <mhiramat@kernel.org> | 2024-11-06 19:16:59 +0300 |
commit | 4638d7ebeff5a741e22139cf00aaa9db0f668a8c (patch) | |
tree | 1521ebcbac9c04dedcf1aec19221f601df68a9ad /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 3fbff988892993a144d0f47db0348c18b4621393 (diff) | |
download | linux-4638d7ebeff5a741e22139cf00aaa9db0f668a8c.tar.xz |
x86/kprobes: Cleanup kprobes on ftrace code
Cleanup kprobes on ftrace code for x86.
- Set instruction pointer (ip + MCOUNT_INSN_SIZE) after pre_handler only
when p->post_handler exists.
- Use INT3_INSN_SIZE instead of 1.
- Use instruction_pointer/instruction_pointer_set() functions instead of
accessing regs->ip directly.
Link: https://lore.kernel.org/all/172951436219.167263.18330240454389154327.stgit@devnote2/
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions