powerpc/xmon: Exclude all of xmon from ftrace
authorNaveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Wed, 2 Aug 2017 18:25:38 +0000 (23:55 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 15 Aug 2017 05:30:17 +0000 (15:30 +1000)
commite12d94f80614475b07d046eb095e6b8c1d9dd38d
treefe5c2b27d143f682a885966b4fda9056d661f3a8
parented49f7fd6438dcc8c93fa7d1d7d815e47c7115dd
powerpc/xmon: Exclude all of xmon from ftrace

Exclude core xmon files from ftrace (along with an xmon xive helper
outside of xmon/) to minimize impact of ftrace while within xmon.

Before:
  /sys/kernel/debug/tracing# grep -ci xmon available_filter_functions
  26

After:
  /sys/kernel/debug/tracing# grep -ci xmon available_filter_functions
  0

Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
[mpe: Use $(subst ..) on KBUILD_CFLAGS rather than CFLAGS_REMOVE_xxx]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/sysdev/xive/common.c
arch/powerpc/xmon/Makefile