Back to godoc.org
go.uber.org/torch / renderer

Package renderer

v0.0.0 (86f327c)
Latest Go to latest
Published: Nov 7, 2018 | License: MIT | Module: go.uber.org/torch

Index

Package Files

func CollapseStacks

func CollapseStacks(stacks []byte, args ...string) ([]byte, error)

CollapseStacks runs the flamegraph's collapse stacks script.

func GenerateFlameGraph

func GenerateFlameGraph(graphInput []byte, args ...string) ([]byte, error)

GenerateFlameGraph runs the flamegraph script to generate a flame graph SVG.

func ToFlameInput

func ToFlameInput(profile *stack.Profile, sampleIdx int) ([]byte, error)

ToFlameInput converts the given profile to flame graph input.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier