Closed
Bug 1657197
Opened 5 years ago
Closed 3 years ago
Support enabling MOZ_LOG profilermarkers mirroring at runtime
Categories
(Core :: XPCOM, enhancement, P3)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
104 Branch
| Tracking | Status | |
|---|---|---|
| firefox104 | --- | fixed |
People
(Reporter: mstange, Assigned: padenot)
References
Details
Attachments
(1 file)
Bug 1518030 added support for a profilermarkers log module which causes all log messages to be pushed into profiler markers. For example, you can start Firefox with MOZ_LOG=profilermarkers,nsHttp:3, and capture a profile during a page load, and you'll get a profile like this: https://share.firefox.dev/30tmksw
However, profilermarkers only works in the MOZ_LOG environment variable; it cannot be enabled at runtime in about:networking#logging.
It would be useful for this to work at runtime, too.
To make this work at runtime, I think the following changes are needed:
- A
logging.config.profilermarkerspref would need to be added, and handled similarly tologging.config.add_timestamp about:networkingwould need to be taught about this module, here and here.
Severity: -- → N/A
Priority: -- → P3
| Assignee | ||
Comment 2•3 years ago
|
||
Pushed by padenot@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c7a2d9c71436
Support enabling MOZ_LOG profilermarkers mirroring at runtime. r=mstange
Comment 4•3 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 3 years ago
status-firefox104:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 104 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•