Index: third_party/tcmalloc/chromium/src/heap-profile-table.h |
diff --git a/third_party/tcmalloc/chromium/src/heap-profile-table.h b/third_party/tcmalloc/chromium/src/heap-profile-table.h |
index c2ad39f9138f4049fc9de2e45a385a8e1819e687..ec3b6a7a8821bc215e7caae37b0b9b806c6d4d77 100644 |
--- a/third_party/tcmalloc/chromium/src/heap-profile-table.h |
+++ b/third_party/tcmalloc/chromium/src/heap-profile-table.h |
@@ -183,6 +183,7 @@ class HeapProfileTable { |
// of currently allocated bytes. |
// We do not provision for 0-terminating 'buf'. |
int FillOrderedProfile(char buf[], int size) const; |
+ int FillOrderedProfile2(char buf[], int size) const; |
// Cleanup any old profile files matching prefix + ".*" + kFileExt. |
static void CleanupOldProfiles(const char* prefix); |
@@ -367,6 +368,9 @@ class HeapProfileTable { |
char* buf, int buflen, int bufsize, |
const char* extra, |
Stats* profile_stats); |
+ static int UnparseBucket2(const Bucket& b, |
+ char* buf, int buflen, int bufsize, |
+ Stats* profile_stats); |
// Get the bucket for the caller stack trace 'key' of depth 'depth' |
// creating the bucket if needed. |