Closed Bug 1671536 Opened 4 years ago Closed 4 years ago

Remove Base Profiler PayloadMarker and all dependencies

Categories

(Core :: Gecko Profiler, task, P2)

task

Tracking

()

RESOLVED FIXED
83 Branch
Tracking Status
firefox83 --- fixed

People

(Reporter: mozbugz, Assigned: mozbugz)

References

(Depends on 1 open bug)

Details

Attachments

(2 files)

Base Profiler PayloadMarker-based markers are not used much, so they can be removed without too much effort.

Bug 1670954 (MarkerThreadId::MainThread) is needed to convert a couple of TextMarkerPayload uses to the new API.

(The same task will happen in the Gecko Profiler, but there is more work needed to convert the old PayloadMarkers to markers 2.0 first, so there will be separate bugs for that, see meta bug 1661394.)

TextMarkerPayload is the only legacy marker type that is still used in the Base Profiler. We're converting it to the new BASE_PROFILER_MARKER_TEXT.

Depends on D93736

Everything related to Base Profiler legacy markers can now be removed, only the new API from BaseProfilerMarkers.h should now be used.

Depends on D93737

Pushed by gsquelart@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/24bc2812bca9 Stop using baseprofiler::TextMarkerPayload - r=gregtatum https://hg.mozilla.org/integration/autoland/rev/c14038de028d Remove BaseProfilerMarkerPayload.h and dependents - r=gregtatum
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: