• Home
  • Raw
  • Download

Lines Matching refs:Trace

71 TraceClockSource Trace::default_clock_source_ = kDefaultTraceClockSource;
73 Trace* volatile Trace::the_trace_ = nullptr;
74 pthread_t Trace::sampling_pthread_ = 0U;
75 std::unique_ptr<std::vector<ArtMethod*>> Trace::temp_stack_trace_;
84 ArtMethod* Trace::DecodeTraceMethod(uint32_t tmid) { in DecodeTraceMethod()
89 uint32_t Trace::EncodeTraceMethod(ArtMethod* method) { in EncodeTraceMethod()
105 uint32_t Trace::EncodeTraceMethodAndAction(ArtMethod* method, TraceAction action) { in EncodeTraceMethodAndAction()
111 std::vector<ArtMethod*>* Trace::AllocStackTrace() { in AllocStackTrace()
116 void Trace::FreeStackTrace(std::vector<ArtMethod*>* stack_trace) { in FreeStackTrace()
121 void Trace::SetDefaultClockSource(TraceClockSource clock_source) { in SetDefaultClockSource()
141 bool Trace::UseThreadCpuClock() { in UseThreadCpuClock()
146 bool Trace::UseWallClock() { in UseWallClock()
151 void Trace::MeasureClockOverhead() { in MeasureClockOverhead()
161 uint32_t Trace::GetClockOverheadNanoSeconds() { in GetClockOverheadNanoSeconds()
207 std::vector<ArtMethod*>* const stack_trace = Trace::AllocStackTrace(); in GetSample()
220 Trace* the_trace = reinterpret_cast<Trace*>(arg); in GetSample()
231 void Trace::CompareAndUpdateStackTrace(Thread* thread, in CompareAndUpdateStackTrace()
272 void* Trace::RunSamplingThread(void* arg) { in RunSamplingThread()
283 Trace* the_trace; in RunSamplingThread()
308 void Trace::Start(const char* trace_filename, in Start()
325 void Trace::Start(int trace_fd, in Start()
343 void Trace::StartDDMS(size_t buffer_size, in StartDDMS()
355 void Trace::Start(std::unique_ptr<File>&& trace_file_in, in Start()
416 the_trace_ = new Trace(trace_file.release(), buffer_size, flags, output_mode, trace_mode); in Start()
444 void Trace::StopTracing(bool finish_tracing, bool flush_file) { in StopTracing()
447 Trace* the_trace = nullptr; in StopTracing()
469 stop_alloc_counting = (the_trace->flags_ & Trace::kTraceCountAllocs) != 0; in StopTracing()
515 void Trace::Abort() { in Abort()
520 void Trace::Stop() { in Stop()
525 void Trace::Shutdown() { in Shutdown()
531 TracingMode Trace::GetMethodTracingMode() { in GetMethodTracingMode()
549 Trace::Trace(File* trace_file, in Trace() function in art::Trace
588 Trace::~Trace() { in ~Trace()
601 void Trace::DumpBuf(uint8_t* buf, size_t buf_size, TraceClockSource clock_source) { in DumpBuf()
614 void Trace::FinishTracing() { in FinishTracing()
702 void Trace::DexPcMoved(Thread* thread ATTRIBUTE_UNUSED, in DexPcMoved()
711 void Trace::FieldRead(Thread* thread ATTRIBUTE_UNUSED, in FieldRead()
722 void Trace::FieldWritten(Thread* thread ATTRIBUTE_UNUSED, in FieldWritten()
734 void Trace::MethodEntered(Thread* thread, in MethodEntered()
745 void Trace::MethodExited(Thread* thread, in MethodExited()
757 void Trace::MethodUnwind(Thread* thread, in MethodUnwind()
768 void Trace::ExceptionThrown(Thread* thread ATTRIBUTE_UNUSED, in ExceptionThrown()
774 void Trace::ExceptionHandled(Thread* thread ATTRIBUTE_UNUSED, in ExceptionHandled()
780 void Trace::Branch(Thread* /*thread*/, ArtMethod* method, in Branch()
786 void Trace::WatchedFramePop(Thread* self ATTRIBUTE_UNUSED, in WatchedFramePop()
791 void Trace::ReadClocks(Thread* thread, uint32_t* thread_clock_diff, uint32_t* wall_clock_diff) { in ReadClocks()
807 bool Trace::RegisterMethod(ArtMethod* method) { in RegisterMethod()
820 bool Trace::RegisterThread(Thread* thread) { in RegisterThread()
832 std::string Trace::GetMethodLine(ArtMethod* method) { in GetMethodLine()
839 void Trace::WriteToBuf(const uint8_t* src, size_t src_size) { in WriteToBuf()
866 void Trace::FlushBuf() { in FlushBuf()
875 void Trace::LogMethodTraceEvent(Thread* thread, ArtMethod* method, in LogMethodTraceEvent()
984 void Trace::GetVisitedMethods(size_t buf_size, in GetVisitedMethods()
997 void Trace::DumpMethodList(std::ostream& os, const std::set<ArtMethod*>& visited_methods) { in DumpMethodList()
1010 void Trace::DumpThreadList(std::ostream& os) { in DumpThreadList()
1020 void Trace::StoreExitingThreadInfo(Thread* thread) { in StoreExitingThreadInfo()
1031 Trace::TraceOutputMode Trace::GetOutputMode() { in GetOutputMode()
1037 Trace::TraceMode Trace::GetMode() { in GetMode()
1043 size_t Trace::GetBufferSize() { in GetBufferSize()
1049 bool Trace::IsTracingEnabled() { in IsTracingEnabled()