gospy

package
v0.10.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(_ int, profileType spy.ProfileType, sampleRate uint32, disableGCRuns bool) (spy.Spy, error)

Types

type GoSpy

type GoSpy struct {
	// contains filtered or unexported fields
}

func (*GoSpy) Reset added in v0.0.30

func (s *GoSpy) Reset()

func (*GoSpy) Snapshot

func (s *GoSpy) Snapshot(cb func(*spy.Labels, []byte, uint64, error))

Snapshot calls callback function with stack-trace or error.

func (*GoSpy) Stop

func (s *GoSpy) Stop() error

Jump to

Keyboard shortcuts

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