Closed Bug 2076819 Opened 2 months ago Closed 1 month ago

Enable "gecko" feature in glean-core to enable the Firefox Profiler to profile glean threads

Categories

(Toolkit :: Telemetry, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED
159 Branch
Tracking Status
firefox159 --- fixed

People

(Reporter: chutten, Assigned: chutten)

References

Details

Attachments

(1 external file)

Back in bug 1899618 we introduced the ability for the Glean SDK to register threads with the Gecko profiler when it was available. Then we neglected to turn it on.

On bug 2071838 we have the minimal patch to turn it on, but it deadlocks. Upon investigation I found that this is because the glean.dispatcher thread reports metrics (like all threads do) but since it's The Dispatcher it can't serve those metrics recording calls.

Our current idea is to just skip reporting these thread metrics for threads named glean.dispatcher. It works, it's a small patch, it's easy to understand... but it's also a bit sad, so if anyone has a better idea then please suggest it.

Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 159 Branch
Regressions: 2079579
QA Whiteboard: [qa-triage-done-c160/b159]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: