Support sampling PGO profiles
Bug: 79161490 Test: build and flash with ETM generated sampling profile Change-Id: I82bf61ebfc9f1a1c74a370f0421c46862dd470db
This commit is contained in:
parent
c4cea76c0d
commit
0b9932164b
1 changed files with 0 additions and 5 deletions
|
@ -210,11 +210,6 @@ func (props *PgoProperties) isPGO(ctx BaseModuleContext) bool {
|
|||
ctx.ModuleErrorf("PGO specification is missing properties: " + missingProps)
|
||||
}
|
||||
|
||||
// Sampling not supported yet
|
||||
if isSampling {
|
||||
ctx.PropertyErrorf("pgo.sampling", "\"sampling\" is not supported yet)")
|
||||
}
|
||||
|
||||
if isSampling && isInstrumentation {
|
||||
ctx.PropertyErrorf("pgo", "Exactly one of \"instrumentation\" and \"sampling\" properties must be set")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue