Capture renamed media thread `media controller`
Categories
(Core :: Gecko Profiler, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox81 | --- | fixed |
People
(Reporter: alwu, Assigned: alwu)
References
Details
Attachments
(1 file)
In [1], it renamed MediaPlayback
thread to MediaController
but the profiler is still capturing the old name.
We should change the profiler preset in order to capture that thread with new name correctly.
Assignee | ||
Comment 1•4 years ago
|
||
Hi, canaltinova,
Do you know where we decide what thread we would capture for media preset? could you point me out where I should modify the code?
Thank you.
Hey Alastor,
We have an object that hold all the preset values here: https://searchfox.org/mozilla-central/rev/8df04ff073d0fa70f692935c5dcddc0e23cb0117/devtools/client/performance-new/popup/background.jsm.js#86-137
And this is MediaPlayback
thread for media preset: https://searchfox.org/mozilla-central/rev/8df04ff073d0fa70f692935c5dcddc0e23cb0117/devtools/client/performance-new/popup/background.jsm.js#129
We don't have a test for this, so changing only this place should be enough. Let me know if you need any help!
Assignee | ||
Comment 3•4 years ago
|
||
Thank you so much, will have a patch for that.
Assignee | ||
Comment 4•4 years ago
|
||
MediaPlayback
thread has been renamed to MediaController
thread, so update the captured thread list for media preset.
Pushed by alwu@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/585a5613ef44 capture 'MediaController' thread in media preset. r=canaltinova
Comment 6•4 years ago
|
||
bugherder |
Description
•