Home
last modified time | relevance | path

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

12

/art/runtime/
Dinstrumentation_test.cc36 namespace instrumentation { namespace
38 class TestInstrumentationListener FINAL : public instrumentation::InstrumentationListener {
187 instrumentation::Instrumentation* instr = Runtime::Current()->GetInstrumentation(); in CheckConfigureStubs()
214 instrumentation::Instrumentation* instr = Runtime::Current()->GetInstrumentation(); in TestEvent()
260 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); in DeoptimizeMethod() local
267 instrumentation->EnableDeoptimization(); in DeoptimizeMethod()
269 instrumentation->Deoptimize(method); in DeoptimizeMethod()
276 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); in UndeoptimizeMethod() local
282 instrumentation->Undeoptimize(method); in UndeoptimizeMethod()
284 instrumentation->DisableDeoptimization(key); in UndeoptimizeMethod()
[all …]
Dcommon_dex_operations.h74 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in DoFieldGetCommon() local
75 if (UNLIKELY(instrumentation->HasFieldReadListeners())) { in DoFieldGetCommon()
83 instrumentation->FieldReadEvent(self, in DoFieldGetCommon()
133 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in DoFieldPutCommon() local
134 if (UNLIKELY(instrumentation->HasFieldWriteListeners())) { in DoFieldPutCommon()
142 instrumentation->FieldWriteEvent(self, in DoFieldPutCommon()
Dtrace.cc258 LogMethodTraceEvent(thread, *rit, instrumentation::Instrumentation::kMethodEntered, in CompareAndUpdateStackTrace()
273 LogMethodTraceEvent(thread, *old_it, instrumentation::Instrumentation::kMethodExited, in CompareAndUpdateStackTrace()
278 LogMethodTraceEvent(thread, *rit, instrumentation::Instrumentation::kMethodEntered, in CompareAndUpdateStackTrace()
377instrumentation::Instrumentation::kMethodEntered | in Start()
378 instrumentation::Instrumentation::kMethodExited | in Start()
379 instrumentation::Instrumentation::kMethodUnwind); in Start()
433 the_trace, instrumentation::Instrumentation::kMethodEntered | in StopTracing()
434 instrumentation::Instrumentation::kMethodExited | in StopTracing()
435 instrumentation::Instrumentation::kMethodUnwind); in StopTracing()
520 instrumentation::Instrumentation::kMethodEntered | in Pause()
[all …]
Dinstrumentation.cc47 namespace instrumentation { namespace
82 explicit InstallStubsClassVisitor(Instrumentation* instrumentation) in InstallStubsClassVisitor() argument
83 : instrumentation_(instrumentation) {} in InstallStubsClassVisitor()
313 Instrumentation* instrumentation = reinterpret_cast<Instrumentation*>(arg); in InstrumentationInstallStack() local
320 if (instrumentation->ShouldNotifyMethodEnterExitEvents()) { in InstrumentationInstallStack()
327 instrumentation->MethodEnterEvent(thread, (*ssi).this_object_, (*ssi).method_, 0); in InstrumentationInstallStack()
333 instrumentation->MethodEnterEvent(thread, (*isi).this_object_, (*isi).method_, dex_pc); in InstrumentationInstallStack()
352 Instrumentation* instrumentation) in InstrumentationRestoreStack()
356 instrumentation_(instrumentation), in InstrumentationRestoreStack()
413 std::deque<instrumentation::InstrumentationStackFrame>* const instrumentation_stack_; in InstrumentationRestoreStack()
[all …]
Ddebugger.cc136 class DebugInstrumentationListener FINAL : public instrumentation::InstrumentationListener {
274 return IsListeningTo(instrumentation::Instrumentation::kDexPcMoved); in IsListeningToDexPcMoved()
278 return IsListeningTo(instrumentation::Instrumentation::kMethodExited); in IsListeningToMethodExit()
281 static bool IsListeningTo(instrumentation::Instrumentation::InstrumentationEvent event) in IsListeningTo()
3138 case instrumentation::Instrumentation::kMethodEntered: in GetReferenceCounterForEvent()
3140 case instrumentation::Instrumentation::kMethodExited: in GetReferenceCounterForEvent()
3142 case instrumentation::Instrumentation::kDexPcMoved: in GetReferenceCounterForEvent()
3144 case instrumentation::Instrumentation::kFieldRead: in GetReferenceCounterForEvent()
3146 case instrumentation::Instrumentation::kFieldWritten: in GetReferenceCounterForEvent()
3148 case instrumentation::Instrumentation::kExceptionCaught: in GetReferenceCounterForEvent()
[all …]
Dtrace.h96 class Trace FINAL : public instrumentation::InstrumentationListener {
229 instrumentation::Instrumentation::InstrumentationEvent event,
Dquick_exception_handler.cc631 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in UpdateInstrumentationStack() local
633 return_pc = instrumentation->PopMethodForUnwind(self_, is_deoptimization_); in UpdateInstrumentationStack()
Druntime.h444 const instrumentation::Instrumentation* GetInstrumentation() const { in GetInstrumentation()
448 instrumentation::Instrumentation* GetInstrumentation() { in GetInstrumentation()
834 instrumentation::Instrumentation instrumentation_;
Djni_internal.cc88 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in NotifySetObjectField() local
89 if (UNLIKELY(instrumentation->HasFieldWriteListeners())) { in NotifySetObjectField()
103 instrumentation->FieldWriteEvent(self, in NotifySetObjectField()
115 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in NotifySetPrimitiveField() local
116 if (UNLIKELY(instrumentation->HasFieldWriteListeners())) { in NotifySetPrimitiveField()
128 instrumentation->FieldWriteEvent(self, in NotifySetPrimitiveField()
139 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in NotifyGetField() local
140 if (UNLIKELY(instrumentation->HasFieldReadListeners())) { in NotifyGetField()
152 instrumentation->FieldReadEvent(self, in NotifyGetField()
DAndroid.bp105 "instrumentation.cc",
457 "instrumentation.h",
Dstack.cc826 const instrumentation::InstrumentationStackFrame& instrumentation_frame = in WalkStack()
849 size_t frame_id = instrumentation::Instrumentation::ComputeFrameId( in WalkStack()
Druntime.cc2403 explicit UpdateEntryPointsClassVisitor(instrumentation::Instrumentation* instrumentation) in UpdateEntryPointsClassVisitor() argument
2404 : instrumentation_(instrumentation) {} in UpdateEntryPointsClassVisitor()
2420 instrumentation::Instrumentation* const instrumentation_;
/art/runtime/interpreter/
Dinterpreter_common.h193 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)
Dinterpreter_common.cc150 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in EXPLICIT_DO_FIELD_GET_ALL_TEMPLATE_DECL() local
151 if (UNLIKELY(instrumentation->HasFieldReadListeners())) { in EXPLICIT_DO_FIELD_GET_ALL_TEMPLATE_DECL()
160 instrumentation->FieldReadEvent(self, in EXPLICIT_DO_FIELD_GET_ALL_TEMPLATE_DECL()
326 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in EXPLICIT_DO_FIELD_PUT_ALL_TEMPLATE_DECL() local
327 if (UNLIKELY(instrumentation->HasFieldWriteListeners())) { in EXPLICIT_DO_FIELD_PUT_ALL_TEMPLATE_DECL()
340 instrumentation->FieldWriteEvent(self, in EXPLICIT_DO_FIELD_PUT_ALL_TEMPLATE_DECL()
403 const instrumentation::Instrumentation* instrumentation) { in EXPLICIT_DO_IPUT_QUICK_ALL_TEMPLATE_DECL()
407 if (instrumentation != nullptr && instrumentation->HasExceptionCaughtListeners() in EXPLICIT_DO_IPUT_QUICK_ALL_TEMPLATE_DECL()
409 instrumentation->ExceptionCaughtEvent(self, exception.Get()); in EXPLICIT_DO_IPUT_QUICK_ALL_TEMPLATE_DECL()
414 if (found_dex_pc == DexFile::kDexNoIndex && instrumentation != nullptr) { in EXPLICIT_DO_IPUT_QUICK_ALL_TEMPLATE_DECL()
[all …]
Dinterpreter.cc251 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in Execute() local
254 if (UNLIKELY(instrumentation->HasMethodEntryListeners())) { in Execute()
255 instrumentation->MethodEnterEvent(self, shadow_frame.GetThisObject(code_item->ins_size_), in Execute()
258 instrumentation->MethodUnwindEvent(self, in Execute()
523 const instrumentation::Instrumentation* const instrumentation = in EnterInterpreterFromDeoptimize() local
526 instrumentation); in EnterInterpreterFromDeoptimize()
Dinterpreter_switch_impl.cc50 #define HANDLE_PENDING_EXCEPTION() HANDLE_PENDING_EXCEPTION_WITH_INSTRUMENTATION(instrumentation)
69 if (UNLIKELY(instrumentation->HasDexPcListeners()) && \
74 instrumentation, \
86 if (UNLIKELY(instrumentation->HasBranchListeners())) { \
87 instrumentation->Branch(self, method, dex_pc, offset); \
125 const instrumentation::Instrumentation* instrumentation, in DoDexPcMoveEvent() argument
128 DCHECK(instrumentation->HasDexPcListeners()); in DoDexPcMoveEvent()
135 instrumentation->DexPcMovedEvent(self, in DoDexPcMoveEvent()
165 const auto* const instrumentation = Runtime::Current()->GetInstrumentation(); in ExecuteSwitchImpl() local
265 if (UNLIKELY(instrumentation->HasMethodExitListeners())) { in ExecuteSwitchImpl()
[all …]
/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/runtime/openjdkjvmti/
Devents.cc309 class JvmtiMethodTraceListener FINAL : public art::instrumentation::InstrumentationListener {
574 return art::instrumentation::Instrumentation::kMethodEntered; in GetInstrumentationEventsFor()
576 return art::instrumentation::Instrumentation::kMethodExited | in GetInstrumentationEventsFor()
577 art::instrumentation::Instrumentation::kMethodUnwind; in GetInstrumentationEventsFor()
579 return art::instrumentation::Instrumentation::kFieldWritten; in GetInstrumentationEventsFor()
581 return art::instrumentation::Instrumentation::kFieldRead; in GetInstrumentationEventsFor()
584 return art::instrumentation::Instrumentation::kDexPcMoved; in GetInstrumentationEventsFor()
596 art::instrumentation::Instrumentation* instr = art::Runtime::Current()->GetInstrumentation(); in SetupTraceListener()
/art/runtime/jit/
Djit.cc283 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in CompileMethod() local
284 if (instrumentation->AreAllMethodsDeoptimized() || instrumentation->IsDeoptimized(method)) { in CompileMethod()
/art/runtime/interpreter/mterp/
Dmterp.cc148 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/
Djdwp_event.cc164 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/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints.cc1000 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in artInstrumentationMethodEntryFromCode() local
1001 if (instrumentation->IsDeoptimized(method)) { in artInstrumentationMethodEntryFromCode()
1004 result = instrumentation->GetQuickCodeFor(method, kRuntimePointerSize); in artInstrumentationMethodEntryFromCode()
1018 instrumentation->PushInstrumentationStackFrame(self, in artInstrumentationMethodEntryFromCode()
1053 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in artInstrumentationMethodExitFromCode() local
1054 TwoWordReturn return_or_deoptimize_pc = instrumentation->PopInstrumentationStackFrame( in artInstrumentationMethodExitFromCode()
/art/test/common/
Druntime_state.cc44 instrumentation::Instrumentation::InstrumentationLevel::kInstrumentWithInterpreter; in GetJitIfEnabled()
/art/runtime/gc/
Dheap.cc629 instrumentation::Instrumentation* const instrumentation = runtime->GetInstrumentation(); in Heap() local
634 instrumentation->InstrumentQuickAllocEntryPoints(); in Heap()
1569 instrumentation::Instrumentation* const instrumentation = in EntrypointsInstrumented() local
1571 return instrumentation != nullptr && instrumentation->AllocEntrypointsInstrumented(); in EntrypointsInstrumented()

12