Dmtracedump

Dmtracedump is an alternative to traceview. It allows you to generate your trace data in alternative formats, including HTML, and also a call-stack diagram, using the trace files already gathered. The later diagram is of a tree structure, and each node of the tree represents one call in the stack.

You can use the same traceview files we have pulled from the device with the new command:

dmtracedump –t 40 –g dmtrace.png /tmp/dmtrace.trace 

When running dmtracedump, if you get the dot command not found error and no *.png file output, it means you need to install GraphViz. GraphViz creates the visual graphical output of your trace. You can read more about it and download it at www.graphviz.org. Once it is installed, your error should go ...

Get Learning Android Application Testing now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.