Jim
Jim

Reputation: 9234

Android: how to use dmtracedump

Trying to use dmtracedump tool.

in command line I write: dmtracedump -0 path_to_trace

And I'v got ERROR: unable to read 1333896 bytes from trace file

Is that tool works at all ? Or I do something wrong ?

Upvotes: 2

Views: 5434

Answers (2)

Paul-Jan
Paul-Jan

Reputation: 17278

Short version: on Windows, that tool doesn't work at all. It apparently is no longer maintained since traceview became available (both from the command line or from Eclipse DDMS).

Ubuntu, Mac OSX et al should be fine, but that probably doesn't help you much.

As a sidenote, your example command line has a typo: it's -o, not -0.

Upvotes: 1

Lunch Basketball
Lunch Basketball

Reputation: 442

Do you try to use 'dmtracedump' tool in the windows OS?

I think 'dmtracedump' tool can't handle big files.. in my case.. Windows 7 32 bit.

Cmd> dmtracedump -g abc.png Large_Log.trace

ERROR: unable to read 8910087 bytes from trace file

Cannot read trace.

but, I succeeded to generate call graph image file in the ubuntu 64 bit OS.

the size of generated abc.png file is approximately 6 MB.

Upvotes: 5

Related Questions