Bug 1492121 - Enable Base Profiler by default on Linux and Mac - r=njn

Android not implemented yet.
Windows not working yet when packaged, so disabled by default, but may be
enabled locally by uncommenting `#define MOZ_BASE_PROFILER` where indicated in
BaseProfiler.h.

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

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Gerald Squelart 2019-06-05 23:40:28 +00:00
Родитель 7635e5d9da
Коммит 2e2c8ebdeb
1 изменённых файлов: 3 добавлений и 3 удалений

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

@ -23,9 +23,9 @@
// #included wherever Base Profiler may be used.
#ifdef MOZ_GECKO_PROFILER
// Disable Base Profiler for now; will be enabled on supported platforms in
// later patches.
# if 0
// Enable Base Profiler on Mac and Non-Android Linux, which are supported.
// (Android not implemented yet. Windows not working yet when packaged.)
# if defined(XP_MACOSX) || (defined(XP_LINUX) && !defined(ANDROID))
# define MOZ_BASE_PROFILER
# else
// Other platforms are currently not supported. But you may uncomment the