Skip to content

Convert Brendan Gregg's FlameGraph format (stackcollapse-*) to Spall

Notifications You must be signed in to change notification settings

bvisness/sc2spall

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sc2spall (stackcollapse to spall)

Converts the FlameGraph format (stackcollapse-*) to the Spall format.

Spall is an extremely fast profiler by Colin Davidson. For optimal file size and load times, Spall has a proprietary binary format. This tool produces files in that format.

The FlameGraph format was created for Brendan Gregg's FlameGraph tool. A wide variety of stackcollapse-* scripts are available for different languages, e.g. stackcollapse-perf, stackcollapse-chrome-tracing, and stackcollapse-xdebug. This tool converts the collapsed format to Spall, so it should be compatible with any of those tools.

Installing

Go 1.19 or higher is required. Make sure that $GOBIN or $HOME/go/bin is on your PATH.

go install github.com/bvisness/sc2spall@latest

Usage

Usage:
  sc2spall [flags]

Flags:
  -h, --help         help for sc2spall
  -o, --out string   The filename to write to. For stdout, use "-".

About

Convert Brendan Gregg's FlameGraph format (stackcollapse-*) to Spall

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages