diff options
| author | 2024-10-01 09:54:57 +0000 | |
|---|---|---|
| committer | 2024-10-18 14:26:31 +0000 | |
| commit | 029853acbb8ed47e518f2d58369b104c578a32fd (patch) | |
| tree | 96f4125985d65baa61dc4288ce1d3cdbfcbf8b04 /tools/aapt2/ResourceTable.cpp | |
| parent | c036a668c91e05ff1508537c8e37da49317ab076 (diff) | |
Extend am profile command to also collect lowoverhead traces.
Low overhead tracing is an experimental feature that is only enabled
when com.android.art.flags.Flags.alwaysEnableProfileCode is set. If this
isn't set we just log an error and ignore the request for tracing.
Usage:
adb shell am profile lowoverhead start <pid>
adb shell am profile lowoverhead stop <pid> [<path/to/file>]
File is optional when stopping the trace. If no file is provided then
trace data is simply discarded.
Test: manual test by capturing a trace
Bug: 352518093
Change-Id: Ie1ab526e0827b099a0d2f14ee170a2e0aca39d34
Diffstat (limited to 'tools/aapt2/ResourceTable.cpp')
0 files changed, 0 insertions, 0 deletions