Skip to content

Commit b999589

Browse files
mhiramatAlexander Gordeev
authored andcommitted
s390/tracing: Define ftrace_get_symaddr() for s390
Add ftrace_get_symaddr() for s390, which returns the symbol address from ftrace's 'ip' parameter. Signed-off-by: Masami Hiramatsu (Google) <[email protected]> Reviewed-by: Heiko Carstens <[email protected]> Link: https://lore.kernel.org/r/173807818869.1854334.15474589105952793986.stgit@devnote2 Signed-off-by: Alexander Gordeev <[email protected]>
1 parent 95a05bf commit b999589

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/s390/include/asm/ftrace.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ static inline unsigned long ftrace_call_adjust(unsigned long addr)
5151
{
5252
return addr;
5353
}
54+
#define ftrace_get_symaddr(fentry_ip) ((unsigned long)(fentry_ip))
5455

5556
#include <linux/ftrace_regs.h>
5657

0 commit comments

Comments
 (0)