tracing: Fix comment about prefix in arch_syscall_match_sym_name()
authorzhangwei(Jovi) <jovi.zhangwei@huawei.com>
Mon, 11 Mar 2013 07:13:51 +0000 (15:13 +0800)
committerSteven Rostedt <rostedt@goodmis.org>
Fri, 15 Mar 2013 17:22:09 +0000 (13:22 -0400)
ppc64 has its own syscall prefix like ".SyS" or ".sys". Make the
comment in arch_syscall_match_sym_name() more understandable.

Link: http://lkml.kernel.org/r/513D842F.40205@huawei.com
Signed-off-by: zhangwei(Jovi) <jovi.zhangwei@huawei.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace_syscalls.c

index 68f3f344be65d0920862b16e8297e0a43fa21410..8f2ac73c7a5fd9a6c8412b7b96e1cc0473651d62 100644 (file)
@@ -37,7 +37,7 @@ static inline bool arch_syscall_match_sym_name(const char *sym, const char *name
        /*
         * Only compare after the "sys" prefix. Archs that use
         * syscall wrappers may have syscalls symbols aliases prefixed
-        * with "SyS" instead of "sys", leading to an unwanted
+        * with ".SyS" or ".sys" instead of "sys", leading to an unwanted
         * mismatch.
         */
        return !strcmp(sym + 3, name + 3);