# SPDX-License-Identifier: GPL-2.0 # # Makefile for the powerpc trace subsystem # ifdef [31mCONFIG_FUNCTION_TRACER[0m # do not trace tracer code CFLAGS_REMOVE_ftrace.o = $(CC_FLAGS_FTRACE) endif obj32-$([31mCONFIG_FUNCTION_TRACER[0m) += ftrace_32.o obj64-$([31mCONFIG_FUNCTION_TRACER[0m) += ftrace_64.o ifdef [31mCONFIG_MPROFILE_KERNEL[0m obj64-$([31mCONFIG_FUNCTION_TRACER[0m) += ftrace_64_mprofile.o else obj64-$([31mCONFIG_FUNCTION_TRACER[0m) += ftrace_64_pg.o endif obj-$([31mCONFIG_DYNAMIC_FTRACE[0m) += ftrace.o obj-$([31mCONFIG_FUNCTION_GRAPH_TRACER[0m) += ftrace.o obj-$([31mCONFIG_FTRACE_SYSCALLS[0m) += ftrace.o obj-$([31mCONFIG_TRACING[0m) += trace_clock.o obj-$([31mCONFIG_PPC64[0m) += $(obj64-y) obj-$([31mCONFIG_PPC32[0m) += $(obj32-y) # Disable GCOV, KCOV & sanitizers in odd or sensitive code GCOV_PROFILE_ftrace.o := n KCOV_INSTRUMENT_ftrace.o := n UBSAN_SANITIZE_ftrace.o := n |