mirror of
https://github.com/torvalds/linux.git
synced 2026-05-22 14:12:07 +02:00
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) <mhiramat@kernel.org> Reviewed-by: Heiko Carstens <hca@linux.ibm.com> Link: https://lore.kernel.org/r/173807818869.1854334.15474589105952793986.stgit@devnote2 Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
This commit is contained in:
parent
95a05bf552
commit
b999589956
|
|
@ -51,6 +51,7 @@ static inline unsigned long ftrace_call_adjust(unsigned long addr)
|
|||
{
|
||||
return addr;
|
||||
}
|
||||
#define ftrace_get_symaddr(fentry_ip) ((unsigned long)(fentry_ip))
|
||||
|
||||
#include <linux/ftrace_regs.h>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user