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

Side by Side Diff: components/tracing/tracing_messages.h

Issue 1211883003: Revert of [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: 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Multiply-included message header, no traditional include guard. 5 // Multiply-included message header, no traditional include guard.
6 #include <string> 6 #include <string>
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/sync_socket.h" 10 #include "base/sync_socket.h"
(...skipping 14 matching lines...) Expand all
25 IPC_STRUCT_TRAITS_BEGIN(base::trace_event::MemoryDumpRequestArgs) 25 IPC_STRUCT_TRAITS_BEGIN(base::trace_event::MemoryDumpRequestArgs)
26 IPC_STRUCT_TRAITS_MEMBER(dump_guid) 26 IPC_STRUCT_TRAITS_MEMBER(dump_guid)
27 IPC_STRUCT_TRAITS_MEMBER(dump_type) 27 IPC_STRUCT_TRAITS_MEMBER(dump_type)
28 IPC_STRUCT_TRAITS_END() 28 IPC_STRUCT_TRAITS_END()
29 29
30 IPC_ENUM_TRAITS_MAX_VALUE( 30 IPC_ENUM_TRAITS_MAX_VALUE(
31 base::trace_event::MemoryDumpType, 31 base::trace_event::MemoryDumpType,
32 static_cast<int>(base::trace_event::MemoryDumpType::LAST)) 32 static_cast<int>(base::trace_event::MemoryDumpType::LAST))
33 33
34 // Sent to all child processes to enable trace event recording. 34 // Sent to all child processes to enable trace event recording.
35 IPC_MESSAGE_CONTROL3(TracingMsg_BeginTracing, 35 IPC_MESSAGE_CONTROL2(TracingMsg_BeginTracing,
36 std::string /* trace_config_str */, 36 std::string /* trace_config_str */,
37 base::TraceTicks /* browser_time */, 37 base::TraceTicks /* browser_time */)
38 int /* Tracing process id (hash of child id) */)
39 38
40 // Sent to all child processes to disable trace event recording. 39 // Sent to all child processes to disable trace event recording.
41 IPC_MESSAGE_CONTROL0(TracingMsg_EndTracing) 40 IPC_MESSAGE_CONTROL0(TracingMsg_EndTracing)
42 41
43 // Sent to all child processes to cancel trace event recording. 42 // Sent to all child processes to cancel trace event recording.
44 IPC_MESSAGE_CONTROL0(TracingMsg_CancelTracing) 43 IPC_MESSAGE_CONTROL0(TracingMsg_CancelTracing)
45 44
46 // Sent to all child processes to start monitoring. 45 // Sent to all child processes to start monitoring.
47 IPC_MESSAGE_CONTROL2(TracingMsg_EnableMonitoring, 46 IPC_MESSAGE_CONTROL2(TracingMsg_EnableMonitoring,
48 std::string /* trace_config_str */, 47 std::string /* trace_config_str */,
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 base::trace_event::TraceLogStatus /*status of the trace log*/) 102 base::trace_event::TraceLogStatus /*status of the trace log*/)
104 103
105 // Sent to the browser to initiate a global memory dump from a child process. 104 // Sent to the browser to initiate a global memory dump from a child process.
106 IPC_MESSAGE_CONTROL1(TracingHostMsg_GlobalMemoryDumpRequest, 105 IPC_MESSAGE_CONTROL1(TracingHostMsg_GlobalMemoryDumpRequest,
107 base::trace_event::MemoryDumpRequestArgs) 106 base::trace_event::MemoryDumpRequestArgs)
108 107
109 // Reply to TracingMsg_ProcessMemoryDumpRequest. 108 // Reply to TracingMsg_ProcessMemoryDumpRequest.
110 IPC_MESSAGE_CONTROL2(TracingHostMsg_ProcessMemoryDumpResponse, 109 IPC_MESSAGE_CONTROL2(TracingHostMsg_ProcessMemoryDumpResponse,
111 uint64 /* dump_guid */, 110 uint64 /* dump_guid */,
112 bool /* success */) 111 bool /* success */)
OLDNEW
« no previous file with comments | « components/tracing/child_trace_message_filter.cc ('k') | content/browser/browser_child_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698