Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultEnableStartupProfiling = false DefaultStartupProfilingSec = 300 DefaultStartupProfilingMode = "mem" DefaultProfilingOutputDir = "/tmp" DefaultEnableGoPs = false DefaultGoPsAddr = ":" DefaultEnableHTTPPprof = false DefaultEnableStatsViz = false )
View Source
const DaemonTypeProfd boot.DaemonType = "profd"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cfg ¶
type Cfg struct { EnableStartupProfiling bool `` /* 151-byte string literal not displayed */ StartupProfilingSec int `` /* 226-byte string literal not displayed */ StartupProfilingMode string `` /* 211-byte string literal not displayed */ ProfilingOutputDir string `` /* 161-byte string literal not displayed */ EnableHTTPPprof bool `` /* 140-byte string literal not displayed */ EnableGoPs bool `yaml:"enableGoPs" env:"PROF_ENABLE_GOPS" flag-long:"prof-enable-gops" flag-description:"enable gops agent"` GoPsAddr string `yaml:"goPsAddr" env:"PROF_GOPS_ADDR" flag-long:"prof-gops-addr" flag-description:"gops agent listen addr"` EnableStatsViz bool `` /* 130-byte string literal not displayed */ }
Click to show internal directories.
Click to hide internal directories.