Commit 57da3a29 authored by miletus's avatar miletus Committed by Commit bot

Let LatencyInfo async events be under category "latency_info"

BUG=486482

Review URL: https://codereview.chromium.org/1129063010

Cr-Commit-Position: refs/heads/master@{#330148}
parent aad01297
...@@ -296,7 +296,7 @@ void LatencyInfo::AddLatencyNumberWithTimestampImpl( ...@@ -296,7 +296,7 @@ void LatencyInfo::AddLatencyNumberWithTimestampImpl(
} }
TRACE_EVENT_COPY_ASYNC_BEGIN_WITH_TIMESTAMP0( TRACE_EVENT_COPY_ASYNC_BEGIN_WITH_TIMESTAMP0(
"benchmark", "benchmark,latencyInfo",
trace_name.c_str(), trace_name.c_str(),
TRACE_ID_DONT_MANGLE(trace_id), TRACE_ID_DONT_MANGLE(trace_id),
ts); ts);
...@@ -332,7 +332,7 @@ void LatencyInfo::AddLatencyNumberWithTimestampImpl( ...@@ -332,7 +332,7 @@ void LatencyInfo::AddLatencyNumberWithTimestampImpl(
terminated = true; terminated = true;
if (*benchmark_enabled) { if (*benchmark_enabled) {
TRACE_EVENT_COPY_ASYNC_END1("benchmark", TRACE_EVENT_COPY_ASYNC_END1("benchmark,latencyInfo",
trace_name.c_str(), trace_name.c_str(),
TRACE_ID_DONT_MANGLE(trace_id), TRACE_ID_DONT_MANGLE(trace_id),
"data", AsTraceableData(*this)); "data", AsTraceableData(*this));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment