Help us shape the future of Go! Take the 2026 Go Developer Survey

golang

package
v0.31.1 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsRuntime

func IsRuntime(proc procfs.Proc, cim *runtime.CompilerInfoManager) (bool, error)

Types

type GoLabelsOffsets

type GoLabelsOffsets struct {
	Curg                uint32
	Labels              uint32
	HmapCount           uint32
	HmapLog2BucketCount uint32
	HmapBuckets         uint32
}

type GoVdsoOffsets

type GoVdsoOffsets struct {
	Sp uint32
	Pc uint32
}

type Info

type Info struct {
	MOffset       uint32
	VdsoOffsets   GoVdsoOffsets
	LabelsOffsets GoLabelsOffsets
	// contains filtered or unexported fields
}

func RuntimeInfo

func RuntimeInfo(proc procfs.Proc, cim *runtime.CompilerInfoManager) (*Info, error)

func (*Info) Runtime

func (r *Info) Runtime() runtime.Runtime

func (*Info) Type

func (r *Info) Type() runtime.UnwinderType

Jump to

Keyboard shortcuts

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