/art/runtime/ |
D | instrumentation_test.cc | 38 namespace instrumentation { namespace 40 class TestInstrumentationListener final : public instrumentation::InstrumentationListener { 70 instrumentation::OptionalFrame frame ATTRIBUTE_UNUSED, in MethodExited() 80 instrumentation::OptionalFrame frame ATTRIBUTE_UNUSED, in MethodExited() 196 instrumentation::Instrumentation* instr = Runtime::Current()->GetInstrumentation(); in CheckConfigureStubs() 223 instrumentation::Instrumentation* instr = Runtime::Current()->GetInstrumentation(); in TestEvent() 272 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); in DeoptimizeMethod() local 279 instrumentation->EnableDeoptimization(); in DeoptimizeMethod() 281 instrumentation->Deoptimize(method); in DeoptimizeMethod() 288 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); in UndeoptimizeMethod() local [all …]
|
D | common_dex_operations.h | 102 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in DoFieldGetCommon() local 103 if (UNLIKELY(instrumentation->HasFieldReadListeners())) { in DoFieldGetCommon() 113 instrumentation->FieldReadEvent(self, in DoFieldGetCommon() 163 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in DoFieldPutCommon() local 164 if (UNLIKELY(instrumentation->HasFieldWriteListeners())) { in DoFieldPutCommon() 174 instrumentation->FieldWriteEvent(self, in DoFieldPutCommon()
|
D | trace.cc | 246 LogMethodTraceEvent(thread, *rit, instrumentation::Instrumentation::kMethodEntered, in CompareAndUpdateStackTrace() 261 LogMethodTraceEvent(thread, *old_it, instrumentation::Instrumentation::kMethodExited, in CompareAndUpdateStackTrace() 266 LogMethodTraceEvent(thread, *rit, instrumentation::Instrumentation::kMethodEntered, in CompareAndUpdateStackTrace() 425 … instrumentation::Instrumentation::kMethodEntered | in Start() 426 instrumentation::Instrumentation::kMethodExited | in Start() 427 instrumentation::Instrumentation::kMethodUnwind); in Start() 483 the_trace, instrumentation::Instrumentation::kMethodEntered | in StopTracing() 484 instrumentation::Instrumentation::kMethodExited | in StopTracing() 485 instrumentation::Instrumentation::kMethodUnwind); in StopTracing() 742 LogMethodTraceEvent(thread, method, instrumentation::Instrumentation::kMethodEntered, in MethodEntered() [all …]
|
D | instrumentation.cc | 56 namespace instrumentation { namespace 95 explicit InstallStubsClassVisitor(Instrumentation* instrumentation) in InstallStubsClassVisitor() argument 96 : instrumentation_(instrumentation) {} in InstallStubsClassVisitor() 113 std::map<uintptr_t, instrumentation::InstrumentationStackFrame>* stack = in ~InstrumentationStackPopper() 122 std::map<uintptr_t, instrumentation::InstrumentationStackFrame>* stack = in PopFramesTo() 423 Instrumentation* instrumentation = reinterpret_cast<Instrumentation*>(arg); in InstrumentationInstallStack() local 427 thread, context.get(), instrumentation_exit_pc, instrumentation->current_force_deopt_id_); in InstrumentationInstallStack() 431 if (instrumentation->ShouldNotifyMethodEnterExitEvents()) { in InstrumentationInstallStack() 440 instrumentation->MethodEnterEvent(thread, (*ssi).this_object_, (*ssi).method_, 0); in InstrumentationInstallStack() 446 instrumentation->MethodEnterEvent( in InstrumentationInstallStack() [all …]
|
D | trace.h | 107 class Trace final : public instrumentation::InstrumentationListener { 188 instrumentation::OptionalFrame frame, 266 instrumentation::Instrumentation::InstrumentationEvent event,
|
D | quick_exception_handler.cc | 150 instrumentation::InstrumentationStackPopper popper(self_); in FindCatch() 638 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in UpdateInstrumentationStack() local 639 return_pc = instrumentation->PopFramesForDeoptimization( in UpdateInstrumentationStack()
|
D | alloc_instrumentation.md | 2 checks for both allocation instrumentation and allocator changes by a single function table
|
D | runtime.h | 526 const instrumentation::Instrumentation* GetInstrumentation() const { in GetInstrumentation() 530 instrumentation::Instrumentation* GetInstrumentation() { in GetInstrumentation() 1218 instrumentation::Instrumentation instrumentation_;
|
D | thread.h | 62 namespace instrumentation { 1086 std::map<uintptr_t, instrumentation::InstrumentationStackFrame>* GetInstrumentationStack() in GetInstrumentationStack() 1777 std::map<uintptr_t, instrumentation::InstrumentationStackFrame>* instrumentation_stack; in PACKED()
|
/art/test/1959-redefine-object-instrument/ |
D | info.txt | 1 Regression test for bug related to interaction between instrumentation 4 Redefining a class does not update the instrumentation stack of a thread. 5 This is generally fine because the method pointer in the instrumentation
|
/art/test/687-deopt/ |
D | info.txt | 1 Regression test for instrumentation deopt, which previously did not expect a 2 quickened instruction when returning from instrumentation stub.
|
/art/tools/tracefast-plugin/ |
D | tracefast.cc | 42 class Tracer final : public art::instrumentation::InstrumentationListener { 56 art::instrumentation::OptionalFrame frame ATTRIBUTE_UNUSED, in MethodExited() 64 art::instrumentation::OptionalFrame frame ATTRIBUTE_UNUSED, in MethodExited() 137 art::instrumentation::Instrumentation::kMethodEntered | in StartTracing() 138 art::instrumentation::Instrumentation::kMethodExited | in StartTracing() 139 art::instrumentation::Instrumentation::kMethodUnwind); in StartTracing()
|
/art/openjdkjvmti/ |
D | deopt_manager.cc | 262 auto instrumentation = art::Runtime::Current()->GetInstrumentation(); in AddMethodBreakpoint() local 263 if (instrumentation->IsForcedInterpretOnly()) { in AddMethodBreakpoint() 298 auto instrumentation = art::Runtime::Current()->GetInstrumentation(); in RemoveMethodBreakpoint() local 299 if (UNLIKELY(instrumentation->IsForcedInterpretOnly())) { in RemoveMethodBreakpoint() 476 art::instrumentation::Instrumentation* instrumentation = in AddDeoptimizationRequester() local 479 instrumentation->EnableDeoptimization(); in AddDeoptimizationRequester() 481 instrumentation->EnableSingleThreadDeopt(); in AddDeoptimizationRequester()
|
D | events.cc | 595 class JvmtiMethodTraceListener final : public art::instrumentation::InstrumentationListener { 648 art::instrumentation::OptionalFrame frame, in MethodExited() 703 art::instrumentation::OptionalFrame frame, in MethodExited() 1076 return art::instrumentation::Instrumentation::kMethodEntered; in GetInstrumentationEventsFor() 1088 return art::instrumentation::Instrumentation::kMethodExited | in GetInstrumentationEventsFor() 1089 art::instrumentation::Instrumentation::kMethodUnwind; in GetInstrumentationEventsFor() 1097 return art::instrumentation::Instrumentation::kFieldWritten; in GetInstrumentationEventsFor() 1099 return art::instrumentation::Instrumentation::kFieldRead; in GetInstrumentationEventsFor() 1109 return art::instrumentation::Instrumentation::kDexPcMoved; in GetInstrumentationEventsFor() 1117 return art::instrumentation::Instrumentation::kWatchedFramePop; in GetInstrumentationEventsFor() [all …]
|
/art/runtime/interpreter/ |
D | interpreter_common.cc | 93 const instrumentation::Instrumentation* instrumentation, in SendMethodExitEvents() argument 106 if (UNLIKELY(instrumentation->HasMethodExitListeners() && !frame.GetSkipMethodExitEvents())) { in SendMethodExitEvents() 108 instrumentation->MethodExitEvent( in SendMethodExitEvents() 109 self, h_thiz.Get(), method, dex_pc, instrumentation::OptionalFrame{ frame }, result); in SendMethodExitEvents() 112 if (UNLIKELY(frame.NeedsNotifyPop() && instrumentation->HasWatchedFramePopListeners())) { in SendMethodExitEvents() 114 instrumentation->WatchedFramePopped(self, frame); in SendMethodExitEvents() 126 const instrumentation::Instrumentation* instrumentation, 135 const instrumentation::Instrumentation* instrumentation, 151 const instrumentation::Instrumentation* instrumentation) { in MoveToExceptionHandler() argument 155 if (instrumentation != nullptr && in MoveToExceptionHandler() [all …]
|
D | interpreter.cc | 293 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in Execute() local 296 if (UNLIKELY(instrumentation->HasMethodEntryListeners())) { in Execute() 297 instrumentation->MethodEnterEvent(self, in Execute() 310 instrumentation, in Execute() 316 instrumentation->MethodUnwindEvent(self, in Execute() 327 instrumentation, in Execute() 547 const instrumentation::Instrumentation* const instrumentation = in EnterInterpreterFromDeoptimize() local 550 self, *shadow_frame, instrumentation) ? shadow_frame->GetDexPC() : dex::kDexNoIndex; in EnterInterpreterFromDeoptimize()
|
D | interpreter_switch_impl-inl.h | 183 const instrumentation::Instrumentation* instrumentation, in DoDexPcMoveEvent() argument 186 DCHECK(instrumentation->HasDexPcListeners()); in DoDexPcMoveEvent() 193 instrumentation->DexPcMovedEvent(self, in DoDexPcMoveEvent() 1733 const instrumentation::Instrumentation* instrumentation, in InstructionHandler() argument 1742 instrumentation_(instrumentation), in InstructionHandler() 1771 ALWAYS_INLINE const instrumentation::Instrumentation* Instrumentation() { in Instrumentation() 1808 const instrumentation::Instrumentation* const instrumentation_; 1830 const instrumentation::Instrumentation* instrumentation, \ 1839 ctx, instrumentation, self, shadow_frame, dex_pc, inst, inst_data, next, exit); \ 1853 const auto* const instrumentation = Runtime::Current()->GetInstrumentation(); in DEX_INSTRUCTION_LIST() local [all …]
|
D | interpreter_common.h | 144 const instrumentation::Instrumentation* instrumentation, 152 NeedsMethodExitEvent(const instrumentation::Instrumentation* ins) in NeedsMethodExitEvent() 202 const instrumentation::Instrumentation* instrumentation, in PerformNonStandardReturn() argument 219 if (UNLIKELY(NeedsMethodExitEvent(instrumentation))) { in PerformNonStandardReturn() 221 self, instrumentation, frame, h_thiz.Get(), frame.GetMethod(), dex_pc, result); in PerformNonStandardReturn() 804 const instrumentation::Instrumentation* instrumentation)
|
/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/dex2oat/ |
D | Android.bp | 231 instrumentation: true, 278 // Additional cflags just for dex2oat during PGO instrumentation 280 // Ignore frame-size increase resulting from instrumentation.
|
/art/runtime/entrypoints/quick/ |
D | quick_trampoline_entrypoints.cc | 856 instrumentation::Instrumentation* instr = Runtime::Current()->GetInstrumentation(); in artQuickProxyInvokeHandler() 1036 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in artInstrumentationMethodEntryFromCode() local 1041 if (instrumentation->IsDeoptimized(method)) { in artInstrumentationMethodEntryFromCode() 1046 result = instrumentation->GetCodeForInvoke(method); in artInstrumentationMethodEntryFromCode() 1070 instrumentation->PushInstrumentationStackFrame(self, in artInstrumentationMethodEntryFromCode() 1108 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in artInstrumentationMethodExitFromCode() local 1109 TwoWordReturn return_or_deoptimize_pc = instrumentation->PopInstrumentationStackFrame( in artInstrumentationMethodExitFromCode()
|
/art/runtime/interpreter/mterp/ |
D | mterp.cc | 481 const instrumentation::Instrumentation* const instrumentation = in MterpHandleException() local 483 return MoveToExceptionHandler(self, *shadow_frame, instrumentation) ? 1u : 0u; in MterpHandleException()
|
/art/runtime/jni/ |
D | jni_internal.cc | 194 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in NotifySetObjectField() local 195 if (UNLIKELY(instrumentation->HasFieldWriteListeners())) { in NotifySetObjectField() 209 instrumentation->FieldWriteEvent(self, in NotifySetObjectField() 221 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in NotifySetPrimitiveField() local 222 if (UNLIKELY(instrumentation->HasFieldWriteListeners())) { in NotifySetPrimitiveField() 234 instrumentation->FieldWriteEvent(self, in NotifySetPrimitiveField() 245 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in NotifyGetField() local 246 if (UNLIKELY(instrumentation->HasFieldReadListeners())) { in NotifyGetField() 258 instrumentation->FieldReadEvent(self, in NotifyGetField()
|
/art/runtime/jit/ |
D | jit.cc | 321 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in CompileMethod() local 322 if (instrumentation->AreAllMethodsDeoptimized() || instrumentation->IsDeoptimized(method)) { in CompileMethod()
|