Documentation ¶
Overview ¶
Package coredump
Package coredump ¶
Package coredump ¶
Package coredump ¶
Package coredump ¶
Package coredump ¶
Package coredump ¶
Package coredump ¶
Package coredump ¶
Package coredump
Index ¶
- Constants
- func CoreDump(path string)
- func GenerateAllocCore(path string) error
- func GenerateBlockCore(path string) error
- func GenerateCpuCore(path string) error
- func GenerateGrsCore(path string) error
- func GenerateHeapCore(path string) error
- func GenerateThreadsCore(path string) error
- func OnRuntimeStat()
Constants ¶
View Source
const ( DefaultDumpDir = "/tmp" CoreDumpSuffix = ".coredump" )
View Source
const (
AllocCore = ".alloc_profile"
)
View Source
const (
BlockCore = ".block_profile"
)
View Source
const (
CpuCore = ".cpu_profile"
)
View Source
const (
GoroutineCore = ".goroutine_profile"
)
View Source
const (
HeapCore = ".heap_profile"
)
View Source
const (
ThreadCore = ".threads_profile"
)
Variables ¶
This section is empty.
Functions ¶
func CoreDump ¶
func CoreDump(path string)
CoreDump path为coredump文件存储路径 不存在时使用DefaultDumpDir 当标准日志被输出到stderr时也会被记录
func GenerateAllocCore ¶
func GenerateBlockCore ¶
func GenerateCpuCore ¶
GenerateCpuCore path为存储路径 不存在时使用默认路径/tmp
func GenerateGrsCore ¶
func GenerateHeapCore ¶
func GenerateThreadsCore ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.