Searched refs:trace_log (Results 1 – 6 of 6) sorted by relevance
45 TraceLog* trace_log = NULL; variable129 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()
1731 TraceLog* trace_log = TraceLog::GetInstance(); in TEST_F() local1733 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 …]
68 void EndChromeTracing(base::debug::TraceLog* trace_log, in EndChromeTracing() argument70 trace_log->SetDisabled(); in EndChromeTracing()72 trace_log->Flush(base::Bind(&NoOpOutputCallback, complete_event)); in EndChromeTracing()
1049 ThreadLocalEventBuffer(TraceLog* trace_log);1089 TraceLog::ThreadLocalEventBuffer::ThreadLocalEventBuffer(TraceLog* trace_log) in ThreadLocalEventBuffer() argument1090 : 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()
24 base::debug::TraceLog* trace_log = base::debug::TraceLog::GetInstance(); in GetRefNumUpper24() local25 int32 pid = trace_log ? trace_log->process_id() : 0; in GetRefNumUpper24()
162 TraceLog* trace_log = TraceLog::GetInstance(); in setTraceEventCallback() local166 trace_log->SetEventCallbackEnabled(base::debug::CategoryFilter( in setTraceEventCallback()169 trace_log->SetEventCallbackDisabled(); in setTraceEventCallback()174 TraceLog* trace_log = TraceLog::GetInstance(); in enableTracing() local175 trace_log->SetEnabled(base::debug::CategoryFilter(category_filter.utf8()), in enableTracing()