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)
Toolkit
Telemetry
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.
Pushed by jrediger@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/016f887067b7
https://hg.mozilla.org/integration/autoland/rev/9376bddb5f9f
Enable `gecko` feature, which in turn enables thread registration r=chutten
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
status-firefox159:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 159 Branch
Updated•1 month ago
|
QA Whiteboard: [qa-triage-done-c160/b159]
You need to log in
before you can comment on or make changes to this bug.
Description
•