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
Родитель 6eb786c0d4
Коммит a35427a236
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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.

Просмотреть файл

@ -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.