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

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

Issue 10832290: Dump /proc/<pid>/maps with every heap profile dump. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: added comments. Created 8 years, 4 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
« no previous file with comments | « no previous file | third_party/tcmalloc/chromium/src/deep-heap-profile.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 be213b26c8f110ae35a04c79600041ebb01fc8d0..37f9bbcdb8cf0420b76d88a38ec3ff01e33577a6 100644
--- a/third_party/tcmalloc/chromium/src/deep-heap-profile.h
+++ b/third_party/tcmalloc/chromium/src/deep-heap-profile.h
@@ -196,9 +196,12 @@ class DeepHeapProfile {
uint64 first_address,
uint64 last_address);
- // Write re-formatted /proc/self/maps into a file which has |filename_prefix|
- // with using |buffer| of size |buffer_size|.
+ // Write re-formatted /proc/self/maps into a file with using |buffer| of
+ // size |buffer_size|.
+ // If |count| is zero, the filename will be "|filename_prefix|.<pid>.maps".
+ // Otherwise, "|filename_prefix|.<pid>.|count|.maps".
static void WriteMapsToFile(const char* filename_prefix,
+ unsigned count,
int buffer_size,
char buffer[]);
« no previous file with comments | « no previous file | third_party/tcmalloc/chromium/src/deep-heap-profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698