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

Unified Diff: third_party/tcmalloc/chromium/src/deep-heap-profile.h

Issue 14823009: Add the reason in heap profiler dumps. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 7 years, 7 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/deep-heap-profile.h
diff --git a/third_party/tcmalloc/chromium/src/deep-heap-profile.h b/third_party/tcmalloc/chromium/src/deep-heap-profile.h
index 7cf95fdc30ebce4a2e6b04437712fea38d3b5b68..e9300d282ba45447e7467a08c884bd3295e9e553 100644
--- a/third_party/tcmalloc/chromium/src/deep-heap-profile.h
+++ b/third_party/tcmalloc/chromium/src/deep-heap-profile.h
@@ -83,7 +83,9 @@ class DeepHeapProfile {
//
// In addition, a list of buckets is dumped into a ".buckets" file in
// descending order of allocated bytes.
- int FillOrderedProfile(char raw_buffer[], int buffer_size);
+ int FillOrderedProfile(char raw_buffer[],
Alexander Potapenko 2013/05/27 08:54:44 The style guide suggests to put the input paramete
Dai Mikurube (NOT FULLTIME) 2013/05/27 10:08:24 Thanks, sounds reasonable. Done.
+ int buffer_size,
+ const char* reason);
private:
#ifdef USE_DEEP_HEAP_PROFILE

Powered by Google App Engine
This is Rietveld 408576698