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

pprof

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: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Converter

type Converter struct {
	// contains filtered or unexported fields
}

func (*Converter) AddUnwinderInfoLocation added in v0.31.0

func (c *Converter) AddUnwinderInfoLocation(frameID uint64) *pprofprofile.Location

func (*Converter) Convert

Convert converts a profile to a pprof profile. It is intended to only be used once.

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

func NewManager

func NewManager(
	logger log.Logger,
	reg prometheus.Registerer,
	ksym *ksym.Ksym,
	perfMapCache *perf.PerfMapCache,
	jitdumpCache *perf.JITDumpCache,
	vdsoSymbolizer VDSOSymbolizer,
	disableJITSymbolization bool,
) *Manager

func (*Manager) NewConverter

func (m *Manager) NewConverter(
	pfs procfs.FS,
	pid int,
	mappings process.Mappings,
	captureTime time.Time,
	periodNS int64,
	interpreterSymbolTable profile.InterpreterSymbolTable,
) *Converter

type VDSOSymbolizer

type VDSOSymbolizer interface {
	Resolve(m *process.Mapping, addr uint64) (string, error)
}

Jump to

Keyboard shortcuts

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