/art/runtime/ |
D | instrumentation_test.cc | 33 namespace instrumentation { namespace 35 class TestInstrumentationListener FINAL : public instrumentation::InstrumentationListener { 155 instrumentation::Instrumentation* instr = Runtime::Current()->GetInstrumentation(); in CheckConfigureStubs() 175 instrumentation::Instrumentation* instr = Runtime::Current()->GetInstrumentation(); in TestEvent() 210 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); in DeoptimizeMethod() local 217 instrumentation->EnableDeoptimization(); in DeoptimizeMethod() 219 instrumentation->Deoptimize(method); in DeoptimizeMethod() 226 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); in UndeoptimizeMethod() local 232 instrumentation->Undeoptimize(method); in UndeoptimizeMethod() 234 instrumentation->DisableDeoptimization(key); in UndeoptimizeMethod() [all …]
|
D | common_dex_operations.h | 76 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in DoFieldGetCommon() local 77 if (UNLIKELY(instrumentation->HasFieldReadListeners())) { in DoFieldGetCommon() 85 instrumentation->FieldReadEvent(self, in DoFieldGetCommon() 131 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in DoFieldPutCommon() local 132 if (UNLIKELY(instrumentation->HasFieldWriteListeners())) { in DoFieldPutCommon() 137 instrumentation->FieldWriteEvent(self, this_object.Ptr(), in DoFieldPutCommon()
|
D | trace.cc | 257 LogMethodTraceEvent(thread, *rit, instrumentation::Instrumentation::kMethodEntered, in CompareAndUpdateStackTrace() 272 LogMethodTraceEvent(thread, *old_it, instrumentation::Instrumentation::kMethodExited, in CompareAndUpdateStackTrace() 277 LogMethodTraceEvent(thread, *rit, instrumentation::Instrumentation::kMethodEntered, in CompareAndUpdateStackTrace() 376 … instrumentation::Instrumentation::kMethodEntered | in Start() 377 instrumentation::Instrumentation::kMethodExited | in Start() 378 instrumentation::Instrumentation::kMethodUnwind); in Start() 432 the_trace, instrumentation::Instrumentation::kMethodEntered | in StopTracing() 433 instrumentation::Instrumentation::kMethodExited | in StopTracing() 434 instrumentation::Instrumentation::kMethodUnwind); in StopTracing() 519 instrumentation::Instrumentation::kMethodEntered | in Pause() [all …]
|
D | instrumentation.cc | 44 namespace instrumentation { namespace 55 explicit InstallStubsClassVisitor(Instrumentation* instrumentation) in InstallStubsClassVisitor() argument 56 : instrumentation_(instrumentation) {} in InstallStubsClassVisitor() 286 Instrumentation* instrumentation = reinterpret_cast<Instrumentation*>(arg); in InstrumentationInstallStack() local 293 if (instrumentation->ShouldNotifyMethodEnterExitEvents()) { in InstrumentationInstallStack() 300 instrumentation->MethodEnterEvent(thread, (*ssi).this_object_, (*ssi).method_, 0); in InstrumentationInstallStack() 306 instrumentation->MethodEnterEvent(thread, (*isi).this_object_, (*isi).method_, dex_pc); in InstrumentationInstallStack() 325 Instrumentation* instrumentation) in InstrumentationRestoreStack() 329 instrumentation_(instrumentation), in InstrumentationRestoreStack() 386 std::deque<instrumentation::InstrumentationStackFrame>* const instrumentation_stack_; in InstrumentationRestoreStack() [all …]
|
D | debugger.cc | 147 class DebugInstrumentationListener FINAL : public instrumentation::InstrumentationListener { 269 return IsListeningTo(instrumentation::Instrumentation::kDexPcMoved); in IsListeningToDexPcMoved() 273 return IsListeningTo(instrumentation::Instrumentation::kMethodExited); in IsListeningToMethodExit() 276 static bool IsListeningTo(instrumentation::Instrumentation::InstrumentationEvent event) in IsListeningTo() 3129 case instrumentation::Instrumentation::kMethodEntered: in GetReferenceCounterForEvent() 3131 case instrumentation::Instrumentation::kMethodExited: in GetReferenceCounterForEvent() 3133 case instrumentation::Instrumentation::kDexPcMoved: in GetReferenceCounterForEvent() 3135 case instrumentation::Instrumentation::kFieldRead: in GetReferenceCounterForEvent() 3137 case instrumentation::Instrumentation::kFieldWritten: in GetReferenceCounterForEvent() 3139 case instrumentation::Instrumentation::kExceptionCaught: in GetReferenceCounterForEvent() [all …]
|
D | trace.h | 96 class Trace FINAL : public instrumentation::InstrumentationListener { 211 instrumentation::Instrumentation::InstrumentationEvent event,
|
D | quick_exception_handler.cc | 631 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in UpdateInstrumentationStack() local 633 return_pc = instrumentation->PopMethodForUnwind(self_, is_deoptimization_); in UpdateInstrumentationStack()
|
D | runtime.h | 463 const instrumentation::Instrumentation* GetInstrumentation() const { in GetInstrumentation() 467 instrumentation::Instrumentation* GetInstrumentation() { in GetInstrumentation() 845 instrumentation::Instrumentation instrumentation_;
|
D | Android.bp | 101 "instrumentation.cc", 446 "instrumentation.h",
|
D | runtime.cc | 2342 explicit UpdateEntryPointsClassVisitor(instrumentation::Instrumentation* instrumentation) in UpdateEntryPointsClassVisitor() argument 2343 : instrumentation_(instrumentation) {} in UpdateEntryPointsClassVisitor() 2359 instrumentation::Instrumentation* const instrumentation_;
|
D | stack.cc | 870 const instrumentation::InstrumentationStackFrame& instrumentation_frame = in WalkStack() 893 size_t frame_id = instrumentation::Instrumentation::ComputeFrameId( in WalkStack()
|
D | thread.cc | 1971 tlsPtr_.instrumentation_stack = new std::deque<instrumentation::InstrumentationStackFrame>; in Thread() 2995 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in QuickDeliverException() local 2996 if (instrumentation->HasExceptionCaughtListeners() && in QuickDeliverException() 3001 instrumentation->ExceptionCaughtEvent(this, exception.Ptr()); in QuickDeliverException() 3421 for (instrumentation::InstrumentationStackFrame& frame : *GetInstrumentationStack()) { in VisitRoots()
|
D | instrumentation.h | 42 namespace instrumentation {
|
/art/runtime/entrypoints/quick/ |
D | quick_instrumentation_entrypoints.cc | 36 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in artInstrumentationMethodEntryFromCode() local 38 if (instrumentation->IsDeoptimized(method)) { in artInstrumentationMethodEntryFromCode() 41 result = instrumentation->GetQuickCodeFor(method, kRuntimePointerSize); in artInstrumentationMethodEntryFromCode() 45 instrumentation->PushInstrumentationStackFrame(self, method->IsStatic() ? nullptr : this_object, in artInstrumentationMethodEntryFromCode() 68 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in artInstrumentationMethodExitFromCode() local 69 TwoWordReturn return_or_deoptimize_pc = instrumentation->PopInstrumentationStackFrame( in artInstrumentationMethodExitFromCode()
|
/art/runtime/interpreter/ |
D | interpreter_common.h | 193 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in DoInvoke() local 194 if (UNLIKELY(instrumentation->HasInvokeVirtualOrInterfaceListeners())) { in DoInvoke() 195 instrumentation->InvokeVirtualOrInterface( in DoInvoke() 260 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in DoInvokeVirtualQuick() local 262 if (UNLIKELY(instrumentation->HasInvokeVirtualOrInterfaceListeners())) { in DoInvokeVirtualQuick() 263 instrumentation->InvokeVirtualOrInterface( in DoInvokeVirtualQuick() 471 uint32_t dex_pc, const instrumentation::Instrumentation* instrumentation)
|
D | interpreter_common.cc | 145 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in EXPLICIT_DO_FIELD_GET_ALL_TEMPLATE_DECL() local 146 if (UNLIKELY(instrumentation->HasFieldReadListeners())) { in EXPLICIT_DO_FIELD_GET_ALL_TEMPLATE_DECL() 154 instrumentation->FieldReadEvent(Thread::Current(), in EXPLICIT_DO_FIELD_GET_ALL_TEMPLATE_DECL() 317 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in EXPLICIT_DO_FIELD_PUT_ALL_TEMPLATE_DECL() local 318 if (UNLIKELY(instrumentation->HasFieldWriteListeners())) { in EXPLICIT_DO_FIELD_PUT_ALL_TEMPLATE_DECL() 327 instrumentation->FieldWriteEvent(Thread::Current(), in EXPLICIT_DO_FIELD_PUT_ALL_TEMPLATE_DECL() 387 const instrumentation::Instrumentation* instrumentation) { in EXPLICIT_DO_IPUT_QUICK_ALL_TEMPLATE_DECL() 391 if (instrumentation != nullptr && instrumentation->HasExceptionCaughtListeners() in EXPLICIT_DO_IPUT_QUICK_ALL_TEMPLATE_DECL() 393 instrumentation->ExceptionCaughtEvent(self, exception.Get()); in EXPLICIT_DO_IPUT_QUICK_ALL_TEMPLATE_DECL() 398 if (found_dex_pc == DexFile::kDexNoIndex && instrumentation != nullptr) { in EXPLICIT_DO_IPUT_QUICK_ALL_TEMPLATE_DECL() [all …]
|
D | interpreter.cc | 250 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in Execute() local 253 if (UNLIKELY(instrumentation->HasMethodEntryListeners())) { in Execute() 254 instrumentation->MethodEnterEvent(self, shadow_frame.GetThisObject(code_item->ins_size_), in Execute() 511 const instrumentation::Instrumentation* const instrumentation = in EnterInterpreterFromDeoptimize() local 514 instrumentation); in EnterInterpreterFromDeoptimize()
|
D | interpreter_switch_impl.cc | 35 instrumentation); \ 67 if (UNLIKELY(instrumentation->HasDexPcListeners())) { \ 68 instrumentation->DexPcMovedEvent(self, shadow_frame.GetThisObject(code_item->ins_size_), \ 75 if (UNLIKELY(instrumentation->HasBranchListeners())) { \ 76 instrumentation->Branch(self, method, dex_pc, offset); \ 117 const auto* const instrumentation = Runtime::Current()->GetInstrumentation(); in ExecuteSwitchImpl() local 199 if (UNLIKELY(instrumentation->HasDexPcListeners())) { in ExecuteSwitchImpl() 209 instrumentation->DexPcMovedEvent(self, shadow_frame.GetThisObject(code_item->ins_size_), in ExecuteSwitchImpl() 230 if (UNLIKELY(instrumentation->HasMethodExitListeners())) { in ExecuteSwitchImpl() 231 instrumentation->MethodExitEvent(self, shadow_frame.GetThisObject(code_item->ins_size_), in ExecuteSwitchImpl() [all …]
|
/art/test/572-checker-array-get-regression/ |
D | info.txt | 2 instrumentation of array loads with a large constant index, where we
|
/art/test/573-checker-checkcast-regression/ |
D | info.txt | 2 instrumentation of CheckCasts, where we used to use an
|
/art/runtime/jit/ |
D | jit.cc | 260 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in CompileMethod() local 261 if (instrumentation->AreAllMethodsDeoptimized() || instrumentation->IsDeoptimized(method)) { in CompileMethod()
|
/art/runtime/interpreter/mterp/ |
D | mterp.cc | 148 const instrumentation::Instrumentation* const instrumentation = in MterpShouldSwitchInterpreters() local 150 return instrumentation->NonJitProfilingActive() || Dbg::IsDebuggerActive(); in MterpShouldSwitchInterpreters() 492 const instrumentation::Instrumentation* const instrumentation = in MterpHandleException() local 496 instrumentation); in MterpHandleException()
|
/art/runtime/jdwp/ |
D | jdwp_event.cc | 164 return instrumentation::Instrumentation::kDexPcMoved; in GetInstrumentationEventFor() 167 return instrumentation::Instrumentation::kExceptionCaught; in GetInstrumentationEventFor() 169 return instrumentation::Instrumentation::kMethodEntered; in GetInstrumentationEventFor() 172 return instrumentation::Instrumentation::kMethodExited; in GetInstrumentationEventFor() 174 return instrumentation::Instrumentation::kFieldRead; in GetInstrumentationEventFor() 176 return instrumentation::Instrumentation::kFieldWritten; in GetInstrumentationEventFor()
|
/art/test/common/ |
D | runtime_state.cc | 44 instrumentation::Instrumentation::InstrumentationLevel::kInstrumentWithInterpreter; in GetJitIfEnabled()
|
/art/runtime/gc/ |
D | heap.cc | 627 instrumentation::Instrumentation* const instrumentation = runtime->GetInstrumentation(); in Heap() local 632 instrumentation->InstrumentQuickAllocEntryPoints(); in Heap() 1651 instrumentation::Instrumentation* const instrumentation = in EntrypointsInstrumented() local 1653 return instrumentation != nullptr && instrumentation->AllocEntrypointsInstrumented(); in EntrypointsInstrumented()
|