]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commitedf6a2dfe3889daf97e7c164891a87832169e3e4
tree5a2c0267edaa623f4d875001d0609cd187f5ca01
parent0b7758aaf6543b9a10c8671db559e9d374a3fd95
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