]> git.baikalelectronics.ru Git - kernel.git/commitdiff
powerpc/ftrace: Don't include ftrace.o for CONFIG_FTRACE_SYSCALLS
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Mon, 9 May 2022 05:36:10 +0000 (07:36 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 19 May 2022 13:11:29 +0000 (23:11 +1000)
Since commit 760de60d077a ("powerpc/syscalls: Fix syscall tracing")
ftrace.o is not needed anymore for CONFIG_FTRACE_SYSCALLS.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/275932a5d61543b825ff9a64f61abed6da5d4a2a.1652074503.git.christophe.leroy@csgroup.eu
arch/powerpc/kernel/trace/Makefile

index 542aa7a8b2b427672d1e20f9e77d97ea89bc8be5..fc32ec30b297335096fb38ebcbcdddea591140b4 100644 (file)
@@ -17,7 +17,6 @@ endif
 obj-$(CONFIG_FUNCTION_TRACER)          += ftrace_low.o
 obj-$(CONFIG_DYNAMIC_FTRACE)           += ftrace.o
 obj-$(CONFIG_FUNCTION_GRAPH_TRACER)    += ftrace.o
-obj-$(CONFIG_FTRACE_SYSCALLS)          += ftrace.o
 obj-$(CONFIG_TRACING)                  += trace_clock.o
 
 obj-$(CONFIG_PPC64)                    += $(obj64-y)