pprof

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 5 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrProfileNotFound = psrpc.NewErrorf(psrpc.NotFound, "profile not found")
)

Functions

func GetCpuProfileData

func GetCpuProfileData(ctx context.Context, timeout int) (b []byte, err error)

func GetGenericProfileData

func GetGenericProfileData(profileName string, debug int) (b []byte, err error)

func GetProfileData

func GetProfileData(ctx context.Context, profileName string, timeout int, debug int) (b []byte, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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