Home
last modified time | relevance | path

Searched refs:trace_log (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/tools/gn/
Dtrace.cc45 TraceLog* trace_log = NULL; variable
129 if (trace_log) { in ScopedTrace()
138 if (trace_log) { in ScopedTrace()
162 if (trace_log) { in Done()
170 if (!trace_log) in EnableTracing()
171 trace_log = new TraceLog; in EnableTracing()
175 trace_log->Add(item); in AddTrace()
179 if (!trace_log) in SummarizeTraces()
182 std::vector<TraceItem*> events = trace_log->events(); in SummarizeTraces()
252 std::vector<TraceItem*> events = trace_log->events(); in SaveTraces()
/external/chromium_org/base/debug/
Dtrace_event_unittest.cc1731 TraceLog* trace_log = TraceLog::GetInstance(); in TEST_F() local
1733 trace_log->SetEnabled(cf_inc_all, in TEST_F()
1736 EXPECT_TRUE(trace_log->IsEnabled()); in TEST_F()
1737 trace_log->SetDisabled(); in TEST_F()
1738 EXPECT_FALSE(trace_log->IsEnabled()); in TEST_F()
1740 trace_log->SetEnabled(cf_inc_all, in TEST_F()
1743 EXPECT_TRUE(trace_log->IsEnabled()); in TEST_F()
1745 trace_log->SetEnabled(CategoryFilter(), in TEST_F()
1748 EXPECT_TRUE(trace_log->IsEnabled()); in TEST_F()
1749 trace_log->SetDisabled(); in TEST_F()
[all …]
Dtrace_event_android.cc68 void EndChromeTracing(base::debug::TraceLog* trace_log, in EndChromeTracing() argument
70 trace_log->SetDisabled(); in EndChromeTracing()
72 trace_log->Flush(base::Bind(&NoOpOutputCallback, complete_event)); in EndChromeTracing()
Dtrace_event_impl.cc1049 ThreadLocalEventBuffer(TraceLog* trace_log);
1089 TraceLog::ThreadLocalEventBuffer::ThreadLocalEventBuffer(TraceLog* trace_log) in ThreadLocalEventBuffer() argument
1090 : trace_log_(trace_log), in ThreadLocalEventBuffer()
1093 generation_(trace_log->generation()) { in ThreadLocalEventBuffer()
1099 AutoLock lock(trace_log->lock_); in ThreadLocalEventBuffer()
1100 trace_log->thread_message_loops_.insert(message_loop); in ThreadLocalEventBuffer()
/external/chromium_org/ipc/
Dipc_message.cc24 base::debug::TraceLog* trace_log = base::debug::TraceLog::GetInstance(); in GetRefNumUpper24() local
25 int32 pid = trace_log ? trace_log->process_id() : 0; in GetRefNumUpper24()
/external/chromium_org/content/renderer/devtools/
Ddevtools_agent.cc162 TraceLog* trace_log = TraceLog::GetInstance(); in setTraceEventCallback() local
166 trace_log->SetEventCallbackEnabled(base::debug::CategoryFilter( in setTraceEventCallback()
169 trace_log->SetEventCallbackDisabled(); in setTraceEventCallback()
174 TraceLog* trace_log = TraceLog::GetInstance(); in enableTracing() local
175 trace_log->SetEnabled(base::debug::CategoryFilter(category_filter.utf8()), in enableTracing()