From e20a1d9060f101d21e50b70dd47b305590c78b48 Mon Sep 17 00:00:00 2001 From: Yi Kong Date: Tue, 25 Jan 2022 03:19:58 +0800 Subject: [PATCH] Move linker from sampling PGO to AFDO pipeline Sampling PGO is being replaced by AFDO. Test: presubmit Change-Id: I23e4dace5f2c2d1f2499daba99a28b2a1bc0f22d --- linker/Android.bp | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/linker/Android.bp b/linker/Android.bp index 3ceafc75e..dbefcf616 100644 --- a/linker/Android.bp +++ b/linker/Android.bp @@ -369,31 +369,9 @@ cc_binary { "liblinker_debuggerd_stub", ], }, - android_arm64: { - pgo: { - profile_file: "bionic/linker_arm_arm64.profdata", - }, - }, - android_arm: { - pgo: { - profile_file: "bionic/linker_arm_arm64.profdata", - }, - }, - android_x86_64: { - pgo: { - profile_file: "bionic/linker_x86_x86_64.profdata", - }, - }, - android_x86: { - pgo: { - profile_file: "bionic/linker_x86_x86_64.profdata", - }, - }, }, - pgo: { - sampling: true, - }, + afdo: true, } // ========================================================