• Ian Munsie's avatar
    tracing/syscalls: Allow arch specific syscall symbol matching · b2d55496
    Ian Munsie authored
    Some architectures have unusual symbol names and the generic code to
    match the symbol name with the function name for the syscall metadata
    will fail. For example, symbols on PPC64 start with a period and the
    generic code will fail to match them.
    
    This patch moves the match logic out into a separate function which an
    arch can override by defining ARCH_HAS_SYSCALL_MATCH_SYM_NAME in
    asm/ftrace.h and implementing arch_syscall_match_sym_name.
    Signed-off-by: default avatarIan Munsie <imunsie@au1.ibm.com>
    LKML-Reference: <1296703645-18718-5-git-send-email-imunsie@au1.ibm.com>
    Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
    b2d55496
ftrace-design.txt 14.9 KB