Skip to content

mrhooray/torch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

torch

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

Requirements

Linux 3.7 and above

Usage

#./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

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

About

Generate CPU FlameGraphs based on DWARF Debug Info

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published