ANDROID: gki: Enable CONFIG_AUTOFDO_CLANG
This config enables AutoFDO for the kernel. When an AutoFDO profile isn't provided, this config only adds more debug info for profiling. This results in a slight increase (0.5%) in vmlinux size. This extra debug info is stripped with other debug info when building boot image. So it's safe to leave this config always enabled. When an AutoFDO profile is provided, this config builds the kernel with the profile. Bug: 382743224 Test: build arm64 & x86_64 Change-Id: I8f3573580e9b621a8498f5b34069c352650fcf95 Signed-off-by: Yabin Cui <yabinc@google.com>
This commit is contained in:
committed by
Matthias Männich
parent
2dc6738c39
commit
c06efcb322
@@ -93,6 +93,7 @@ CONFIG_KVM=y
|
||||
CONFIG_KPROBES=y
|
||||
CONFIG_JUMP_LABEL=y
|
||||
CONFIG_SHADOW_CALL_STACK=y
|
||||
CONFIG_AUTOFDO_CLANG=y
|
||||
CONFIG_CFI_CLANG=y
|
||||
CONFIG_MODULES=y
|
||||
CONFIG_MODULE_UNLOAD=y
|
||||
|
||||
@@ -86,6 +86,7 @@ CONFIG_KVM_INTEL=y
|
||||
CONFIG_KVM_AMD=y
|
||||
CONFIG_KPROBES=y
|
||||
CONFIG_JUMP_LABEL=y
|
||||
CONFIG_AUTOFDO_CLANG=y
|
||||
CONFIG_CFI_CLANG=y
|
||||
CONFIG_MODULES=y
|
||||
CONFIG_MODULE_UNLOAD=y
|
||||
|
||||
Reference in New Issue
Block a user