/art/runtime/ |
D | instrumentation_test.cc | 31 namespace instrumentation { namespace 33 class TestInstrumentationListener FINAL : public instrumentation::InstrumentationListener { 140 instrumentation::Instrumentation* instr = Runtime::Current()->GetInstrumentation(); in CheckConfigureStubs() 162 instrumentation::Instrumentation* instr = Runtime::Current()->GetInstrumentation(); in TestEvent() 203 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); in DeoptimizeMethod() local 207 instrumentation->EnableDeoptimization(); in DeoptimizeMethod() 209 instrumentation->Deoptimize(method); in DeoptimizeMethod() 218 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); in UndeoptimizeMethod() local 221 instrumentation->Undeoptimize(method); in UndeoptimizeMethod() 223 instrumentation->DisableDeoptimization(key); in UndeoptimizeMethod() [all …]
|
D | trace.cc | 250 LogMethodTraceEvent(thread, *rit, instrumentation::Instrumentation::kMethodEntered, in CompareAndUpdateStackTrace() 265 LogMethodTraceEvent(thread, *old_it, instrumentation::Instrumentation::kMethodExited, in CompareAndUpdateStackTrace() 270 LogMethodTraceEvent(thread, *rit, instrumentation::Instrumentation::kMethodEntered, in CompareAndUpdateStackTrace() 369 … instrumentation::Instrumentation::kMethodEntered | in Start() 370 instrumentation::Instrumentation::kMethodExited | in Start() 371 instrumentation::Instrumentation::kMethodUnwind); in Start() 422 the_trace, instrumentation::Instrumentation::kMethodEntered | in StopTracing() 423 instrumentation::Instrumentation::kMethodExited | in StopTracing() 424 instrumentation::Instrumentation::kMethodUnwind); in StopTracing() 504 … instrumentation::Instrumentation::kMethodEntered | in Pause() [all …]
|
D | instrumentation.cc | 43 namespace instrumentation { namespace 54 Instrumentation* instrumentation = reinterpret_cast<Instrumentation*>(arg); in InstallStubsClassVisitor() local 55 instrumentation->InstallStubsForClass(klass); in InstallStubsClassVisitor() 278 Instrumentation* instrumentation = reinterpret_cast<Instrumentation*>(arg); in InstrumentationInstallStack() local 285 if (instrumentation->ShouldNotifyMethodEnterExitEvents()) { in InstrumentationInstallStack() 292 instrumentation->MethodEnterEvent(thread, (*ssi).this_object_, (*ssi).method_, 0); in InstrumentationInstallStack() 298 instrumentation->MethodEnterEvent(thread, (*isi).this_object_, (*isi).method_, dex_pc); in InstrumentationInstallStack() 310 Instrumentation* instrumentation) in InstrumentationRestoreStack() 314 instrumentation_(instrumentation), in InstrumentationRestoreStack() 371 std::deque<instrumentation::InstrumentationStackFrame>* const instrumentation_stack_; in InstrumentationRestoreStack() [all …]
|
D | quick_exception_handler.cc | 151 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in FindCatch() local 152 if (instrumentation->HasExceptionCaughtListeners() in FindCatch() 154 instrumentation->ExceptionCaughtEvent(self_, exception_ref.Get()); in FindCatch() 396 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in UpdateInstrumentationStack() local 398 instrumentation->PopMethodForUnwind(self_, is_deoptimization_); in UpdateInstrumentationStack()
|
D | debugger.cc | 234 class DebugInstrumentationListener FINAL : public instrumentation::InstrumentationListener { 345 return IsListeningTo(instrumentation::Instrumentation::kDexPcMoved); in IsListeningToDexPcMoved() 349 return IsListeningTo(instrumentation::Instrumentation::kMethodExited); in IsListeningToMethodExit() 352 static bool IsListeningTo(instrumentation::Instrumentation::InstrumentationEvent event) in IsListeningTo() 3122 case instrumentation::Instrumentation::kMethodEntered: in GetReferenceCounterForEvent() 3124 case instrumentation::Instrumentation::kMethodExited: in GetReferenceCounterForEvent() 3126 case instrumentation::Instrumentation::kDexPcMoved: in GetReferenceCounterForEvent() 3128 case instrumentation::Instrumentation::kFieldRead: in GetReferenceCounterForEvent() 3130 case instrumentation::Instrumentation::kFieldWritten: in GetReferenceCounterForEvent() 3132 case instrumentation::Instrumentation::kExceptionCaught: in GetReferenceCounterForEvent() [all …]
|
D | trace.h | 94 class Trace FINAL : public instrumentation::InstrumentationListener { 200 instrumentation::Instrumentation::InstrumentationEvent event,
|
D | runtime.h | 440 const instrumentation::Instrumentation* GetInstrumentation() const { in GetInstrumentation() 444 instrumentation::Instrumentation* GetInstrumentation() { in GetInstrumentation() 687 instrumentation::Instrumentation instrumentation_;
|
D | Android.mk | 81 instrumentation.cc \ 321 instrumentation.h \
|
D | thread.h | 819 std::deque<instrumentation::InstrumentationStackFrame>* GetInstrumentationStack() { in GetInstrumentationStack() 1212 std::deque<instrumentation::InstrumentationStackFrame>* instrumentation_stack;
|
D | stack.cc | 663 static instrumentation::InstrumentationStackFrame& GetInstrumentationStackFrame(Thread* thread, in GetInstrumentationStackFrame() 754 const instrumentation::InstrumentationStackFrame& instrumentation_frame = in WalkStack()
|
D | instrumentation.h | 41 namespace instrumentation {
|
D | thread.cc | 1277 tlsPtr_.instrumentation_stack = new std::deque<instrumentation::InstrumentationStackFrame>; in Thread() 2474 for (instrumentation::InstrumentationStackFrame& frame : *GetInstrumentationStack()) { in VisitRoots()
|
/art/runtime/entrypoints/quick/ |
D | quick_instrumentation_entrypoints.cc | 33 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in artInstrumentationMethodEntryFromCode() local 35 if (instrumentation->IsDeoptimized(method)) { in artInstrumentationMethodEntryFromCode() 38 result = instrumentation->GetQuickCodeFor(method, sizeof(void*)); in artInstrumentationMethodEntryFromCode() 42 instrumentation->PushInstrumentationStackFrame(self, method->IsStatic() ? nullptr : this_object, in artInstrumentationMethodEntryFromCode() 62 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in artInstrumentationMethodExitFromCode() local 63 TwoWordReturn return_or_deoptimize_pc = instrumentation->PopInstrumentationStackFrame( in artInstrumentationMethodExitFromCode()
|
/art/runtime/interpreter/ |
D | interpreter_common.cc | 56 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in DoFieldGet() local 57 if (UNLIKELY(instrumentation->HasFieldReadListeners())) { in DoFieldGet() 59 instrumentation->FieldReadEvent(self, this_object, shadow_frame.GetMethod(), in DoFieldGet() 138 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in EXPLICIT_DO_FIELD_GET_ALL_TEMPLATE_DECL() local 139 if (UNLIKELY(instrumentation->HasFieldReadListeners())) { in EXPLICIT_DO_FIELD_GET_ALL_TEMPLATE_DECL() 144 instrumentation->FieldReadEvent(Thread::Current(), obj, shadow_frame.GetMethod(), in EXPLICIT_DO_FIELD_GET_ALL_TEMPLATE_DECL() 252 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in DoFieldPut() local 253 if (UNLIKELY(instrumentation->HasFieldWriteListeners())) { in DoFieldPut() 256 instrumentation->FieldWriteEvent(self, this_object, shadow_frame.GetMethod(), in DoFieldPut() 356 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in EXPLICIT_DO_FIELD_PUT_ALL_TEMPLATE_DECL() local [all …]
|
D | interpreter_goto_table_impl.cc | 63 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); \ 64 instrumentation->BackwardBranch(self, shadow_frame.GetMethod(), offset); \ 130 static const void* const handlersTable[instrumentation::kNumHandlerTables][kNumPackedOpcodes] = { in ExecuteGotoImpl() 164 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in ExecuteGotoImpl() local 165 if (UNLIKELY(instrumentation->HasMethodEntryListeners())) { in ExecuteGotoImpl() 166 instrumentation->MethodEnterEvent(self, shadow_frame.GetThisObject(code_item->ins_size_), in ExecuteGotoImpl() 260 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in ExecuteGotoImpl() local 261 if (UNLIKELY(instrumentation->HasMethodExitListeners())) { in ExecuteGotoImpl() 262 instrumentation->MethodExitEvent(self, shadow_frame.GetThisObject(code_item->ins_size_), in ExecuteGotoImpl() 274 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in ExecuteGotoImpl() local [all …]
|
D | interpreter_switch_impl.cc | 29 instrumentation); \ 50 if (UNLIKELY(instrumentation->HasDexPcListeners())) { \ 51 instrumentation->DexPcMovedEvent(self, shadow_frame.GetThisObject(code_item->ins_size_), \ 67 const auto* const instrumentation = Runtime::Current()->GetInstrumentation(); in ExecuteSwitchImpl() local 72 if (UNLIKELY(instrumentation->HasMethodEntryListeners())) { in ExecuteSwitchImpl() 73 instrumentation->MethodEnterEvent(self, shadow_frame.GetThisObject(code_item->ins_size_), in ExecuteSwitchImpl() 172 if (UNLIKELY(instrumentation->HasMethodExitListeners())) { in ExecuteSwitchImpl() 173 instrumentation->MethodExitEvent(self, shadow_frame.GetThisObject(code_item->ins_size_), in ExecuteSwitchImpl() 184 if (UNLIKELY(instrumentation->HasMethodExitListeners())) { in ExecuteSwitchImpl() 185 instrumentation->MethodExitEvent(self, shadow_frame.GetThisObject(code_item->ins_size_), in ExecuteSwitchImpl() [all …]
|
D | interpreter.cc | 408 const instrumentation::Instrumentation* const instrumentation = in EnterInterpreterFromDeoptimize() local 411 instrumentation); in EnterInterpreterFromDeoptimize()
|
D | interpreter_common.h | 352 uint32_t dex_pc, const instrumentation::Instrumentation* instrumentation)
|
/art/runtime/jit/ |
D | jit.cc | 175 instrumentation::Instrumentation::kMethodEntered | in CreateInstrumentationCache() 176 instrumentation::Instrumentation::kBackwardBranch); in CreateInstrumentationCache()
|
D | jit_instrumentation.h | 65 class JitInstrumentationListener : public instrumentation::InstrumentationListener {
|
/art/runtime/jdwp/ |
D | jdwp_event.cc | 161 return instrumentation::Instrumentation::kDexPcMoved; in GetInstrumentationEventFor() 164 return instrumentation::Instrumentation::kExceptionCaught; in GetInstrumentationEventFor() 166 return instrumentation::Instrumentation::kMethodEntered; in GetInstrumentationEventFor() 169 return instrumentation::Instrumentation::kMethodExited; in GetInstrumentationEventFor() 171 return instrumentation::Instrumentation::kFieldRead; in GetInstrumentationEventFor() 173 return instrumentation::Instrumentation::kFieldWritten; in GetInstrumentationEventFor()
|
/art/runtime/arch/arm/ |
D | quick_entrypoints_arm.S | 1069 mov r2, r0 @ link register saved by instrumentation
|
/art/runtime/gc/ |
D | heap.cc | 517 instrumentation::Instrumentation* const instrumentation = runtime->GetInstrumentation(); in Heap() local 522 instrumentation->InstrumentQuickAllocEntryPoints(); in Heap()
|