Bug 1384688 - Update profile version to 8. r?njn draft
authorMarkus Stange <mstange@themasta.com>
Thu, 27 Jul 2017 19:11:53 -0400
changeset 618571 493f9368d1a4d3a988c2db74e7d7c979839dcbc1
parent 618570 c0c14c758588be6ca6b58492d54736df95f38506
child 618780 5c78bacde09460e428108b5e44798ed781775b9d
child 619231 d9f0523cd65a190192a87f619086659034a2b86a
child 619243 a071ddfee60f1bcdad650d6dda558a99b0911d1b
push id71382
push userbmo:mstange@themasta.com
push dateMon, 31 Jul 2017 18:46:43 +0000
reviewersnjn
bugs1384688
milestone56.0a1
Bug 1384688 - Update profile version to 8. r?njn MozReview-Commit-ID: K8IGUZ3NTRY
tools/profiler/core/platform.cpp
--- a/tools/profiler/core/platform.cpp
+++ b/tools/profiler/core/platform.cpp
@@ -1442,17 +1442,17 @@ StreamTaskTracer(PSLockRef aLock, Splice
 }
 
 static void
 StreamMetaJSCustomObject(PSLockRef aLock, SpliceableJSONWriter& aWriter,
                          const TimeStamp& aShutdownTime)
 {
   MOZ_RELEASE_ASSERT(CorePS::Exists() && ActivePS::Exists(aLock));
 
-  aWriter.IntProperty("version", 7);
+  aWriter.IntProperty("version", 8);
 
   // The "startTime" field holds the number of milliseconds since midnight
   // January 1, 1970 GMT. This grotty code computes (Now - (Now -
   // ProcessStartTime)) to convert CorePS::ProcessStartTime() into that form.
   TimeDuration delta = TimeStamp::Now() - CorePS::ProcessStartTime();
   aWriter.DoubleProperty(
     "startTime", static_cast<double>(PR_Now()/1000.0 - delta.ToMilliseconds()));