Bug 1574187 - Stabilize profilerOverhead data in profile json. r=gerald

Depends on D42285

Differential Revision: https://phabricator.services.mozilla.com/D42286

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Nazım Can Altınova 2019-08-16 12:18:01 +00:00
parent 6eb786c0d4
commit a35427a236
2 changed files with 2 additions and 2 deletions

View File

@ -804,7 +804,7 @@ void ProfileBuffer::StreamProfilerOverheadToJSON(
EntryGetter e(*this);
aWriter.StartObjectProperty("profilerOverhead_UNSTABLE");
aWriter.StartObjectProperty("profilerOverhead");
aWriter.StartObjectProperty("samples");
// Stream all sampling overhead data. We skip other entries, because we
// process them in StreamSamplesToJSON()/etc.

View File

@ -1197,7 +1197,7 @@ void ProfileBuffer::StreamProfilerOverheadToJSON(
EntryGetter e(*this);
aWriter.StartObjectProperty("profilerOverhead_UNSTABLE");
aWriter.StartObjectProperty("profilerOverhead");
aWriter.StartObjectProperty("samples");
// Stream all sampling overhead data. We skip other entries, because we
// process them in StreamSamplesToJSON()/etc.