asprof

package
v1.6.0-rc.3 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2025 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ArchiveFormatTarGz = iota
	ArchiveFormatZip
)

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
}

func (*Distribution) LauncherPath

func (d *Distribution) LauncherPath() string

func (*Distribution) LibPath

func (d *Distribution) LibPath() 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) Distribution

func (p *Profiler) Distribution() *Distribution

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