Merge "Add -fprofile-sample-accurate flag for sampling PGO" am: 56bcaa6dc1
am: 13c665036f
Change-Id: I2d6da001d3f951bd38185b8f6cf2c729145bb9c4
This commit is contained in:
commit
b700c75aaf
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ var pgoProfileProjectsConfigKey = android.NewOnceKey("PgoProfileProjects")
|
|||
const profileInstrumentFlag = "-fprofile-generate=/data/local/tmp"
|
||||
const profileSamplingFlag = "-gmlt -fdebug-info-for-profiling"
|
||||
const profileUseInstrumentFormat = "-fprofile-use=%s"
|
||||
const profileUseSamplingFormat = "-fprofile-sample-use=%s"
|
||||
const profileUseSamplingFormat = "-fprofile-sample-accurate -fprofile-sample-use=%s"
|
||||
|
||||
func getPgoProfileProjects(config android.DeviceConfig) []string {
|
||||
return config.OnceStringSlice(pgoProfileProjectsConfigKey, func() []string {
|
||||
|
|
Loading…
Reference in a new issue