Closed Bug 1576554 Opened 2 years ago Closed 2 years ago

De/serialize ProfilerBacktrace

Categories

(Core :: Gecko Profiler, task, P2)

task

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: gerald, Assigned: gerald)

References

Details

Attachments

(2 files, 1 obsolete file)

Any marker may contain a ProfilerBacktrace, so we need to be able to de/serialize them before we can de/serialize markers.

Add basic testing of profiler_get_backtrace before working on serializing it.

Depends on D43423

To help ProfilerBacktrace de/serialize itself, it needs to access the
ProfileBuffer's underlying BlocksRingBuffer, and also to construct a
ProfileBuffer with an existing BlocksRingBuffer.

Depends on D43424

Markers may contain backtraces, so we need to be able to de/serialize them.
This involves de/serializing the underyling BlocksRingBuffer.

Depends on D43425

Attachment #9088107 - Attachment is obsolete: true
Pushed by gsquelart@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a14ac9bb5338
Test baseprofiler::profiler_get_backtrace - r=gregtatum
https://hg.mozilla.org/integration/autoland/rev/5924790abc4b
{S,Des}erializer<ProfilerBacktrace> - r=gregtatum
Pushed by gsquelart@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/72d917693307
Test baseprofiler::profiler_get_backtrace - r=gregtatum
https://hg.mozilla.org/integration/autoland/rev/b585ffe73f1b
{S,Des}erializer<ProfilerBacktrace> - r=gregtatum
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in before you can comment on or make changes to this bug.