Expose to privileged JS an API to add markers with a start time and an associated text
Categories
(Core :: Gecko Profiler, enhancement, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox76 | --- | fixed |
People
(Reporter: nalexander, Assigned: florian)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file)
Bug 773428 added Services.profiler.AddMarker, but there's no support for including a start time for such markers. This ticket tracks adding API support for such time stamps.
The piece that's not clear to me is how, from privileged JS, one gets an unfuzzed timestamp of the type that AddMarker expects.
Updated•1 year ago
|
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 1•1 year ago
|
||
Pushed by fqueze@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/859ae92f4110 Expose to privileged JS an API to add markers with a start time and an associated text, r=gerald,mconley,baku.
Comment 3•1 year ago
|
||
Backed out for bustages on ProfilerMarkerPayload.h.
Backout link: https://hg.mozilla.org/integration/autoland/rev/b1a9655f50e3d780c72463f89a21c1aa0a9c80c2
Log link: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=296173820&repo=autoland&lineNumber=17597
| Assignee | ||
Comment 4•1 year ago
|
||
(In reply to Narcis Beleuzu [:NarcisB] from comment #3)
Backed out for bustages on ProfilerMarkerPayload.h.
Sorry, I don't understand why this built fine locally and then failed on all platforms on autoland :-/.
I pushed to try the new version, it built fine, and I verified the profiles contain the expected markers: https://treeherder.mozilla.org/#/jobs?repo=try&revision=6d21bff3ad1c566c1889ad2f04ff3dec51272fa5 (the oranges are intended; to force profile uploads).
Pushed by fqueze@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d6d95fa44ebd Expose to privileged JS an API to add markers with a start time and an associated text, r=gerald,mconley,baku.
Comment 6•1 year ago
|
||
| bugherder | ||
Description
•