Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 50dab0e4 authored by Yi Kong's avatar Yi Kong Committed by Gerrit Code Review
Browse files

Merge "Add -fdebug-info-for-profiling flag to emit more debug info for sampling pgo"

parents 86ef38cf 61a1b988
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@ var (
var pgoProfileProjectsConfigKey = android.NewOnceKey("PgoProfileProjects")

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 profileUseSamplingFormat = "-fprofile-sample-use=%s"