panicparse1
Parses panic stack traces from golang programs
Usage
panicparse [options]
file
go {test
-v
2>&1 | panicparse}
Overview
This manual page documents briefly the panicparse command.
panicparse parses panic stack traces, densifies and deduplicates goroutines with similar stack traces. Helps debugging crashes and deadlocks in heavily parallelized processes.
Options
A summary of options is included below.
-
-aggressive -
Aggressive deduplication including non pointers
-fstring-
Regexp to filter out headers that match, ex: -f 'IO wait|syscall'
-
-force-color -
Forcibly enable coloring when with stdout is redirected
-
-full-path -
Print full sources path
|
Output an HTML file |
|---|---|
|
Regexp to filter by only headers that match, ex: -m 'semacquire' |
-
-no-color -
Disable coloring
-
-parse -
Parses source files to deduct types; use -parse=false to work around bugs in source parser (default true)
-
-rebase -
Guess GOROOT and GOPATH (default true)
-
-v -
Enables verbose logging output
Releases
Unchanged in 3 releases since Debian 11 (Bullseye).