Lines Matching refs:Trace

105 TraceClockSource Trace::default_clock_source_ = kDefaultTraceClockSource;
107 Trace* volatile Trace::the_trace_ = nullptr;
108 pthread_t Trace::sampling_pthread_ = 0U;
109 std::unique_ptr<std::vector<ArtMethod*>> Trace::temp_stack_trace_;
245 bool need_wall = flags & Trace::TraceFlag::kTraceClockSourceWallClock; in GetClockSourceFromFlags()
246 bool need_thread_cpu = flags & Trace::TraceFlag::kTraceClockSourceThreadCpu; in GetClockSourceFromFlags()
259 int version = (flags & Trace::kTraceFormatVersionFlagMask) >> Trace::kTraceFormatVersionShift; in GetTraceFormatVersionFromFlags()
336 if (trace_writer->GetTraceFormatVersion() == Trace::kFormatV1) { in ProcessBuffer()
356 std::vector<ArtMethod*>* Trace::AllocStackTrace() { in AllocStackTrace()
361 void Trace::FreeStackTrace(std::vector<ArtMethod*>* stack_trace) { in FreeStackTrace()
366 void Trace::SetDefaultClockSource(TraceClockSource clock_source) { in SetDefaultClockSource()
377 if (version == Trace::kFormatV1) { in GetTraceVersion()
387 if (version == Trace::kFormatV1) { in GetRecordSize()
421 void Trace::MeasureClockOverhead() { in MeasureClockOverhead()
431 uint32_t Trace::GetClockOverheadNanoSeconds() { in GetClockOverheadNanoSeconds()
477 std::vector<ArtMethod*>* const stack_trace = Trace::AllocStackTrace(); in GetSample()
490 Trace* the_trace = reinterpret_cast<Trace*>(arg); in GetSample()
501 void Trace::CompareAndUpdateStackTrace(Thread* thread, in CompareAndUpdateStackTrace()
539 void* Trace::RunSamplingThread(void* arg) { in RunSamplingThread()
550 Trace* the_trace; in RunSamplingThread()
579 explicit RecordMethodInfoClassVisitor(Trace* trace) in RecordMethodInfoClassVisitor()
598 Trace* const trace_;
604 void Trace::ClassPrepare([[maybe_unused]] Handle<mirror::Class> temp_klass, in ClassPrepare()
642 DCHECK_EQ(trace_format_version_, Trace::kFormatV2); in RecordMethodInfoV2()
717 void Trace::Start(const char* trace_filename, in Start()
734 void Trace::Start(int trace_fd, in Start()
752 void Trace::StartDDMS(size_t buffer_size, in StartDDMS()
764 void Trace::Start(std::unique_ptr<File>&& trace_file_in, in Start()
825 the_trace_ = new Trace(trace_file.release(), buffer_size, flags, output_mode, trace_mode); in Start()
826 if (trace_format_version == Trace::kFormatV2) { in Start()
851 if (trace_format_version == Trace::kFormatV2) { in Start()
874 void Trace::StopTracing(bool flush_entries) { in StopTracing()
902 Trace* the_trace = the_trace_; in StopTracing()
903 bool stop_alloc_counting = (the_trace->flags_ & Trace::kTraceCountAllocs) != 0; in StopTracing()
961 void Trace::RemoveListeners() { in RemoveListeners()
976 void Trace::FlushThreadBuffer(Thread* self) { in FlushThreadBuffer()
987 void Trace::ReleaseThreadBuffer(Thread* self) { in ReleaseThreadBuffer()
998 void Trace::Abort() { in Abort()
1003 void Trace::Stop() { in Stop()
1008 void Trace::Shutdown() { in Shutdown()
1014 TracingMode Trace::GetMethodTracingMode() { in GetMethodTracingMode()
1066 if (trace_format_version_ == Trace::kFormatV1) { in TraceWriter()
1111 Trace::Trace(File* trace_file, in Trace() function in art::Trace
1184 if ((flags & Trace::kTraceCountAllocs) != 0) { in FinishTracing()
1190 if (trace_format_version_ == Trace::kFormatV1) { in FinishTracing()
1205 if (trace_format_version_ == Trace::kFormatV1) { in FinishTracing()
1265 void Trace::DexPcMoved([[maybe_unused]] Thread* thread, in DexPcMoved()
1274 void Trace::FieldRead([[maybe_unused]] Thread* thread, in FieldRead()
1284 void Trace::FieldWritten([[maybe_unused]] Thread* thread, in FieldWritten()
1296 void Trace::MethodEntered(Thread* thread, ArtMethod* method) { in MethodEntered()
1303 void Trace::MethodExited(Thread* thread, in MethodExited()
1313 void Trace::MethodUnwind(Thread* thread, ArtMethod* method, [[maybe_unused]] uint32_t dex_pc) { in MethodUnwind()
1320 void Trace::ExceptionThrown([[maybe_unused]] Thread* thread, in ExceptionThrown()
1326 void Trace::ExceptionHandled([[maybe_unused]] Thread* thread, in ExceptionHandled()
1332 void Trace::Branch(Thread* /*thread*/, ArtMethod* method, in Branch()
1338 void Trace::WatchedFramePop([[maybe_unused]] Thread* self, in WatchedFramePop()
1343 void Trace::ReadClocks(Thread* thread, uint32_t* thread_clock_diff, uint64_t* timestamp_counter) { in ReadClocks()
1392 if (trace_format_version_ == Trace::kFormatV1) { in RecordThreadInfo()
1474 Trace::RemoveListeners(); in FlushAllThreadBuffers()
1629 if (trace_format_version_ == Trace::kFormatV1) { in FlushBuffer()
1828 if (trace_format_version_ == Trace::kFormatV1) { in FlushBuffer()
1848 void Trace::LogMethodTraceEvent(Thread* thread, in LogMethodTraceEvent()
1984 TraceOutputMode Trace::GetOutputMode() { in GetOutputMode()
1990 Trace::TraceMode Trace::GetMode() { in GetMode()
1996 int Trace::GetFlags() { in GetFlags()
2002 int Trace::GetIntervalInMillis() { in GetIntervalInMillis()
2008 size_t Trace::GetBufferSize() { in GetBufferSize()
2014 bool Trace::IsTracingEnabled() { in IsTracingEnabled()