Makefile (9a87ffc99ec8eb8d35eed7c4f816d75f5cc9662e) Makefile (571a2a50a8fc546145ffd3bf673547e9fe128ed2)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for the linux kernel.
4#
5
6ifdef CONFIG_FUNCTION_TRACER
7
8# Do not trace tracer code
9CFLAGS_REMOVE_ftrace.o = $(CC_FLAGS_FTRACE)
10
11# Do not trace early setup code
12CFLAGS_REMOVE_early.o = $(CC_FLAGS_FTRACE)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for the linux kernel.
4#
5
6ifdef CONFIG_FUNCTION_TRACER
7
8# Do not trace tracer code
9CFLAGS_REMOVE_ftrace.o = $(CC_FLAGS_FTRACE)
10
11# Do not trace early setup code
12CFLAGS_REMOVE_early.o = $(CC_FLAGS_FTRACE)
13CFLAGS_REMOVE_rethook.o = $(CC_FLAGS_FTRACE)
13
14endif
15
16GCOV_PROFILE_early.o := n
17KCOV_INSTRUMENT_early.o := n
18UBSAN_SANITIZE_early.o := n
19KASAN_SANITIZE_ipl.o := n
20KASAN_SANITIZE_machine_kexec.o := n

--- 63 unchanged lines hidden ---
14
15endif
16
17GCOV_PROFILE_early.o := n
18KCOV_INSTRUMENT_early.o := n
19UBSAN_SANITIZE_early.o := n
20KASAN_SANITIZE_ipl.o := n
21KASAN_SANITIZE_machine_kexec.o := n

--- 63 unchanged lines hidden ---