Bug 1535575 - Add updateChannel field to profile meta data r=mstange
authorNazım Can Altınova <canaltinova@gmail.com>
Tue, 19 Mar 2019 18:20:28 +0000
changeset 465203 edf29546c0960898e36ece643824527e73b77e6b
parent 465202 d8203a0665d2ae87d60faf21dc7fb22c0a09552a
child 465204 1a7a7301a3316e991c8d136bd8d4abac32679b44
push id80950
push usercanaltinova@gmail.com
push dateWed, 20 Mar 2019 11:40:11 +0000
treeherderautoland@edf29546c096 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmstange
bugs1535575
milestone68.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1535575 - Add updateChannel field to profile meta data r=mstange Differential Revision: https://phabricator.services.mozilla.com/D23654
tools/profiler/core/platform.cpp
--- a/tools/profiler/core/platform.cpp
+++ b/tools/profiler/core/platform.cpp
@@ -1828,16 +1828,18 @@ static void StreamMetaJSCustomObject(PSL
 
   aWriter.IntProperty("gcpoison", JS::IsGCPoisoning() ? 1 : 0);
 
   bool asyncStacks = Preferences::GetBool("javascript.options.asyncstack");
   aWriter.IntProperty("asyncstack", asyncStacks);
 
   aWriter.IntProperty("processType", XRE_GetProcessType());
 
+  aWriter.StringProperty("updateChannel", NS_STRINGIFY(MOZ_UPDATE_CHANNEL));
+
   nsresult res;
   nsCOMPtr<nsIHttpProtocolHandler> http =
       do_GetService(NS_NETWORK_PROTOCOL_CONTRACTID_PREFIX "http", &res);
 
   if (!NS_FAILED(res)) {
     nsAutoCString string;
 
     res = http->GetPlatform(string);