Bug 1520238 - Measure memory by default when MOZ_PROFILER_STARTUP is set - r=mstange

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

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Gerald Squelart 2019-04-30 01:42:23 +00:00
Родитель c842141dfe
Коммит 42078ccd2f
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -239,7 +239,7 @@ static uint32_t DefaultFeatures() {
static uint32_t StartupExtraDefaultFeatures() {
// Enable mainthreadio by default for startup profiles as startup is heavy on
// I/O operations, and main thread I/O is really important to see there.
return ProfilerFeature::MainThreadIO;
return ProfilerFeature::MainThreadIO | ProfilerFeature::Memory;
}
class PSMutex : public StaticMutex {};