Closed Bug 1658614 Opened 4 years ago Closed 4 years ago

Capture renamed media thread `media controller`

Categories

(Core :: Gecko Profiler, defect)

defect

Tracking

()

RESOLVED FIXED
81 Branch
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.

[1] https://phabricator.services.mozilla.com/D85543

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.

Flags: needinfo?(canaltinova)

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!

Flags: needinfo?(canaltinova)

Thank you so much, will have a patch for that.

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
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: