I need a dynamic call graph for my app. I run it with callgrind
tool (valgrind
suite) and got callgrind.out.xxxxx
file. Now, I want to make a graphical representation of this data. KCacheGrind
doesn't help me much because it draws a limited part of the graph (draws ~50 functions instead of ~1500 profiled and I don't know how to fix that). How can I get a graph image where all of the functions will be drawn?
相关问题
- Setting subgraph attributes in Rgraphviz
- localtime_r consuming some memory before program e
- Confusing output from Valgrind shows indirectly lo
- Align Ranks in Graphviz
- Same node in two subgraphs
相关文章
- Why doesn't valgrind detect a memory leak in m
- Is there anyway a valgrind message “Conditional ju
- PygraphViz Import Error With PyCharm
- new libstdc++ of gcc5.1 may allocate large heap me
- Ubuntu graphviz 'sfdp' not working
- What is the difference between a direct and indire
- Changing edge direction in dot
- Graphviz: Node in two subgraph
Ok, I've found the way. The generated
callgrind.out
file you can convert todot
file using gprof2dot (yes, this tool can parsecallgrind
files as well). And then you can get the graph image usingdot -T<type> dotfile.dot -o graphfile.<type>
Using the following command to generate graph.png using gprof2dot