diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2021-10-04 20:24:12 +0200 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2021-10-11 20:55:58 +0200 |
commit | 894979689d3ac4780601b4506a03b4722398caf5 (patch) | |
tree | 0c7d3517d2d950605e08aac5f0083ba3bca7c14b /arch/s390/include/asm/ftrace.h | |
parent | s390/ftrace: add ftrace_instruction_pointer_set() helper function (diff) | |
download | linux-894979689d3ac4780601b4506a03b4722398caf5.tar.xz linux-894979689d3ac4780601b4506a03b4722398caf5.zip |
s390/ftrace: provide separate ftrace_caller/ftrace_regs_caller implementations
ftrace_regs_caller is an alias to ftrace_caller - making ftrace_caller
quite heavyweight. Split the function and provide an ftrace_caller
implementation which comes with fewer instructions. Especially getting
rid of 'stosm' on each function entry should help here, e.g. to
have less performance impact on live patched functions.
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/ftrace.h')
-rw-r--r-- | arch/s390/include/asm/ftrace.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/s390/include/asm/ftrace.h b/arch/s390/include/asm/ftrace.h index 3baceb4a7d3c..4a721b44d4f4 100644 --- a/arch/s390/include/asm/ftrace.h +++ b/arch/s390/include/asm/ftrace.h @@ -17,7 +17,6 @@ void ftrace_caller(void); -extern char ftrace_graph_caller_end; extern void *ftrace_func; struct dyn_arch_ftrace { }; |