diff --git a/cc/pgo.go b/cc/pgo.go index 4618f4e75..0072355fb 100644 --- a/cc/pgo.go +++ b/cc/pgo.go @@ -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") }