const raceenabled … func raceReadObjectPC(t *_type, addr unsafe.Pointer, callerpc, pc uintptr) { … } func raceWriteObjectPC(t *_type, addr unsafe.Pointer, callerpc, pc uintptr) { … } func raceinit() (uintptr, uintptr) { … } func racefini() { … } func raceproccreate() uintptr { … } func raceprocdestroy(ctx uintptr) { … } func racemapshadow(addr unsafe.Pointer, size uintptr) { … } func racewritepc(addr unsafe.Pointer, callerpc, pc uintptr) { … } func racereadpc(addr unsafe.Pointer, callerpc, pc uintptr) { … } func racereadrangepc(addr unsafe.Pointer, sz, callerpc, pc uintptr) { … } func racewriterangepc(addr unsafe.Pointer, sz, callerpc, pc uintptr) { … } func raceacquire(addr unsafe.Pointer) { … } func raceacquireg(gp *g, addr unsafe.Pointer) { … } func raceacquirectx(racectx uintptr, addr unsafe.Pointer) { … } func racerelease(addr unsafe.Pointer) { … } func racereleaseg(gp *g, addr unsafe.Pointer) { … } func racereleaseacquire(addr unsafe.Pointer) { … } func racereleaseacquireg(gp *g, addr unsafe.Pointer) { … } func racereleasemerge(addr unsafe.Pointer) { … } func racereleasemergeg(gp *g, addr unsafe.Pointer) { … } func racefingo() { … } func racemalloc(p unsafe.Pointer, sz uintptr) { … } func racefree(p unsafe.Pointer, sz uintptr) { … } func racegostart(pc uintptr) uintptr { … } func racegoend() { … } func racectxend(racectx uintptr) { … }