/torch

Generate CPU FlameGraphs based on DWARF Debug Info

Primary LanguagePerl

torch

A script that glues perf CPU sampling and Brendan Gregg's visualizer to generate FlameGraphs.

##Dependency Linux 3.7 and above

##Usage

#./torch.sh -h
Usage: torch [<OPTIONS>]

Options:
-h, --help            show this screen
-p, --pid <pid>       process id of the program
-d, --duration <num>  duration of sampling in seconds
-o, --output <file>   file to save flamegraph to

##Examples ###Click graph to zoom A loop printing stuff (source) loop Tcp Echo Server (source) with coio-rs tcp-echo-server HTTP Hello World (source) with hyper http-hello-world

##License MIT CDDL