Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterFlags ¶
RegisterFlags adds flags for configuring profiling rates.
The following flags are added: - "pprof-mutex-profile-rate" - "pprof-block-profile-rate"
func RunE ¶
func RunE() cobrautil.CobraRunFunc
RunE returns a Cobra RunFunc that configures mutex and block profiles.
The required flags can be added to a command by using RegisterFlags().
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.