diff options
author | Masami Hiramatsu <[email protected]> | 2022-03-26 11:27:05 +0900 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2022-03-28 19:38:09 -0700 |
commit | 73f9b911faa74ac5107879de05c9489c419f41bb (patch) | |
tree | db31d9a59c0ac9b21a7aa243bb8a2d02f0525c4f /lib/mpi/mpiutil.c | |
parent | ef8a257b4e499a979364b1f9caf25a325f6ee8b8 (diff) |
kprobes: Use rethook for kretprobe if possible
Use rethook for kretprobe function return hooking if the arch sets
CONFIG_HAVE_RETHOOK=y. In this case, CONFIG_KRETPROBE_ON_RETHOOK is
set to 'y' automatically, and the kretprobe internal data fields
switches to use rethook. If not, it continues to use kretprobe
specific function return hooks.
Suggested-by: Peter Zijlstra <[email protected]>
Signed-off-by: Masami Hiramatsu <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Link: https://lore.kernel.org/bpf/164826162556.2455864.12255833167233452047.stgit@devnote2
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions