зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1326134 - Report DEBUG builds in profiles, r=mstange
--HG-- extra : rebase_source : 6b63ad187df9f1591e30397e017c69277d014697
This commit is contained in:
Родитель
8ccd756578
Коммит
3949f5f1e8
|
@ -351,6 +351,12 @@ void GeckoSampler::StreamMetaJSCustomObject(SpliceableJSONWriter& aWriter)
|
|||
aWriter.DoubleProperty("interval", interval());
|
||||
aWriter.IntProperty("stackwalk", mUseStackWalk);
|
||||
|
||||
#ifdef DEBUG
|
||||
aWriter.IntProperty("debug", 1);
|
||||
#else
|
||||
aWriter.IntProperty("debug", 0);
|
||||
#endif
|
||||
|
||||
#ifndef SPS_STANDALONE
|
||||
aWriter.IntProperty("gcpoison", JS::IsGCPoisoning() ? 1 : 0);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче