--- zzzz-none-000/linux-4.4.60/arch/x86/kernel/cpu/Makefile 2017-04-08 07:53:53.000000000 +0000 +++ hawkeye-5590-729/linux-4.4.60/arch/x86/kernel/cpu/Makefile 2022-03-30 14:21:52.000000000 +0000 @@ -8,6 +8,10 @@ CFLAGS_REMOVE_perf_event.o = -pg endif +# If these files are instrumented, boot hangs during the first second. +KCOV_INSTRUMENT_common.o := n +KCOV_INSTRUMENT_perf_event.o := n + # Make sure load_percpu_segment has no stackprotector nostackp := $(call cc-option, -fno-stack-protector) CFLAGS_common.o := $(nostackp)