mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1154041 - Enable child process memory report logging by default on B2G. r=erahm
This commit is contained in:
parent
3e58c4f5fe
commit
72145bc9c8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user