hsperf

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindHsperfdataFile

func FindHsperfdataFile(ctx context.Context, p *process.Process) string

func FindHsperfdataFileContainer

func FindHsperfdataFileContainer(ctx context.Context, p *process.Process, pidInContainer int32) string

Types

type Data

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

func ReadData

func ReadData(file string) (Data, error)

func (Data) GetStringProperty

func (d Data) GetStringProperty(key string) string

func (Data) IsAttachable

func (d Data) IsAttachable() bool

type Watcher

type Watcher struct {
	Processes <-chan *process.Process
	// contains filtered or unexported fields
}

func (*Watcher) Start

func (w *Watcher) Start()

func (*Watcher) Stop

func (w *Watcher) Stop()

Jump to

Keyboard shortcuts

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