diff options
author | glider@chromium.org <glider@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-12 16:05:02 +0000 |
---|---|---|
committer | glider@chromium.org <glider@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-12 16:05:02 +0000 |
commit | 6874df503b2957535750b80225d78cf44f98fe90 (patch) | |
tree | b7deb01a14fb82237582c39d7bf3378eebcd7762 /third_party/tcmalloc | |
parent | 518dc075fce1c6d0d5a90aa4601a2da4044de8c5 (diff) | |
download | chromium_src-6874df503b2957535750b80225d78cf44f98fe90.zip chromium_src-6874df503b2957535750b80225d78cf44f98fe90.tar.gz chromium_src-6874df503b2957535750b80225d78cf44f98fe90.tar.bz2 |
Increase the size of buffer used by LogPrintf to 1600 bytes.
600 bytes is not enough to print full symbolized stacks of the memory leaks.
TBR=willchan
Review URL: http://codereview.chromium.org/550011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36011 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/tcmalloc')
-rw-r--r-- | third_party/tcmalloc/chromium/src/base/logging.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/tcmalloc/chromium/src/base/logging.h b/third_party/tcmalloc/chromium/src/base/logging.h index 3b1dacf..3313d97 100644 --- a/third_party/tcmalloc/chromium/src/base/logging.h +++ b/third_party/tcmalloc/chromium/src/base/logging.h @@ -178,7 +178,7 @@ enum LogSeverity {INFO = -1, WARNING = -2, ERROR = -3, FATAL = -4}; inline void LogPrintf(int severity, const char* pat, va_list ap) { // We write directly to the stderr file descriptor and avoid FILE // buffering because that may invoke malloc() - char buf[600]; + char buf[1600]; vsnprintf(buf, sizeof(buf)-1, pat, ap); if (buf[0] != '\0' && buf[strlen(buf)-1] != '\n') { assert(strlen(buf)+1 < sizeof(buf)); |