Lines Matching refs:the_trace

225   Trace* the_trace = reinterpret_cast<Trace*>(arg);  in GetSample()  local
226 the_trace->CompareAndUpdateStackTrace(thread, stack_trace); in GetSample()
288 Trace* the_trace; in RunSamplingThread() local
291 the_trace = the_trace_; in RunSamplingThread()
292 if (the_trace == nullptr) { in RunSamplingThread()
300 runtime->GetThreadList()->ForEach(GetSample, the_trace); in RunSamplingThread()
389 Trace* the_trace = nullptr; in StopTracing() local
396 the_trace = the_trace_; in StopTracing()
410 if (the_trace != nullptr) { in StopTracing()
411 stop_alloc_counting = (the_trace->flags_ & Trace::kTraceCountAllocs) != 0; in StopTracing()
413 the_trace->FinishTracing(); in StopTracing()
416 if (the_trace->trace_mode_ == TraceMode::kSampling) { in StopTracing()
422 the_trace, instrumentation::Instrumentation::kMethodEntered | in StopTracing()
426 if (the_trace->trace_file_.get() != nullptr) { in StopTracing()
429 if (the_trace->trace_file_->Flush() != 0) { in StopTracing()
433 the_trace->trace_file_->MarkUnchecked(); // Do not trigger guard. in StopTracing()
435 if (the_trace->trace_file_->Close() != 0) { in StopTracing()
439 delete the_trace; in StopTracing()
467 Trace* the_trace = nullptr; in Pause() local
476 the_trace = the_trace_; in Pause()
490 the_trace_ = the_trace; in Pause()
494 if (the_trace != nullptr) { in Pause()
496 stop_alloc_counting = (the_trace->flags_ & Trace::kTraceCountAllocs) != 0; in Pause()
498 if (the_trace->trace_mode_ == TraceMode::kSampling) { in Pause()
503 runtime->GetInstrumentation()->RemoveListener(the_trace, in Pause()
519 Trace* the_trace; in Resume() local
526 the_trace = the_trace_; in Resume()
532 bool enable_stats = (the_trace->flags_ && kTraceCountAllocs) != 0; in Resume()
537 if (the_trace->trace_mode_ == TraceMode::kSampling) { in Resume()
539 reinterpret_cast<void*>(the_trace->interval_us_)), "Sampling profiler thread"); in Resume()
541 runtime->GetInstrumentation()->AddListener(the_trace, in Resume()