Home
last modified time | relevance | path

Searched refs:instrumentation (Results 1 – 25 of 36) sorted by relevance

12

/art/runtime/
Dinstrumentation_test.cc38 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 …]
Dcommon_dex_operations.h102 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()
Dtrace.cc246 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()
425instrumentation::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 …]
Dinstrumentation.cc56 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 …]
Dtrace.h107 class Trace final : public instrumentation::InstrumentationListener {
188 instrumentation::OptionalFrame frame,
266 instrumentation::Instrumentation::InstrumentationEvent event,
Dquick_exception_handler.cc150 instrumentation::InstrumentationStackPopper popper(self_); in FindCatch()
638 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in UpdateInstrumentationStack() local
639 return_pc = instrumentation->PopFramesForDeoptimization( in UpdateInstrumentationStack()
Dalloc_instrumentation.md2 checks for both allocation instrumentation and allocator changes by a single function table
Druntime.h532 const instrumentation::Instrumentation* GetInstrumentation() const { in GetInstrumentation()
536 instrumentation::Instrumentation* GetInstrumentation() { in GetInstrumentation()
1226 instrumentation::Instrumentation instrumentation_;
Dthread.h62 namespace instrumentation {
1086 std::map<uintptr_t, instrumentation::InstrumentationStackFrame>* GetInstrumentationStack() in GetInstrumentationStack()
1780 std::map<uintptr_t, instrumentation::InstrumentationStackFrame>* instrumentation_stack; in PACKED()
/art/test/1959-redefine-object-instrument/
Dinfo.txt1 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/
Dinfo.txt1 Regression test for instrumentation deopt, which previously did not expect a
2 quickened instruction when returning from instrumentation stub.
/art/tools/tracefast-plugin/
Dtracefast.cc42 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/
Ddeopt_manager.cc262 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()
Devents.cc595 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/
Dinterpreter_common.cc93 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 …]
Dinterpreter.cc293 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()
Dinterpreter_switch_impl-inl.h183 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 …]
Dinterpreter_common.h144 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/
Dinfo.txt2 instrumentation of array loads with a large constant index, where we
/art/test/573-checker-checkcast-regression/
Dinfo.txt2 instrumentation of CheckCasts, where we used to use an
/art/dex2oat/
DAndroid.bp231 instrumentation: true,
278 // Additional cflags just for dex2oat during PGO instrumentation
280 // Ignore frame-size increase resulting from instrumentation.
/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints.cc856 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/
Dmterp.cc481 const instrumentation::Instrumentation* const instrumentation = in MterpHandleException() local
483 return MoveToExceptionHandler(self, *shadow_frame, instrumentation) ? 1u : 0u; in MterpHandleException()
/art/runtime/jni/
Djni_internal.cc194 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/
Djit.cc321 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in CompileMethod() local
322 if (instrumentation->AreAllMethodsDeoptimized() || instrumentation->IsDeoptimized(method)) { in CompileMethod()

12