pprof

package
v0.0.0-...-375d9ab Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

This file has automatically been generated on Wed Feb 26 15:50:50 +05 2020. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ForLabels

func ForLabels(ctx context.Context, f func(key, value string) bool)

func Label

func Label(ctx context.Context, key string) (string, bool)

func Labels

func Labels(args ...string) pprof.LabelSet

func Lookup

func Lookup(name string) *pprof.Profile

func NewProfile

func NewProfile(name string) *pprof.Profile

func ProfileCount

func ProfileCount(p *pprof.Profile) int

func ProfileName

func ProfileName(p *pprof.Profile) string

func ProfileWriteTo

func ProfileWriteTo(p *pprof.Profile, w io.Writer, debug int) error

func Profiles

func Profiles() []*pprof.Profile

func StartCPUProfile

func StartCPUProfile(w io.Writer) error

func WithLabels

func WithLabels(ctx context.Context, labels pprof.LabelSet) context.Context

func WriteHeapProfile

func WriteHeapProfile(w io.Writer) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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