Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// HTTP server mode
HTTPAddr string // HTTP server address (e.g., ":6060", "localhost:6060")
// File-based mode
CPUProfile string // Path to write CPU profile file
HeapProfile string // Path to write heap profile file
GoroutineProfile string // Path to write goroutine profile file
BlockProfile string // Path to write block profile file
MutexProfile string // Path to write mutex profile file
TraceProfile string // Path to write execution trace file
// Block and mutex profiling rates
BlockProfileRate int // Sample 1/n events (default: 1)
MutexProfileFraction int // Sample 1/n events (default: 1)
}
Config holds the pprof configuration
Click to show internal directories.
Click to hide internal directories.