Chromium Code Reviews| Index: third_party/tcmalloc/chromium/src/gperftools/heap-profiler.h |
| diff --git a/third_party/tcmalloc/chromium/src/gperftools/heap-profiler.h b/third_party/tcmalloc/chromium/src/gperftools/heap-profiler.h |
| index 8e3ee962c7126c9f582c022033b95cd71953902e..2bb0a311e5655ba5147cc476c3422dbdd61e924b 100644 |
| --- a/third_party/tcmalloc/chromium/src/gperftools/heap-profiler.h |
| +++ b/third_party/tcmalloc/chromium/src/gperftools/heap-profiler.h |
| @@ -90,6 +90,14 @@ PERFTOOLS_DLL_DECL void HeapProfilerStop(); |
| */ |
| PERFTOOLS_DLL_DECL void HeapProfilerDump(const char *reason); |
| +/* Dump a profile now and store the filename where the profile is dumped to |
| + * in addition to HeapProfilerDump(). |
| + */ |
| +PERFTOOLS_DLL_DECL void HeapProfilerDumpWithFileName( |
| + const char *reason, |
| + char* dumped_filename_buffer, |
| + int filename_buffer_length); |
|
Dai Mikurube (NOT FULLTIME)
2013/02/13 16:04:46
FYI, |dumped_filename_buffer| is output of this fu
|
| + |
| /* Generate current heap profiling information. |
| * Returns an empty string when heap profiling is not active. |
| * The returned pointer is a '\0'-terminated string allocated using malloc() |