Lines Matching refs:the_trace
221 Trace* the_trace = reinterpret_cast<Trace*>(arg); in GetSample() local
222 the_trace->CompareAndUpdateStackTrace(thread, stack_trace); in GetSample()
284 Trace* the_trace; in RunSamplingThread() local
287 the_trace = the_trace_; in RunSamplingThread()
288 if (the_trace == nullptr) { in RunSamplingThread()
301 runtime->GetThreadList()->ForEach(GetSample, the_trace); in RunSamplingThread()
448 Trace* the_trace = nullptr; in StopTracing() local
456 the_trace = the_trace_; in StopTracing()
469 if (the_trace != nullptr) { in StopTracing()
470 stop_alloc_counting = (the_trace->flags_ & Trace::kTraceCountAllocs) != 0; in StopTracing()
478 if (the_trace->trace_mode_ == TraceMode::kSampling) { in StopTracing()
483 the_trace, instrumentation::Instrumentation::kMethodEntered | in StopTracing()
493 the_trace->FinishTracing(); in StopTracing()
495 if (the_trace->trace_file_.get() != nullptr) { in StopTracing()
498 if (the_trace->trace_file_->Flush() != 0) { in StopTracing()
502 the_trace->trace_file_->MarkUnchecked(); // Do not trigger guard. in StopTracing()
504 if (the_trace->trace_file_->Close() != 0) { in StopTracing()
508 delete the_trace; in StopTracing()