Skip to content

haukot/rbtrace_flamegraph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

rbtrace_flamegraph

Usage

Store your logs

rbtrace -p 15838 --firehose > trace.log

Get stackcollapse output

cat trace.log | ./rbtrace_stackcollapse.rb > rbtrace_stacks

And then generate speedscope output and use https://www.speedscope.app/

ruby convert_to_speedscoper.rb rbtrace_stacks_all rbtrace.speedscope.json

Or render flamegraph to svg using https://github.com/brendangregg/FlameGraph/

flamegraph.pl --color=io --width=1800 --title="Rbtrace" ~/programming/projects/slurm/slurm/rbtrace_stacks_all > rbtrace.svg

About

Generate a flamegraph from rbtrace output

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages