]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6924dcff4456539a2bef331db7ab2913eebd679e
treefe5c2b27d143f682a885966b4fda9056d661f3a8
parent4d597e492b2e8263c05e63780f055b481b7e1581
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