Home
last modified time | relevance | path

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

/art/runtime/
Dinstrumentation_test.cc31 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 …]
Dtrace.cc250 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()
369instrumentation::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()
504instrumentation::Instrumentation::kMethodEntered | in Pause()
[all …]
Dinstrumentation.cc43 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 …]
Dquick_exception_handler.cc151 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()
Ddebugger.cc234 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 …]
Dtrace.h94 class Trace FINAL : public instrumentation::InstrumentationListener {
200 instrumentation::Instrumentation::InstrumentationEvent event,
Druntime.h440 const instrumentation::Instrumentation* GetInstrumentation() const { in GetInstrumentation()
444 instrumentation::Instrumentation* GetInstrumentation() { in GetInstrumentation()
687 instrumentation::Instrumentation instrumentation_;
DAndroid.mk81 instrumentation.cc \
321 instrumentation.h \
Dthread.h819 std::deque<instrumentation::InstrumentationStackFrame>* GetInstrumentationStack() { in GetInstrumentationStack()
1212 std::deque<instrumentation::InstrumentationStackFrame>* instrumentation_stack;
Dstack.cc663 static instrumentation::InstrumentationStackFrame& GetInstrumentationStackFrame(Thread* thread, in GetInstrumentationStackFrame()
754 const instrumentation::InstrumentationStackFrame& instrumentation_frame = in WalkStack()
Dinstrumentation.h41 namespace instrumentation {
Dthread.cc1277 tlsPtr_.instrumentation_stack = new std::deque<instrumentation::InstrumentationStackFrame>; in Thread()
2474 for (instrumentation::InstrumentationStackFrame& frame : *GetInstrumentationStack()) { in VisitRoots()
/art/runtime/entrypoints/quick/
Dquick_instrumentation_entrypoints.cc33 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/
Dinterpreter_common.cc56 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 …]
Dinterpreter_goto_table_impl.cc63 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 …]
Dinterpreter_switch_impl.cc29 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 …]
Dinterpreter.cc408 const instrumentation::Instrumentation* const instrumentation = in EnterInterpreterFromDeoptimize() local
411 instrumentation); in EnterInterpreterFromDeoptimize()
Dinterpreter_common.h352 uint32_t dex_pc, const instrumentation::Instrumentation* instrumentation)
/art/runtime/jit/
Djit.cc175 instrumentation::Instrumentation::kMethodEntered | in CreateInstrumentationCache()
176 instrumentation::Instrumentation::kBackwardBranch); in CreateInstrumentationCache()
Djit_instrumentation.h65 class JitInstrumentationListener : public instrumentation::InstrumentationListener {
/art/runtime/jdwp/
Djdwp_event.cc161 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/
Dquick_entrypoints_arm.S1069 mov r2, r0 @ link register saved by instrumentation
/art/runtime/gc/
Dheap.cc517 instrumentation::Instrumentation* const instrumentation = runtime->GetInstrumentation(); in Heap() local
522 instrumentation->InstrumentQuickAllocEntryPoints(); in Heap()