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-02-10 16:18:33 +00:00
2022-01-27 19:05:33 +00:00
2022-04-19 11:01:25 +00:00
2022-04-04 18:32:12 +00:00
2021-08-06 10:58:06 +08:00
2022-03-30 16:49:12 +00:00
2022-02-09 22:25:14 +00:00
2021-12-02 13:14:21 +11:00
2022-02-05 04:31:21 +00:00
2022-02-09 22:25:14 +00:00
2021-07-01 17:32:18 +00:00
2022-03-29 20:50:27 +00:00
2022-01-24 21:29:49 +00:00
2021-12-21 11:46:10 +00:00
2022-01-19 11:13:18 +00:00
2021-12-27 12:58:58 +00:00
2022-04-01 16:39:37 +00:00
2022-03-16 16:39:59 -07:00
2022-02-09 22:25:14 +00:00
2021-07-12 07:34:27 +00:00
2022-03-24 19:51:51 +00:00
2022-01-10 20:09:54 +08:00
2022-02-09 22:25:14 +00:00
2021-08-25 02:56:28 +00:00
2021-10-19 21:06:56 +00:00
2022-01-19 11:13:18 +00:00
2022-01-06 18:35:31 +00:00
2022-02-09 22:11:28 +00:00
2022-01-19 11:13:18 +00:00
2022-01-19 11:13:18 +00:00
2022-01-25 12:30:47 +08:00
2022-01-19 11:13:18 +00:00
2022-01-19 11:13:18 +00:00