Martin Stjernholm
b5ef87ae82
Add an argument to cmd pm dump-profiles to send
--dump-classes-and-methods to profman.
Test: adb root
adb shell kill -SIGUSR1 '$(pidof com.android.systemui)' && \
sleep 1 && \
adb shell pm compile -m speed-profile com.android.systemui
adb unroot
adb shell pm dump-profiles --dump-classes-and-methods \
com.android.systemui && \
adb pull data/misc/profman/com.android.systemui-primary.prof.txt
Check that the output is the same as:
adb root && adb shell profman --dump-classes-and-methods \
--reference-profile-file=data/misc/profiles/ref/com.android.systemui/primary.prof \
--profile-file=data/misc/profiles/cur/0/com.android.systemui/primary.prof \
--apk=system_ext/priv-app/SystemUI/SystemUI.apk
Test: adb shell pm dump-profiles \
com.android.systemui && \
adb pull data/misc/profman/com.android.systemui-primary.prof.txt
Check that the output is in the usual `profman --dump-only` format
Bug: 198506529
Change-Id: I2559822fcc3ad32fe4b7b6ac2faa91e3c3ab6c8e
2022-04-19 11:01:25 +00:00
..
2022-04-15 17:46:58 +00:00
2022-04-15 12:38:27 +00:00
2022-04-19 11:01:25 +00:00
2022-04-07 18:40:59 -07:00
2022-04-14 20:08:52 +00:00
2022-04-13 22:29:29 +00:00
2022-04-14 19:48:12 +00:00
2022-04-12 12:35:04 -07:00
2022-04-19 02:52:38 +00:00
2022-04-14 23:29:00 +00:00
2022-04-01 22:54:46 +00:00
2022-04-14 23:01:43 +00:00
2022-04-08 00:16:38 +00:00
2022-04-19 02:35:08 +00:00
2022-04-04 16:02:38 +02:00
2022-04-16 01:51:10 +00:00