var labelSync … // runtime_setProfLabel should be an internal detail, // but widely used packages access it using linkname. // Notable members of the hall of shame include: // - github.com/cloudwego/localsession // - github.com/DataDog/datadog-agent // // Do not remove or change the type signature. // See go.dev/issue/67401. // //go:linkname runtime_setProfLabel runtime/pprof.runtime_setProfLabel func runtime_setProfLabel(labels unsafe.Pointer) { … } // runtime_getProfLabel should be an internal detail, // but widely used packages access it using linkname. // Notable members of the hall of shame include: // - github.com/cloudwego/localsession // - github.com/DataDog/datadog-agent // // Do not remove or change the type signature. // See go.dev/issue/67401. // //go:linkname runtime_getProfLabel runtime/pprof.runtime_getProfLabel func runtime_getProfLabel() unsafe.Pointer { … }