asprof

package
v1.2.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EmbeddedArchive = Archive{/* contains filtered or unexported fields */}

Functions

func ProcessPath

func ProcessPath(path string, pid int) string

Types

type Archive

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

type Distribution

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

separte dirs for glibc & musl

func (*Distribution) JattachPath

func (d *Distribution) JattachPath() string

func (*Distribution) LauncherPath

func (d *Distribution) LauncherPath() string

func (*Distribution) LibPath

func (d *Distribution) LibPath() string

type ProcFile

type ProcFile struct {
	Path string
	PID  int
}

func (*ProcFile) ProcRootPath

func (f *ProcFile) ProcRootPath() string

type Profiler

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

func NewProfiler

func NewProfiler(tmpDir string, archive Archive) *Profiler

func (*Profiler) CopyLib

func (p *Profiler) CopyLib(dist *Distribution, pid int) error

func (*Profiler) DistributionForProcess

func (p *Profiler) DistributionForProcess(pid int) (*Distribution, error)

func (*Profiler) Execute

func (p *Profiler) Execute(dist *Distribution, argv []string) (string, string, error)

func (*Profiler) ExtractDistributions

func (p *Profiler) ExtractDistributions() error

Jump to

Keyboard shortcuts

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