summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-06-26Snap for 6630229 from 7b508d88577f682f3fdcb0dcebe51a7c73521041 to rvc-releaseandroid-vts-11.0_r9android-vts-11.0_r8android-vts-11.0_r7android-vts-11.0_r6android-vts-11.0_r5android-vts-11.0_r4android-vts-11.0_r3android-vts-11.0_r2android-vts-11.0_r16android-vts-11.0_r15android-vts-11.0_r14android-vts-11.0_r13android-vts-11.0_r12android-vts-11.0_r11android-vts-11.0_r10android-vts-11.0_r1android-security-11.0.0_r76android-security-11.0.0_r75android-security-11.0.0_r74android-security-11.0.0_r73android-security-11.0.0_r72android-security-11.0.0_r71android-security-11.0.0_r70android-security-11.0.0_r69android-security-11.0.0_r68android-security-11.0.0_r67android-security-11.0.0_r66android-security-11.0.0_r65android-security-11.0.0_r64android-security-11.0.0_r63android-security-11.0.0_r62android-security-11.0.0_r61android-security-11.0.0_r60android-security-11.0.0_r59android-security-11.0.0_r58android-security-11.0.0_r57android-security-11.0.0_r56android-security-11.0.0_r55android-security-11.0.0_r54android-security-11.0.0_r53android-security-11.0.0_r52android-security-11.0.0_r51android-security-11.0.0_r50android-security-11.0.0_r49android-security-11.0.0_r1android-cts-11.0_r9android-cts-11.0_r8android-cts-11.0_r7android-cts-11.0_r6android-cts-11.0_r5android-cts-11.0_r4android-cts-11.0_r3android-cts-11.0_r2android-cts-11.0_r16android-cts-11.0_r15android-cts-11.0_r14android-cts-11.0_r13android-cts-11.0_r12android-cts-11.0_r11android-cts-11.0_r10android-cts-11.0_r1android-11.0.0_r5android-11.0.0_r4android-11.0.0_r3android-11.0.0_r25android-11.0.0_r2android-11.0.0_r17android-11.0.0_r1android11-tests-releaseandroid11-security-releaseandroid11-s1-releaseandroid11-releaseandroid-build-team Robot
Change-Id: Ia850f8a138cac2211608c7cce8f0ce9e324f62ac
2020-06-25iorap: Reduce the log spam from IORap.android11-devyawanng
Downgrade unnecessary warning log. Bug: 159833857 Test: Make and check the logcat. Change-Id: I6485183c0c54566d7122811e0096bcf48ea4337f
2020-06-24iorap: Reduce the log spam from IORap.yawanng
Reset the log level and downgrade unnecessary error log. Bug: 159833857 Test: Make and check the logcat. Change-Id: I80fc2296752bedc1c2e6ff40b5c0cfe46761e679
2020-06-23Snap for 6617762 from 2c3b9c0082cb729eecf10cb008bd9c4f4ff93a2b to rvc-releaseandroid-build-team Robot
Change-Id: I8d3703527d482879b646e309c054fe99aad7bd13
2020-06-22maintenance: Fix the dangling reference to function parameters.yawanng
Bug: 158488480 Test: Run iorap on cuttlefish. Change-Id: I6b54221d88324d82431f1099453618ec2fc0c0ce
2020-06-11Snap for 6578268 from 1a4822dd45b8d18f9a8db87b41ab0218fb23aec6 to rvc-releaseandroid-build-team Robot
Change-Id: I42d16de8df1119fbf86ece9331b2546119b1270c
2020-06-10Merge "iorap: Change the group of /data/misc/iorapd to system" into rvc-devTreeHugger Robot
2020-06-10Snap for 6573866 from c6d6ec19ae0bca9373a1c3b6465069cb3e3afdb5 to rvc-releaseandroid-build-team Robot
Change-Id: I8020110111eb7be4d7907061d76a6b24664b5477
2020-06-09iorap: Change the group of /data/misc/iorapd to systemYan Wang
This allows system_sever to check the file existence inside to predict if iorapd is prefetching. Bug: 158007508 Test: run iorapd and see if system could access the dir. Change-Id: I93b9d578f1189160733e38a21183d5f9d583d0fb
2020-06-08maintenance: Change the min perfetto trace to 1 in dumpsys.Yan Wang
The requirement of min perfetto trace has been changed to 1. Make it consistent in dumpsys. Bug: 158488480 Test: Make Change-Id: Iac9fa6dd537ea6391b767580865eb5400b5d2676
2020-05-28Snap for 6534196 from 95c3e7ea79523ae9a214f06d336b82e820a14600 to rvc-releaseandroid-build-team Robot
Change-Id: I7f378826d90ffbac8af9e174d0a9844accbbf203
2020-05-27Merge "event_manager: Reduce the min trace requirement to 1." into rvc-devTreeHugger Robot
2020-05-27Snap for 6529526 from 59c94bd4b2d895e24c00c066b9575d494ad4aaaa to rvc-releaseandroid-build-team Robot
Change-Id: Ie5f37011a69d4603cb86860ea03d7a08817530cd
2020-05-26Merge "event_manager: Set is_tracing to false when the activit launching ↵TreeHugger Robot
finished." into rvc-dev
2020-05-26Merge "session: Fix a use-after-free bug." into rvc-devTreeHugger Robot
2020-05-22event_manager: Set is_tracing to false when the activit launchingYan Wang
finished. Otherwise, no new perfetto tracing will happen unless the next event is IntentStart. Bug: 157251334 Test: Run apps multiple times very quickly using "am start" and check the log Change-Id: Iedf736d65dee6ac4d4ed8bd0362afe746f92520b
2020-05-22Snap for 6520394 from ee129665c397c735d865f91b0b38dc435d9e4c09 to rvc-releaseandroid-build-team Robot
Change-Id: Iaecbfe27a7e8a6d6d5713ac89da7233d1d98431f
2020-05-21event_manager: Reduce the min trace requirement to 1.Yan Wang
3 perfetto traces is little bit too strict. Reduce it to 1. We may have unlucky short trace if the app is not started correctly or etc. But this allows a quick kick-in of iorap for startup improvement. Bug: 157247543 Test: run with one trace. Change-Id: I326edf862531976521f7b5105c10b137fcc4db57
2020-05-21Merge "maintenance: Add log for compilation failure." into rvc-devTreeHugger Robot
2020-05-21maintenance: Add log for compilation failure.Yan Wang
Bug: 157177256 Test: run on a device and check the logcat. Change-Id: Ie0112f01936916873e12c1a9b54a821afdc46648
2020-05-20session: Fix a use-after-free bug.Yan Wang
The iterator is acceessed after remove. Bug: 147325546 Test: Make Change-Id: Ib29e3fe01768aac60cb1612a67a7caf57ed7010c
2020-05-16Snap for 6502385 from 17eff06a422207d38d6b85f1b0873d5f8bb14570 to rvc-releaseandroid-build-team Robot
Change-Id: Ie9e978a704905932401d5b3325e0038a5ffd3d5c
2020-05-16Merge "iorap: Add handling when package manager is down." into rvc-devTreeHugger Robot
2020-05-14Snap for 6492800 from 8fb0f52466ab5d3b1ef1589311e91fbba8e60a81 to rvc-releaseandroid-build-team Robot
Change-Id: I8dae2e8f4aa5b167f6f80245e87233d6b054e3a2
2020-05-13Merge "rx_producer: Set the deferred_start to false to avoid dangling ↵TreeHugger Robot
perfetto tracing." into rvc-dev
2020-05-12rx_producer: Set the deferred_start to false to avoid dangling perfettoYan Wang
tracing. The true value means the perfetto will allocate resources ahead, but because iorap starts the tracing immediately without any preparation phase, it doesn't seem to be very helpful and causes dangling perfetto tracing. Bug: 156260391 Test: atest iorap-functional-test Change-Id: I90dfd10f1c2db1c33e01ecd9b33710807f3ba014
2020-05-12event_manager: Fix a bug when receiving ActivityLaunched event.Yan Wang
Starting tracing or readaehead when no tracing or readahead is going on. Bug: 156260391 Test: atest iorap-functional-test Change-Id: I34b6bda25e68136af1a7885c2665f5a1cca5ec06
2020-05-12Snap for 6484097 from f1d3b75ef18d34233f3cb45eb2bbf8f64da0ec7a to rvc-releaseandroid-build-team Robot
Change-Id: I1d84328d516193079c6cfcd97e72cf7ec5742413
2020-05-08event_manager: Record timestamp in IntentStart even the tracing is notYan Wang
triggered due to null intent. If the intent is null, the tracing will be delayed to the following ActivitLaunced event. And the starting timestamp won't be recorded. This causes the drop of the trace due to no starting timestamp. Bug: 156000582 Test: atest iorap-functional-test Change-Id: I2a17b72392dc9d9ff7d4d79f79dc85d38dce807d
2020-05-08Snap for 6473661 from bab2a4bb7e16286f5e39d91bc3dd6b9b73199c0d to rvc-releaseandroid-build-team Robot
Change-Id: Ib34cdf72738b19b90ed2f8b1987c2728fbcbc364
2020-05-07Merge "event_manager: Move intent start timestamp ahead of perfetto ↵TreeHugger Robot
tracing." into rvc-dev
2020-05-07event_manager: Move intent start timestamp ahead of perfetto tracing.Yan Wang
The timestamp is required for prefetto trace. Bug: 156000582 Test: iorap-functional-test Change-Id: Icba805abf0a473759529675f5735a449432b7981
2020-05-06Snap for 6465574 from 6c37f7fcd6d8ee8b78523f54dbf04ab66cc54b4b to rvc-releaseandroid-build-team Robot
Change-Id: I963721d5ee4d11f47a12137d22465202789c1d2b
2020-05-05Merge "perfetto: Use a global map to control the access of state change ↵TreeHugger Robot
subjects." into rvc-dev
2020-04-30perfetto: Use a global map to control the access of state changeYan Wang
subjects. These subjects are used to managed by the callback, which is assumed to only be triggered by perfetto thread. However, iorap also calls this callback to handle too many perfetto tracing instance. Add a global map to manage them to avoid use-after-free bug. Bug: 153627573 Change-Id: Id31b992438914b3b1cfba0cd693999897c3a52fe
2020-04-30Snap for 6445537 from 57484b60324de4ece0e088db4f32d2752fc3d2cc to rvc-releaseandroid-build-team Robot
Change-Id: Ia665864a09bca0090732d76f374e72e7b08073a3
2020-04-28inode2filename: Fix a use-after-free bug.Yan Wang
Bug: 150331085 Test: Make Change-Id: I4f5846cedb64ce7ea3c4a8ac4feef61ff0e3218c
2020-04-17iorap: Add handling when package manager is down.Yan Wang
The basic idea is that iorapd will not do prefetto trace and prefetching in this case. Bug: 153964298 Bug: 154243611 Test: atest iorap-functional-tests Change-Id: Idfaac28bf5d3d3f39b790c1429a52645469e55c5
2020-04-15Snap for 6396429 from 69e3aad47cacd419e194fca1e5a95158dc50aee0 to rvc-releaseandroid-build-team Robot
Change-Id: I67a8be427d508f1c22df243d5b5b029167de9fd4
2020-04-14Merge "binder: Fix bugreport and dumpsys not printing full info" into rvc-devTreeHugger Robot
2020-04-14binder: Fix bugreport and dumpsys not printing full infoIgor Murashkin
bugreport and dumpsys pass ['-a'] as the argument vector to IIorap::Dump. Now handle any of (none, '-a', '--all') which will make all combinations of calling dumpsys print out the debugging state. Bug: 154021112 Test: adb shell dumpsys Test: adb shell dumpsys iorapd Test: adb bugreport Change-Id: I30e0a3a0fb2deb77cfda2f1959fb2a88e5653ec1
2020-04-13iorap: Add handler for package update by dexopt service.Yan Wang
The traces for the package is removed when receiving the event. Bug: 150640692 Test: adb shell cmd package bg-dexopt-job com.google.android.GoogleCamera Change-Id: I427c8c37083c3507e8e7b2e2cb3cd152aed6e28c
2020-04-11Snap for 6386750 from ed2965889f5bd45ac7c809834e24d0fd35de1c49 to rvc-releaseandroid-build-team Robot
Change-Id: Icf583b74fa0c9a202211fca58f38ef8465627b1c
2020-04-10Merge "prefetcher: Fix use-after-move" into rvc-devTreeHugger Robot
2020-04-10prefetcher: Fix use-after-moveIgor Murashkin
Bug: 150874779 Test: run iorapd and check its still prefetching Change-Id: I3da0b40e58e2cad15ce4fb645e06ddd1a952351d
2020-04-10Snap for 6383144 from 23af78b48066723b75e4727c6f4c2b3ee1f9eacb to rvc-releaseandroid-build-team Robot
Change-Id: Id1869fec82227705a73761e68152ea0c01212440
2020-04-09Merge "dumpsys: Add --purge-package and --compile-package commands" into rvc-devTreeHugger Robot
2020-04-09dumpsys: Add --purge-package and --compile-package commandsIgor Murashkin
--purge-packge: Deletes all db entries/files associated with a package. --compile-package: Compile a single package (raw->compiled trace). Bug: 152322429 Test: manual Change-Id: I1043f0b2ccc38d5e37b57a33a42a0ae6d7c4d9df
2020-04-09Snap for 6378851 from 9ba82bf5713c036b6dd105a5bcfdd9d7a63521e5 to rvc-releaseandroid-build-team Robot
Change-Id: I787d2dcf10e028eabb963f9feb894c6c96bafb4d
2020-04-08Merge "inode2filename: Fix a use-after-free bug." into rvc-devTreeHugger Robot