Closed Bug 1608556 Opened 5 years ago Closed 5 years ago

Expose to privileged JS an API to add markers with a start time and an associated text

Categories

(Core :: Gecko Profiler, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla76
Tracking Status
firefox76 --- fixed

People

(Reporter: nalexander, Assigned: florian)

References

(Blocks 3 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.

Assignee: nobody → florian
Summary: Expand AddMarker API to include start time → Expose to privileged JS an API to add markers with a start time and an associated text
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.

(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).

Flags: needinfo?(florian)
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.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla76
Blocks: 1647238
Blocks: 1648169
Blocks: 1752517
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: