OSDN Git Service

Dumps systrace to a file.
authorFelipe Leme <felipeal@google.com>
Thu, 31 Mar 2016 01:51:03 +0000 (18:51 -0700)
committerFelipe Leme <felipeal@google.com>
Thu, 31 Mar 2016 02:14:14 +0000 (19:14 -0700)
commit14e034a02ec34b2c76afb06975bdfc943a9b5607
treec611b7d95c9f2ba91c7aa2f61967a3106afda4ef
parent69a1a389321447301a8eaba235190dc1229aefbd
Dumps systrace to a file.

The atrace command can take a while, so rather than use a pipe it's
better to write its output to a temporary file and add that file to the
zip, timing out if necessary.

BUG: 27821761
Change-Id: I09f438077d001167d92da3009016bcab815ce530
cmds/dumpstate/dumpstate.cpp
cmds/dumpstate/utils.cpp