Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1490)

Unified Diff: third_party/tcmalloc/chromium/src/gperftools/tcmalloc.h

Issue 9666033: Experiment for updating the tcmalloc chromium branch to r144 (gperftools 2.0). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/tcmalloc/chromium/src/gperftools/tcmalloc.h
diff --git a/third_party/tcmalloc/chromium/src/google/tcmalloc.h.in b/third_party/tcmalloc/chromium/src/gperftools/tcmalloc.h
similarity index 94%
copy from third_party/tcmalloc/chromium/src/google/tcmalloc.h.in
copy to third_party/tcmalloc/chromium/src/gperftools/tcmalloc.h
index c887559c65d5f602685dd8285572063f8c089561..7c889170bade4ae356fb7c391c2aa0d328af823d 100644
--- a/third_party/tcmalloc/chromium/src/google/tcmalloc.h.in
+++ b/third_party/tcmalloc/chromium/src/gperftools/tcmalloc.h
@@ -48,10 +48,10 @@
#endif
// Define the version number so folks can check against it
-#define TC_VERSION_MAJOR @TC_VERSION_MAJOR@
-#define TC_VERSION_MINOR @TC_VERSION_MINOR@
-#define TC_VERSION_PATCH "@TC_VERSION_PATCH@"
-#define TC_VERSION_STRING "google-perftools @TC_VERSION_MAJOR@.@TC_VERSION_MINOR@@TC_VERSION_PATCH@"
+#define TC_VERSION_MAJOR 2
+#define TC_VERSION_MINOR 0
+#define TC_VERSION_PATCH ""
+#define TC_VERSION_STRING "gperftools 2.0"
#include <stdlib.h> // for struct mallinfo, if it's defined
@@ -92,7 +92,7 @@ extern "C" {
PERFTOOLS_DLL_DECL void tc_malloc_stats(void) __THROW;
PERFTOOLS_DLL_DECL int tc_mallopt(int cmd, int value) __THROW;
-#if @ac_cv_have_struct_mallinfo@
+#ifdef HAVE_STRUCT_MALLINFO
PERFTOOLS_DLL_DECL struct mallinfo tc_mallinfo(void) __THROW;
#endif
« no previous file with comments | « third_party/tcmalloc/chromium/src/gperftools/stacktrace.h ('k') | third_party/tcmalloc/chromium/src/gperftools/tcmalloc.h.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698