Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 029853ac authored by Mythri Alle's avatar Mythri Alle
Browse files

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
parent c036a668
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment