A script that glues perf CPU sampling and Brendan Gregg's visualizer to generate FlameGraphs.
Linux 3.7 and above
#./torch.sh -h
Usage: ./torch.sh [options] pid
Options:
-d, --duration <num> duration of sampling in seconds [default: 10]
-o, --output <file> file to save flamegraph to [default: ./flamegraph.svg]
-h, --help this message
A loop printing stuff (source) Tcp Echo Server (source) with coio-rs HTTP Hello World (source) with hyper
MIT CDDL