Bug 1154041 - Enable child process memory report logging by default on B2G. r=erahm
This commit is contained in:
@@ -1260,11 +1260,13 @@ nsMemoryReporterManager::~nsMemoryReporterManager()
|
||||
NS_ASSERTION(!mSavedWeakReporters, "failed to restore weak reporters");
|
||||
}
|
||||
|
||||
//#define DEBUG_CHILD_PROCESS_MEMORY_REPORTING 1
|
||||
#ifdef MOZ_WIDGET_GONK
|
||||
#define DEBUG_CHILD_PROCESS_MEMORY_REPORTING 1
|
||||
#endif
|
||||
|
||||
#ifdef DEBUG_CHILD_PROCESS_MEMORY_REPORTING
|
||||
#define MEMORY_REPORTING_LOG(format, ...) \
|
||||
fprintf(stderr, "++++ MEMORY REPORTING: " format, ##__VA_ARGS__);
|
||||
printf_stderr("++++ MEMORY REPORTING: " format, ##__VA_ARGS__);
|
||||
#else
|
||||
#define MEMORY_REPORTING_LOG(...)
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user