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

Unified Diff: components/tracing/tracing_messages.h

Issue 1173263004: [tracing] Send unique tracing process id for cross-process memory dumps identification. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing DCHECK while setting id. Created 5 years, 6 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
Index: components/tracing/tracing_messages.h
diff --git a/components/tracing/tracing_messages.h b/components/tracing/tracing_messages.h
index ebdefc1171a1a3db0062d06551d9c14334bdc1fe..dd14b90ac7df38c96a2a99dbb5b745bfe801574e 100644
--- a/components/tracing/tracing_messages.h
+++ b/components/tracing/tracing_messages.h
@@ -32,9 +32,10 @@ IPC_ENUM_TRAITS_MAX_VALUE(
static_cast<int>(base::trace_event::MemoryDumpType::LAST))
// Sent to all child processes to enable trace event recording.
-IPC_MESSAGE_CONTROL2(TracingMsg_BeginTracing,
+IPC_MESSAGE_CONTROL3(TracingMsg_BeginTracing,
std::string /* trace_config_str */,
- base::TraceTicks /* browser_time */)
+ base::TraceTicks /* browser_time */,
+ int /* Tracing process id (hash of child id) */)
// Sent to all child processes to disable trace event recording.
IPC_MESSAGE_CONTROL0(TracingMsg_EndTracing)

Powered by Google App Engine
This is Rietveld 408576698