Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetGetExternalPIDFunc ¶
func SetGetExternalPIDFunc(fn func() string)
SetGetExternalPIDFunc configures the profiler to use provided function to retrieve the current PID
func SetOptions ¶
func SetOptions(opts Options)
SetOptions configures the profiler with provided settings
func SetSendProfilesFunc ¶
func SetSendProfilesFunc(fn internal.SendProfilesFunc)
SetSendProfilesFunc configures the profiler to use provided function to write collected profiles
Types ¶
Directories ¶
Path | Synopsis |
---|---|
pprof/profile
Package profile provides a representation of profile.proto and methods to encode/decode profiles in this format.
|
Package profile provides a representation of profile.proto and methods to encode/decode profiles in this format. |
Click to show internal directories.
Click to hide internal directories.