OSDN Git Service

simpleperf: fix app_profiler.py.
authorYabin Cui <yabinc@google.com>
Tue, 6 Jun 2017 01:08:23 +0000 (18:08 -0700)
committerYabin Cui <yabinc@google.com>
Tue, 6 Jun 2017 01:13:39 +0000 (18:13 -0700)
commit21db24b10e5fd3f1833569ae5f957e114172e1d2
tree6eca8eb1acb4ea4d70caa5fa553d7e4b9f19e54c
parentb33edada9583f91130b607c26c9ad16365c84179
simpleperf: fix app_profiler.py.

Previous change makes app_profiler.py not work on rooted devices
because of using '>xxx' as a flag to store stdout files. Change
this to a more obvious way.

Bug: http://b/62028152
Test: run app_profiler.py on both rooted and non-rooted devices.
Change-Id: Ice2399d007a64a7d0000560b2368a392620b1053
simpleperf/scripts/app_profiler.py
simpleperf/scripts/utils.py