diff options
author | sgk@chromium.org <sgk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-08 06:56:57 +0000 |
---|---|---|
committer | sgk@chromium.org <sgk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-08 06:56:57 +0000 |
commit | d4104109bee8967a047254ec82afa6ee1f70ba86 (patch) | |
tree | 853ff2e3e931c3c3d239268b5f640bd0f9150625 /chrome/common/render_messages_internal.h | |
parent | 9b2a18d8d24244eb1834ce54ac1e82a6dbfc13bc (diff) | |
download | chromium_src-d4104109bee8967a047254ec82afa6ee1f70ba86.zip chromium_src-d4104109bee8967a047254ec82afa6ee1f70ba86.tar.gz chromium_src-d4104109bee8967a047254ec82afa6ee1f70ba86.tar.bz2 |
Display tcmalloc debug output from renderer processes in about:tcmalloc.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/255080
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28384 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/render_messages_internal.h')
-rw-r--r-- | chrome/common/render_messages_internal.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/chrome/common/render_messages_internal.h b/chrome/common/render_messages_internal.h index 9ec8ca9..3925798 100644 --- a/chrome/common/render_messages_internal.h +++ b/chrome/common/render_messages_internal.h @@ -541,6 +541,11 @@ IPC_BEGIN_MESSAGES(View) IPC_MESSAGE_CONTROL1(ViewMsg_GetRendererHistograms, int /* sequence number of Renderer Histograms. */) +#if defined(USE_TCMALLOC) + // Asks the renderer to send back tcmalloc stats. + IPC_MESSAGE_CONTROL0(ViewMsg_GetRendererTcmalloc) +#endif + // Notifies the renderer about ui theme changes IPC_MESSAGE_ROUTED0(ViewMsg_ThemeChanged) @@ -1360,6 +1365,13 @@ IPC_BEGIN_MESSAGES(ViewHost) int, /* sequence number of Renderer Histograms. */ std::vector<std::string>) +#if defined USE_TCMALLOC + // Send back tcmalloc stats output. + IPC_MESSAGE_CONTROL2(ViewHostMsg_RendererTcmalloc, + int /* pid */, + std::string /* tcmalloc debug output */) +#endif + // Request for a DNS prefetch of the names in the array. // NameList is typedef'ed std::vector<std::string> IPC_MESSAGE_CONTROL1(ViewHostMsg_DnsPrefetch, |