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

Unified Diff: components/tracing/tracing_messages.h

Issue 23556003: Implement about:tracing UI for the sampling profiler (Chromium part) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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 | « components/tracing/child_trace_message_filter.cc ('k') | content/browser/tracing/trace_controller_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/tracing/tracing_messages.h
diff --git a/components/tracing/tracing_messages.h b/components/tracing/tracing_messages.h
index 9beb7e1ec37a2b71eb9019be5b04aff9f9902b6e..ed251110c6cc1a89cab27e6a17806b87831efb43 100644
--- a/components/tracing/tracing_messages.h
+++ b/components/tracing/tracing_messages.h
@@ -24,6 +24,16 @@ IPC_MESSAGE_CONTROL3(TracingMsg_BeginTracing,
// Sent to all child processes to disable trace event recording.
IPC_MESSAGE_CONTROL0(TracingMsg_EndTracing)
+// Sent to all child processes to start continuous sampling tracing.
+IPC_MESSAGE_CONTROL1(TracingMsg_BeginContinuousSamplingTracing,
+ base::TimeTicks /* browser_time */)
+
+// Sent to all child processes to stop continuous sampling tracing.
+IPC_MESSAGE_CONTROL0(TracingMsg_EndContinuousSamplingTracing)
+
+// Sent to all child processes to dump a result of continuous sampling tracing.
+IPC_MESSAGE_CONTROL0(TracingMsg_ShowContinuousSamplingTracing)
+
// Sent to all child processes to get trace buffer fullness.
IPC_MESSAGE_CONTROL0(TracingMsg_GetTraceBufferPercentFull)
@@ -38,10 +48,13 @@ IPC_MESSAGE_CONTROL0(TracingMsg_CancelWatchEvent)
// Notify the browser that this child process supports tracing.
IPC_MESSAGE_CONTROL0(TracingHostMsg_ChildSupportsTracing)
-// Reply from child processes acking ChildProcessMsg_TraceChangeStatus(false).
+// Reply from child processes acking TracingMsg_EndTracing.
IPC_MESSAGE_CONTROL1(TracingHostMsg_EndTracingAck,
std::vector<std::string> /* known_categories */)
+// Reply from child processes acking TracingMsg_ShowContinuousSamplingTracing.
+IPC_MESSAGE_CONTROL0(TracingHostMsg_ShowContinuousSamplingTracingAck)
+
// Sent if the trace buffer becomes full.
IPC_MESSAGE_CONTROL1(TracingHostMsg_TraceNotification,
int /* base::debug::TraceLog::Notification */)
@@ -50,6 +63,11 @@ IPC_MESSAGE_CONTROL1(TracingHostMsg_TraceNotification,
IPC_MESSAGE_CONTROL1(TracingHostMsg_TraceDataCollected,
std::string /*json trace data*/)
+// Child processes send trace data of continuous sampling tracing back
+// in JSON chunks.
+IPC_MESSAGE_CONTROL1(TracingHostMsg_ContinuousSamplingTraceDataCollected,
+ std::string /*json trace data*/)
+
// Reply to TracingMsg_GetTraceBufferPercentFull.
IPC_MESSAGE_CONTROL1(TracingHostMsg_TraceBufferPercentFullReply,
float /*trace buffer percent full*/)
« no previous file with comments | « components/tracing/child_trace_message_filter.cc ('k') | content/browser/tracing/trace_controller_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698