Hi,

I am working on the profile guided (PGO) enabling for ART on X86 platform.
I have built the flashimage with pgo enabled , so that it can generate 
profiles for the apps.
Currently i have enabled  PGO for dex2oat , with the below command :

make -j24 flashfiles ANDROID_PGO_INSTRUMENT=dex2oat 



I have flashed the image on Android P target. To generate the profraw files 
, I first install the apk and then launch via adb commands :
"adb install <apk name>  "
" adb shell am start -n <activity name>  "

But i do not see any profile files : *.profraw extension files being 
generated on /data/local/tmp..
This is the directory where these profiles had to be generated ,as per the 
"pgo.go"  source code file.

>From the logcat , i can see that the apk, is being passed with dexoptFlags 
as "profile-guided", but still nor files are dumped:
==========
08-20 09:46:16.007  3163  3216 I PackageManager.DexOptimizer: Running 
dexopt (dexoptNeeded=1) on: 
/data/app/com.intel.crtl.androidgcbench-COJwbUATVNnTtk8GmgE3BQ==/base.apk 
pkg=com.intel.crtl.androidgcbench isa=x86_64 *dexoptFlags=*boot_complete,
*profile_guided*,public,enable_hidden_api_checks targetFilter=speed-profile 
oatDir=/data/app/com.intel.crtl.androidgcbench-COJwbUATVNnTtk8GmgE3BQ==/oat 
classLoaderContext=PCL[/system/framework/org.apache.http.legacy.boot.jar]
============

In order  to generate these profile files , I think we need to start/launch 
the apps with different tags .
Can you please confirm if we need to launch the apps with different options 
for generating these files ?

Best Regards
Priyanka

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to