pprof

package
v1.11.6 Latest Latest
Warning

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

Go to latest
Published: May 30, 2020 License: MIT Imports: 5 Imported by: 12

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