Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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.

        Types

        This section is empty.