summaryrefslogtreecommitdiff
path: root/libs/hwui/ProgramCache.cpp
diff options
context:
space:
mode:
authorShukang Zhou <shukang@google.com>2017-01-25 16:07:57 -0800
committerShukang Zhou <shukang@google.com>2017-01-25 16:54:27 -0800
commit6ffd4f9bab6b4c83f40caa6455664c6e6aadc6df (patch)
treea8a5427705b45ea283641a68a748d4d48945ccbc /libs/hwui/ProgramCache.cpp
parent3416cc280034b4e617768ecb2d51f55fda7f576b (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 Change-Id: I8a5136a1c7330c8260b7c6c8da63f42a73aee275
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions