Merge "Support sampling PGO profiles"
am: 563e3a4f95
Change-Id: I08c0936c28ae8b6e64f946b242801e96e6a7a292
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
Reference in New Issue
Block a user