github.com/isyscore/isc-gobase@v1.5.3-0.20231218061332-cbc7451899e9/goid/rl/runtime.go (about) 1 package rl 2 3 import ( 4 "unsafe" 5 ) 6 7 type labelMap map[string]string 8 9 //go:linkname runtimeGetProfLabel runtime/pprof.runtime_getProfLabel 10 func runtimeGetProfLabel() unsafe.Pointer 11 12 //go:linkname runtimeSetProfLabel runtime/pprof.runtime_setProfLabel 13 func runtimeSetProfLabel(unsafe.Pointer)