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

Unified Diff: ipc/ipc_channel_reader.cc

Issue 148613014: CC: Add 'cc-benchmark' traces for minimal tracing in benchmarks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Minimum overhead toplevel tracing. Created 6 years, 10 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: ipc/ipc_channel_reader.cc
diff --git a/ipc/ipc_channel_reader.cc b/ipc/ipc_channel_reader.cc
index 8b638a9cf9b9fed5344512dcf2ffc881a3b76a8e..3ba31ecd7f80c42b628199b6fa41f5b4af650c93 100644
--- a/ipc/ipc_channel_reader.cc
+++ b/ipc/ipc_channel_reader.cc
@@ -83,10 +83,10 @@ bool ChannelReader::DispatchInputData(const char* input_data,
Logging* logger = Logging::GetInstance();
std::string name;
logger->GetMessageText(m.type(), &name, &m, NULL);
- TRACE_EVENT1("toplevel", "ChannelReader::DispatchInputData",
+ TRACE_EVENT1("ipc", "ChannelReader::DispatchInputData",
"name", name);
#else
- TRACE_EVENT2("toplevel", "ChannelReader::DispatchInputData",
+ TRACE_EVENT2("ipc", "ChannelReader::DispatchInputData",
"class", IPC_MESSAGE_ID_CLASS(m.type()),
"line", IPC_MESSAGE_ID_LINE(m.type()));
#endif

Powered by Google App Engine
This is Rietveld 408576698