This toolkit is under early development. So, APIs are still flux and may be changed quickly without notice.
##eprobe_trace
####Features
- Visualization by Flame Graph
- Combine parallel processes within single picture
Inspired by eflame, eprobe_trace provides a method to trace your application in time sequence, and visualise call stacks using Flame Graph.
Compared to original implementation, script/flamegraph.pl
introduced a new concept
layer
to show the relationship between parallel processes, even those in separate nodes.
So, all processes could be combined in one flame graph, ordered by time they took.
####Example See https://github.com/terrencehan/eprobe/blob/master/sample/trace.erl
$ cd sample
$ ./trace.erl
$ ../script/stack_to_flame.sh < stack.out > flame.svg
Copyright (C) 2014 by terrencehan ([email protected])
This library is free software; you can redistribute it and/or modify it under the MIT License.