• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1primary.prof.txt is generated from CtsCompilationApp and must be updated if
2CompilationTargetActivity.java changes:
3
4$ m CtsCompilationApp
5$ adb install $ANDROID_PRODUCT_OUT/data/app/CtsCompilationApp/CtsCompilationApp.apk
6
7# Now run the app manually for a couple of minutes, look for the profile:
8$ adb shell ls -l /data/misc/profiles/cur/0/android.compilation.cts/primary.prof
9# Once the profile appears and is nonempty, grab it:
10$ adb pull /data/misc/profiles/cur/0/android.compilation.cts/primary.prof ./
11
12
13app_used_by_other_app_1.prof.txt and app_used_by_other_app_2.prof.txt are
14manually constructed for AppUsedByOtherApp. The latter one should be a superset
15of the former one.
16