runtime

package
v1.31.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterFlags

func RegisterFlags(flags *pflag.FlagSet)

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.

Jump to

Keyboard shortcuts

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