Add logs for event dispatch and run to track them in logan along network logs
Categories
(Core :: XPCOM, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox78 | --- | fixed |
People
(Reporter: mayhemer, Assigned: mayhemer)
Details
Attachments
(1 file)
We (necko) are constantly facing questions about delays in the networking code. We want to be able to give quick and confident answers. This is always a scheduling problem. While we don't have good tools to monitor and diagnose scheduling, I want to add a minimal logging to at least track nsIRunnables in nsThreads and integrate it to logan. TaskTracer is useless, Backtrack's been buried. Logs are simple and quick.
Please consider also adding Profiler labels and markers -- unless you think it wouldn't help with this particular issue?
See related meta bug 1553419 if you want to add your ideas there.
cc:Julien who knows most about Profiler network things.
But now I see your logan project is probably much easier to use for this bug here; and I'm personally intrigued!
Assignee | ||
Comment 2•4 years ago
|
||
Sorry, no profile integration here. This is more to mimic TaskTracer. I want to include additional diagnostic info into our biggest source of insight - MOZ_LOG, nothing more.
Assignee | ||
Comment 3•4 years ago
|
||
Updated•4 years ago
|
Pushed by honzab.moz@firemni.cz: https://hg.mozilla.org/integration/autoland/rev/a9cbfed977e8 Add event dispatch-and-run MOZ_LOG to our xpcom threads, r=froydnj
Comment 5•4 years ago
|
||
bugherder |
Description
•