race

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IsRace  = 0
	Enabled = false
)

Variables

This section is empty.

Functions

func Acquire

func Acquire(addr unsafe.Pointer)

runtime.raceacquire

func AcquireCtx

func AcquireCtx(racectx uintptr, addr unsafe.Pointer)

runtime.raceacquirectx

func Ctxend

func Ctxend(racectx uintptr)

runtime.racectxend

func Fingo

func Fingo()

runtime.racefingo

func Fini

func Fini()

runtime.racefini

func Free

func Free(p unsafe.Pointer, sz uintptr)

runtime.racefree

func FuncEnter

func FuncEnter(pc uintptr)

runtime.racefuncenter

func FuncEnterFP

func FuncEnterFP(fp uintptr)

runtime.racefuncenterfp

func FuncExit

func FuncExit()

runtime.racefuncexit

func Goend

func Goend()

runtime.racegoend

func Gostart

func Gostart(pc uintptr) uintptr

runtime.racegostart

func Init

func Init() (uintptr, uintptr)

runtime.raceinit

func Malloc

func Malloc(p unsafe.Pointer, sz uintptr)

runtime.racemalloc

func MapShadow

func MapShadow(addr unsafe.Pointer, size uintptr)

runtime.racemapshadow

func ProcCreate

func ProcCreate() uintptr

runtime.raceproccreate

func ProcDestroy

func ProcDestroy(ctx uintptr)

runtime.raceprocdestroy

func Read

func Read(p unsafe.Pointer)

func ReadObjectPC

func ReadObjectPC(t *abi.Type, addr unsafe.Pointer, callerpc, pc uintptr)

runtime.raceReadObjectPC

For all functions accepting callerpc and pc, callerpc is a return PC of the function that calls this function, pc is start PC of the function that calls this function.

func ReadPC

func ReadPC(addr unsafe.Pointer, callpc, pc uintptr)

runtime.racereadpc

func ReadRange

func ReadRange(addr unsafe.Pointer, size uintptr)

runtime.racereadrange

func ReadRangePC

func ReadRangePC(addr unsafe.Pointer, sz, callerpc, pc uintptr)

runtime.racereadrangepc

func Release

func Release(addr unsafe.Pointer)

runtime.racerelease

func ReleaseAcquire

func ReleaseAcquire(addr unsafe.Pointer)

runtime.racereleaseacquire

func ReleaseMerge

func ReleaseMerge(addr unsafe.Pointer)

runtime.releasemerge

func Write

func Write(p unsafe.Pointer)

runtime.racewrite

func WriteObjectPC

func WriteObjectPC(t *abi.Type, addr unsafe.Pointer, callerpc, pc uintptr)

runtime.raceWriteObjectPC

func WritePC

func WritePC(addr unsafe.Pointer, callpc, pc uintptr)

runtime.racewritepc

func WriteRange

func WriteRange(addr unsafe.Pointer, size uintptr)

runtime.racewriterange

func WriteRangePC

func WriteRangePC(addr unsafe.Pointer, sz, callerpc, pc uintptr)

runtime.racewriterangepc

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL