diff options
author | jbauman@chromium.org <jbauman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-08 01:55:07 +0000 |
---|---|---|
committer | jbauman@chromium.org <jbauman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-08 01:55:07 +0000 |
commit | 92fe610ca9b3a745c00f5d172fa8d955004fcecc (patch) | |
tree | d12d523dbd564090fbfb3d51ca59700bb156d007 /content/common/child_process_messages.h | |
parent | 54947031f1b6094498f16b49009a5abceba3d401 (diff) | |
download | chromium_src-92fe610ca9b3a745c00f5d172fa8d955004fcecc.zip chromium_src-92fe610ca9b3a745c00f5d172fa8d955004fcecc.tar.gz chromium_src-92fe610ca9b3a745c00f5d172fa8d955004fcecc.tar.bz2 |
Add tracing support to NaCl
Add Ppapi IPC messages and a handler inside of the NaCl IRT to enable, disable, and send the result of tracing.
BUG=93839
Review URL: https://codereview.chromium.org/11411118
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171911 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/child_process_messages.h')
-rw-r--r-- | content/common/child_process_messages.h | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/content/common/child_process_messages.h b/content/common/child_process_messages.h index 93c5578..0cf2a3a 100644 --- a/content/common/child_process_messages.h +++ b/content/common/child_process_messages.h @@ -72,25 +72,6 @@ IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetIPCLoggingEnabled, bool /* on or off */) #endif -// Sent to all child processes to enable trace event recording. -IPC_MESSAGE_CONTROL2(ChildProcessMsg_BeginTracing, - std::vector<std::string> /* included_categories */, - std::vector<std::string> /* excluded_categories */) - -// Sent to all child processes to disable trace event recording. -IPC_MESSAGE_CONTROL0(ChildProcessMsg_EndTracing) - -// Sent to all child processes to get trace buffer fullness. -IPC_MESSAGE_CONTROL0(ChildProcessMsg_GetTraceBufferPercentFull) - -// Sent to all child processes to set watch event. -IPC_MESSAGE_CONTROL2(ChildProcessMsg_SetWatchEvent, - std::string /* category_name */, - std::string /* event_name */) - -// Sent to all child processes to clear watch event. -IPC_MESSAGE_CONTROL0(ChildProcessMsg_CancelWatchEvent) - // Tell the child process to enable or disable the profiler status. IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetProfilerStatus, tracked_objects::ThreadData::Status /* profiler status */) @@ -117,25 +98,6 @@ IPC_MESSAGE_CONTROL0(ChildProcessMsg_GetTcmallocStats) IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_ShutdownRequest) -// Notify the browser that this child process supports tracing. -IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_ChildSupportsTracing) - -// Reply from child processes acking ChildProcessMsg_TraceChangeStatus(false). -IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_EndTracingAck, - std::vector<std::string> /* known_categories */) - -// Sent if the trace buffer becomes full. -IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_TraceNotification, - int /* base::debug::TraceLog::Notification */) - -// Child processes send trace data back in JSON chunks. -IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_TraceDataCollected, - std::string /*json trace data*/) - -// Reply to ChildProcessMsg_GetTraceBufferPercentFull. -IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_TraceBufferPercentFullReply, - float /*trace buffer percent full*/) - // Send back profiler data (ThreadData in tracked_objects). IPC_MESSAGE_CONTROL2(ChildProcessHostMsg_ChildProfilerData, int, /* sequence_number */ |