summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.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-25 16:53:41 -0800
commit6ec0b7e21d0f6fdee9f24d91b33c0c71e50cafc4 (patch)
treea51c2c8fa759b8c3c985c0f1ca0660364f0e445f /tools/aapt2/java/JavaClassGenerator.cpp
parentedadb3efc37c457e0493ce4a5d1977721b6d605a (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/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions