process

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// NotSupportProfilingExe mean which program are not support for profiling
	// Not Support JIT and Script language for now
	NotSupportProfilingExe = []string{
		"java", "python", "node", "bash", "ruby", "ssh",
	}
)

Functions

func KernelFileProfilingStat

func KernelFileProfilingStat() (*profiling.Info, error)

KernelFileProfilingStat is works for read the kernel and get is support for kernel symbol analyze

func Modules

func Modules(pid int32) ([]*profiling.Module, error)

Modules Read the profiling info of the process, without the symbol check

func ProfilingStat

func ProfilingStat(pid int32, exePath string) (*profiling.Info, error)

ProfilingStat is validating the exe file could be profiling and get info

Types

This section is empty.

Jump to

Keyboard shortcuts

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