Lines Matching refs:the_trace
240 Trace* the_trace = reinterpret_cast<Trace*>(arg); in GetSample() local
241 the_trace->CompareAndUpdateStackTrace(thread, stack_trace); in GetSample()
305 Trace* the_trace; in RunSamplingThread() local
308 the_trace = the_trace_; in RunSamplingThread()
309 if (the_trace == NULL) { in RunSamplingThread()
317 runtime->GetThreadList()->ForEach(GetSample, the_trace); in RunSamplingThread()
404 Trace* the_trace = NULL; in Stop() local
411 the_trace = the_trace_; in Stop()
416 if (the_trace != NULL) { in Stop()
417 stop_alloc_counting = (the_trace->flags_ & kTraceCountAllocs) != 0; in Stop()
418 the_trace->FinishTracing(); in Stop()
420 if (the_trace->sampling_enabled_) { in Stop()
425 runtime->GetInstrumentation()->RemoveListener(the_trace, in Stop()
430 if (the_trace->trace_file_.get() != nullptr) { in Stop()
432 if (the_trace->trace_file_->Flush() != 0) { in Stop()
435 if (the_trace->trace_file_->Close() != 0) { in Stop()
439 delete the_trace; in Stop()