Merge "Add -fdebug-info-for-profiling flag to emit more debug info for sampling pgo"
This commit is contained in:
@@ -41,7 +41,7 @@ var (
|
|||||||
var pgoProfileProjectsConfigKey = android.NewOnceKey("PgoProfileProjects")
|
var pgoProfileProjectsConfigKey = android.NewOnceKey("PgoProfileProjects")
|
||||||
|
|
||||||
const profileInstrumentFlag = "-fprofile-generate=/data/local/tmp"
|
const profileInstrumentFlag = "-fprofile-generate=/data/local/tmp"
|
||||||
const profileSamplingFlag = "-gline-tables-only"
|
const profileSamplingFlag = "-gmlt -fdebug-info-for-profiling"
|
||||||
const profileUseInstrumentFormat = "-fprofile-use=%s"
|
const profileUseInstrumentFormat = "-fprofile-use=%s"
|
||||||
const profileUseSamplingFormat = "-fprofile-sample-use=%s"
|
const profileUseSamplingFormat = "-fprofile-sample-use=%s"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user