Test IOrap in Android 11

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Test IOrap in Android 11

Sam Son
Hello all,

I'd like to ask how I can enable IOrapd to work in Android 11.  
I'm testing IOrapd feature newly introduced in Android 11 on Pixel 3a with aosp 11.0.0_r17. but it seems not working as expected. According to this article, IOrapd is supposed to collect file read traces automatically as I open an app by touching app icon. But when I opened an app, I could get only this kind of logs in most cases.

01-01 18:02:46.615  1348  1427 D EventSequenceValidator: at com.google.android.startop.iorap.EventSequenceValidator.logWarningWithStackTrace(EventSequenceValidator.java:260)
01-01 18:02:46.615  1348  1427 D EventSequenceValidator: at com.google.android.startop.iorap.EventSequenceValidator.onIntentStarted(EventSequenceValidator.java:106)
01-01 18:02:46.621  1348  1427 D EventSequenceValidator: at com.google.android.startop.iorap.EventSequenceValidator.logWarningWithStackTrace(EventSequenceValidator.java:260)
01-01 18:02:46.621  1348  1427 D EventSequenceValidator: at com.google.android.startop.iorap.EventSequenceValidator.onIntentFailed(EventSequenceValidator.java:130)
01-01 18:02:48.977  1348  1427 D EventSequenceValidator: at com.google.android.startop.iorap.EventSequenceValidator.logWarningWithStackTrace(EventSequenceValidator.java:260)
01-01 18:02:48.977  1348  1427 D EventSequenceValidator: at com.google.android.startop.iorap.EventSequenceValidator.onIntentStarted(EventSequenceValidator.java:106)
01-01 18:02:48.997  1348  1427 D EventSequenceValidator: at com.google.android.startop.iorap.EventSequenceValidator.logWarningWithStackTrace(EventSequenceValidator.java:260)
01-01 18:02:48.997  1348  1427 D EventSequenceValidator: at com.google.android.startop.iorap.EventSequenceValidator.onActivityLaunched(EventSequenceValidator.java:149)
01-01 18:02:49.087  1348  1427 D EventSequenceValidator: at com.google.android.startop.iorap.EventSequenceValidator.logWarningWithStackTrace(EventSequenceValidator.java:260)
01-01 18:02:49.087  1348  1427 D EventSequenceValidator: at com.google.android.startop.iorap.EventSequenceValidator.onActivityLaunchFinished(EventSequenceValidator.java:185)
01-01 18:02:49.091  1348  1432 D ArtManagerInternalImpl: /data/misc/iorapd/com.nytimes.android/41826/com.nytimes.android.MainActivity/compiled_traces/compiled_trace.pb doesn't exist 

In very rare case, I could see the traces are collected and compiled! This, however, happened only when I use chrome app and never happened in other cases. I checked system prop and confirmed the required props are enabled as follows.

[init.svc.iorapd]: [running]
[init.svc_debug_pid.iorapd]: [1134]
[ro.boottime.iorapd]: [7380357400]
[ro.iorapd.enable]: [true]

Did I miss some points? The aforementioned article is the sole source of information concerning IOrap on the web as far as I know currently. So it would be really helpful if you give me an advice. Thanks. 
 

--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/android-platform/79fb84fc-7759-47ee-a6b3-d2c7cccd236an%40googlegroups.com.