pprof

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: Apache-2.0 Imports: 20 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) 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