package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# Functions
FilterStacksWithLabels writes all the stacks that have pprof labels matching any one of the expectedLabels to resBuf.
NewMemStorage creates a MemStorage that retains the most recent n records as long as they are less than d old.
NewServer creates a new Server backed by the supplied Storage and the Profiler instance.
# Constants
ProfileConcurrency governs how many concurrent profiles can be collected.
ProfileExpiry governs how long a profile is retained in memory during concurrent profile requests.
# Structs
A MemStorage is a Storage implementation that holds recent profiles in memory.
A Server serves up the pprof web ui.