Makefile (9a87ffc99ec8eb8d35eed7c4f816d75f5cc9662e) Makefile (571a2a50a8fc546145ffd3bf673547e9fe128ed2)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for the linux kernel.
4#
5
6extra-y += vmlinux.lds
7
8CPPFLAGS_vmlinux.lds += -U$(UTS_MACHINE)
9
10ifdef CONFIG_FUNCTION_TRACER
11# Do not profile debug and lowlevel utilities
12CFLAGS_REMOVE_tsc.o = -pg
13CFLAGS_REMOVE_paravirt-spinlocks.o = -pg
14CFLAGS_REMOVE_pvclock.o = -pg
15CFLAGS_REMOVE_kvmclock.o = -pg
16CFLAGS_REMOVE_ftrace.o = -pg
17CFLAGS_REMOVE_early_printk.o = -pg
18CFLAGS_REMOVE_head64.o = -pg
19CFLAGS_REMOVE_sev.o = -pg
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for the linux kernel.
4#
5
6extra-y += vmlinux.lds
7
8CPPFLAGS_vmlinux.lds += -U$(UTS_MACHINE)
9
10ifdef CONFIG_FUNCTION_TRACER
11# Do not profile debug and lowlevel utilities
12CFLAGS_REMOVE_tsc.o = -pg
13CFLAGS_REMOVE_paravirt-spinlocks.o = -pg
14CFLAGS_REMOVE_pvclock.o = -pg
15CFLAGS_REMOVE_kvmclock.o = -pg
16CFLAGS_REMOVE_ftrace.o = -pg
17CFLAGS_REMOVE_early_printk.o = -pg
18CFLAGS_REMOVE_head64.o = -pg
19CFLAGS_REMOVE_sev.o = -pg
20CFLAGS_REMOVE_rethook.o = -pg
20endif
21
22KASAN_SANITIZE_head$(BITS).o := n
23KASAN_SANITIZE_dumpstack.o := n
24KASAN_SANITIZE_dumpstack_$(BITS).o := n
25KASAN_SANITIZE_stacktrace.o := n
26KASAN_SANITIZE_paravirt.o := n
27KASAN_SANITIZE_sev.o := n

--- 129 unchanged lines hidden ---
21endif
22
23KASAN_SANITIZE_head$(BITS).o := n
24KASAN_SANITIZE_dumpstack.o := n
25KASAN_SANITIZE_dumpstack_$(BITS).o := n
26KASAN_SANITIZE_stacktrace.o := n
27KASAN_SANITIZE_paravirt.o := n
28KASAN_SANITIZE_sev.o := n

--- 129 unchanged lines hidden ---