1 # SPDX-License-Identifier: GPL-2.0 2 # 3 # Makefile for the powerpc trace subsystem 4 # 5 6 ifdef CONFIG_FUNCTION_TRACER 7 # do not trace tracer code 8 CFLAGS_REMOVE_ftrace.o = $(CC_FLAGS_FTRACE) 9 CFLAGS_REMOVE_ftrace_64_pg.o = $(CC_FLAGS_FTRA 10 endif 11 12 obj32-$(CONFIG_FUNCTION_TRACER) += ftr 13 ifdef CONFIG_MPROFILE_KERNEL 14 obj64-$(CONFIG_FUNCTION_TRACER) += ftr 15 else 16 obj64-$(CONFIG_FUNCTION_TRACER) += ftr 17 endif 18 obj-$(CONFIG_TRACING) += tra 19 20 obj-$(CONFIG_PPC64) += $(o 21 obj-$(CONFIG_PPC32) += $(o 22 23 # Disable GCOV, KCOV & sanitizers in odd or se 24 GCOV_PROFILE_ftrace.o := n 25 KCOV_INSTRUMENT_ftrace.o := n 26 KCSAN_SANITIZE_ftrace.o := n 27 UBSAN_SANITIZE_ftrace.o := n 28 GCOV_PROFILE_ftrace_64_pg.o := n 29 KCOV_INSTRUMENT_ftrace_64_pg.o := n 30 KCSAN_SANITIZE_ftrace_64_pg.o := n 31 UBSAN_SANITIZE_ftrace_64_pg.o := n
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.