diff options
author | Ze Gao <zegao2021@gmail.com> | 2023-05-17 06:45:09 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-05-24 19:32:53 +0300 |
commit | 7099e14f601e7fdca2d278200cfbbb5c2dcf00f1 (patch) | |
tree | cdc4ec50efcd89048e2612da4c7cb05c2832499b /arch/s390/kernel/stacktrace.c | |
parent | c46d3efb4d23dbcc325fcb37714bb3127368b2c6 (diff) | |
download | linux-7099e14f601e7fdca2d278200cfbbb5c2dcf00f1.tar.xz |
rethook, fprobe: do not trace rethook related functions
commit 571a2a50a8fc546145ffd3bf673547e9fe128ed2 upstream.
These functions are already marked as NOKPROBE to prevent recursion and
we have the same reason to blacklist them if rethook is used with fprobe,
since they are beyond the recursion-free region ftrace can guard.
Link: https://lore.kernel.org/all/20230517034510.15639-5-zegao@tencent.com/
Fixes: f3a112c0c40d ("x86,rethook,kprobes: Replace kretprobe with rethook on x86")
Signed-off-by: Ze Gao <zegao@tencent.com>
Reviewed-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Cc: stable@vger.kernel.org
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/s390/kernel/stacktrace.c')
0 files changed, 0 insertions, 0 deletions