Closed Bug 1663543 Opened 4 years ago Closed 4 years ago

Convert PROFILER_ADD_MARKER and 2-arg profiler_add_marker to PROFILER_MARKER_UNTYPED

Categories

(Core :: Gecko Profiler, task, P2)

task

Tracking

()

RESOLVED FIXED
82 Branch
Tracking Status
firefox82 --- fixed

People

(Reporter: mozbugz, Assigned: mozbugz)

References

Details

Attachments

(2 files)

Convert PROFILER_ADD_MARKER and 2-arg profiler_add_marker to PROFILER_MARKER_UNTYPED.

Mostly mechanical change, with some extra work where non-literal names are provided.
Also, when this is the only profiler call in a file, #include "GeckoProfiler.h" can be changed to #include "mozilla/ProfilerMarkers.h".

Depends on D89414

Pushed by gsquelart@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/558659e93ff2
Make MarkerCategory and MarkerOptions usable in macros - r=gregtatum
https://hg.mozilla.org/integration/autoland/rev/9332eca40833
Convert PROFILER_ADD_MARKER and 2-arg profiler_add_marker to PROFILER_MARKER_UNTYPED - r=gregtatum
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: