internal

package
v0.0.0-...-b9b8c0f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2015 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

panicparse: analyzes stack dump of Go processes and simplifies it.

It is mostly useful on servers will large number of identical goroutines, making the crash dump harder to read than strictly necesary.

Colors:

  • Magenta: first goroutine to be listed.
  • Yellow: main package.
  • Green: standard library.
  • Red: other packages.

Bright colors are used for exported symbols.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalcLengths

func CalcLengths(buckets stack.Buckets) (int, int)

func IsTerminal

func IsTerminal(out io.Writer) bool

IsTerminal returns true if the specified io.Writer is a terminal.

func Main

func Main() error

func NewAnsiStripper

func NewAnsiStripper(out io.Writer) io.Writer

func PrettyStack

func PrettyStack(r *stack.Signature, srcLen, pkgLen int) string

func Process

func Process(in io.Reader, out io.Writer) error

Types

This section is empty.

Directories

Path Synopsis
imported

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL