pprof

package
v0.2202.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package pprof implements a pprof profiling service.

Index

Constants

View Source
const CfgPprofBind = "pprof.bind"

CfgPprofBind enables profiling endpoint at the given address.

Variables

Flags has the flags used by the pprof service.

Functions

func DumpHeapToFile

func DumpHeapToFile(name string) error

DumpHeapToFile writes the current process heap to given file with unique suffix.

func New

New constructs a new pprof service.

Types

This section is empty.

Jump to

Keyboard shortcuts

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