Bug P3
Status Update
Comments
ra...@google.com <ra...@google.com> #2
This is a good idea, and worth doing.
19...@gmail.com <19...@gmail.com> #4
I did not add this software to my devices
Someone else is using my account an devices an doing malicious things
Someone else is using my account an devices an doing malicious things
yu...@schimke.ee <yu...@schimke.ee> #5
Is this still moving forward?
ra...@google.com <ra...@google.com> #6
Reassigning this to sergeyv@, so he can prioritize.
ys...@google.com <ys...@google.com> #7
ping.
se...@google.com <se...@google.com> #8
Yeah, it is in the state of "one of the top features that we want to enable", but with scarce resources didn't get around to actually do it.
ap...@google.com <ap...@google.com> #9
Project: platform/frameworks/support
Branch: androidx-main
commit ba07ebdc49528ac69613916f852eaffabd2404ff
Author: Rahul Ravikumar <rahulrav@google.com>
Date: Wed Apr 03 17:42:25 2024
Add the ability to automatically emit perfetto traces for WorkRequest execution.
Bug: 260214125
Test: Updated WorkerWrapperTest
Relnote: Added the ability to emit trace spans via a configurable @RestrictTo `Tracer` in WorkManager.
Change-Id: I17d7f0ec2b1947d09d568ca1f69ea6fee64c713c
M work/work-multiprocess/src/main/java/androidx/work/multiprocess/parcelable/ParcelableWorkRequest.java
M work/work-runtime/api/current.txt
M work/work-runtime/api/restricted_current.txt
M work/work-runtime/build.gradle
M work/work-runtime/src/androidTest/java/androidx/work/impl/WorkerWrapperTest.java
M work/work-runtime/src/main/java/androidx/work/Configuration.kt
A work/work-runtime/src/main/java/androidx/work/Tracer.kt
M work/work-runtime/src/main/java/androidx/work/WorkRequest.kt
M work/work-runtime/src/main/java/androidx/work/impl/WorkDatabase.kt
M work/work-runtime/src/main/java/androidx/work/impl/WorkerWrapper.kt
M work/work-runtime/src/main/java/androidx/work/impl/model/WorkSpec.kt
A work/work-runtime/src/schemas/androidx.work.impl.WorkDatabase/23.json
https://android-review.googlesource.com/2835705
Branch: androidx-main
commit ba07ebdc49528ac69613916f852eaffabd2404ff
Author: Rahul Ravikumar <rahulrav@google.com>
Date: Wed Apr 03 17:42:25 2024
Add the ability to automatically emit perfetto traces for WorkRequest execution.
Bug: 260214125
Test: Updated WorkerWrapperTest
Relnote: Added the ability to emit trace spans via a configurable @RestrictTo `Tracer` in WorkManager.
Change-Id: I17d7f0ec2b1947d09d568ca1f69ea6fee64c713c
M work/work-multiprocess/src/main/java/androidx/work/multiprocess/parcelable/ParcelableWorkRequest.java
M work/work-runtime/api/current.txt
M work/work-runtime/api/restricted_current.txt
M work/work-runtime/build.gradle
M work/work-runtime/src/androidTest/java/androidx/work/impl/WorkerWrapperTest.java
M work/work-runtime/src/main/java/androidx/work/Configuration.kt
A work/work-runtime/src/main/java/androidx/work/Tracer.kt
M work/work-runtime/src/main/java/androidx/work/WorkRequest.kt
M work/work-runtime/src/main/java/androidx/work/impl/WorkDatabase.kt
M work/work-runtime/src/main/java/androidx/work/impl/WorkerWrapper.kt
M work/work-runtime/src/main/java/androidx/work/impl/model/WorkSpec.kt
A work/work-runtime/src/schemas/androidx.work.impl.WorkDatabase/23.json
Description
Version used: 2.7.1
Devices/Android versions reproduced on: Emulator + Wear
Apps using WorkManager under benchmarking would benefit from almost automatic tracing of WorkManager executions.
Particularly with libraries like androidx.media3:media3-exoplayer-workmanager, the actual implementations may not be in app code, so it's hard to add manual tracing.
Ideally some additional dependency similar to compose runtime tracing, that when included outputs tracing that will show up in perfetto automatically, explaining app behaviour during the profiling window.