treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / powerpc / kernel / trace / Makefile
blob858503775c58338f799215caa1e8099ddc526ec5
1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for the powerpc trace subsystem
6 ifdef CONFIG_FUNCTION_TRACER
7 # do not trace tracer code
8 CFLAGS_REMOVE_ftrace.o = $(CC_FLAGS_FTRACE)
9 endif
11 obj32-$(CONFIG_FUNCTION_TRACER) += ftrace_32.o
12 obj64-$(CONFIG_FUNCTION_TRACER) += ftrace_64.o
13 ifdef CONFIG_MPROFILE_KERNEL
14 obj64-$(CONFIG_FUNCTION_TRACER) += ftrace_64_mprofile.o
15 else
16 obj64-$(CONFIG_FUNCTION_TRACER) += ftrace_64_pg.o
17 endif
18 obj-$(CONFIG_DYNAMIC_FTRACE) += ftrace.o
19 obj-$(CONFIG_FUNCTION_GRAPH_TRACER) += ftrace.o
20 obj-$(CONFIG_FTRACE_SYSCALLS) += ftrace.o
21 obj-$(CONFIG_TRACING) += trace_clock.o
23 obj-$(CONFIG_PPC64) += $(obj64-y)
24 obj-$(CONFIG_PPC32) += $(obj32-y)
26 # Disable GCOV, KCOV & sanitizers in odd or sensitive code
27 GCOV_PROFILE_ftrace.o := n
28 KCOV_INSTRUMENT_ftrace.o := n
29 UBSAN_SANITIZE_ftrace.o := n