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

Some syscall entry functions on powerpc are prefixed with
ppc_/ppc32_/ppc64_ rather than the usual sys_/__se_sys prefix. fork(),
clone(), swapcontext() are some examples of syscalls with such entry
points. We need to match against these names when initializing ftrace
syscall tracing.

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