summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.cpp
diff options
context:
space:
mode:
authorShukang Zhou <shukang@google.com>2017-01-24 15:30:29 -0800
committerShukang Zhou <shukang@google.com>2017-01-30 13:07:40 -0800
commitbb44e42de93e2e02d4314ffdee4cbc4d0df7ecc2 (patch)
tree3a93b2b04edf99efd88bb7527cd2b2aa60d42792 /tools/aapt2/diff/Diff.cpp
parent95451d53907ca8befe2ae362947643cf983a0497 (diff)
[Frameworks] Add an 'am' cmd option to enable streaming in profiling.
Add option '--streaming' to 'am start' and 'am profile' commands. If the option is given, the output of method trace profiling will be streamed into the specified file, so the output is no longer limited by the buffer size. Test: m -j48 test-art-host; m -j48 ART_TEST_TRACE=true ART_TEST_TRACE_STREAM=true test-art-host; I also tested manually. Tried all 8 combinations of sampling/instrumention streaming/non-streaming 'am start --start-profiler' / 'am profile start' The output files are all in expected shape. Bug: 33300765 Merged-In: I8a5136a1c7330c8260b7c6c8da63f42a73aee275 Change-Id: I8a5136a1c7330c8260b7c6c8da63f42a73aee275
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions