Lines Matching refs:the_trace

234   Trace* the_trace = reinterpret_cast<Trace*>(arg);  in GetSample()  local
235 the_trace->CompareAndUpdateStackTrace(thread, stack_trace); in GetSample()
297 Trace* the_trace; in RunSamplingThread() local
300 the_trace = the_trace_; in RunSamplingThread()
301 if (the_trace == nullptr) { in RunSamplingThread()
314 runtime->GetThreadList()->ForEach(GetSample, the_trace); in RunSamplingThread()
402 Trace* the_trace = nullptr; in StopTracing() local
410 the_trace = the_trace_; in StopTracing()
423 if (the_trace != nullptr) { in StopTracing()
424 stop_alloc_counting = (the_trace->flags_ & Trace::kTraceCountAllocs) != 0; in StopTracing()
426 the_trace->FinishTracing(); in StopTracing()
433 if (the_trace->trace_mode_ == TraceMode::kSampling) { in StopTracing()
439 the_trace, instrumentation::Instrumentation::kMethodEntered | in StopTracing()
443 if (the_trace->trace_file_.get() != nullptr) { in StopTracing()
446 if (the_trace->trace_file_->Flush() != 0) { in StopTracing()
450 the_trace->trace_file_->MarkUnchecked(); // Do not trigger guard. in StopTracing()
452 if (the_trace->trace_file_->Close() != 0) { in StopTracing()
456 delete the_trace; in StopTracing()
483 Trace* the_trace = nullptr; in Pause() local
493 the_trace = the_trace_; in Pause()
507 the_trace_ = the_trace; in Pause()
511 if (the_trace != nullptr) { in Pause()
516 stop_alloc_counting = (the_trace->flags_ & Trace::kTraceCountAllocs) != 0; in Pause()
518 if (the_trace->trace_mode_ == TraceMode::kSampling) { in Pause()
524 the_trace, in Pause()
539 Trace* the_trace; in Resume() local
546 the_trace = the_trace_; in Resume()
552 bool enable_stats = (the_trace->flags_ && kTraceCountAllocs) != 0; in Resume()
561 if (the_trace->trace_mode_ == TraceMode::kSampling) { in Resume()
563 reinterpret_cast<void*>(the_trace->interval_us_)), "Sampling profiler thread"); in Resume()
565 runtime->GetInstrumentation()->AddListener(the_trace, in Resume()