]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/trace/syscalls: Update syscall name matching logic
authorNaveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Fri, 4 May 2018 13:14:24 +0000 (18:44 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 7 May 2018 11:29:30 +0000 (21:29 +1000)
commitd57d2fbf16cee9f6c133078faec31368f5903629
treefa542503c8f9a04d35cad225003d906e27e24e2a
parent4267305080c5350e2379b3c3b3052f745b3ab8b6
powerpc/trace/syscalls: Update syscall name matching logic

On powerpc64 ABIv1, we are enabling syscall tracing for only ~20
syscalls. This is due to commit 24f5711fdaec9 ("syscalls/core,
syscalls/x86: Clean up syscall stub naming convention") which has
changed the syscall entry wrapper prefix from "SyS" to "__se_sys".

Update the logic for ABIv1 to not just skip the initial dot, but also
the "__se_sys" prefix.

Fixes: commit 24f5711fdaec9 ("syscalls/core, syscalls/x86: Clean up syscall stub naming convention")
Reported-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/ftrace.h