pprof

package
v0.0.0-...-85b91c5 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2023 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DumpCPUProfileForUsername

func DumpCPUProfileForUsername(pprofDataPath, username string) (func(), error)

DumpCPUProfileForUsername dumps a CPU profile at pprofDataPath as cpuprofile_<username>_<temporary id>

it returns the stop function which stops, writes and closes the CPU profile file

func DumpMemProfileForUsername

func DumpMemProfileForUsername(pprofDataPath, username string) error

DumpMemProfileForUsername dumps a memory profile at pprofDataPath as memprofile_<username>_<temporary id>

Types

This section is empty.

Jump to

Keyboard shortcuts

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