Searched defs:instrumentation (Results 1 - 5 of 5) sorted by relevance

/art/runtime/entrypoints/quick/
H A Dquick_instrumentation_entrypoints.cc18 #include "instrumentation.h"
33 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); local
34 const void* result = instrumentation->GetQuickCodeFor(method);
36 instrumentation->PushInstrumentationStackFrame(self, method->IsStatic() ? NULL : this_object,
57 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); local
58 uint64_t return_or_deoptimize_pc = instrumentation->PopInstrumentationStackFrame(self, return_pc,
/art/runtime/
H A Dinstrumentation.h37 namespace instrumentation { namespace in namespace:art
79 // typical use for instrumentation is for profiling and debugging. Instrumentation may add stubs
100 // Add a listener to be notified of the masked together sent of instrumentation events. This
108 // Removes a listener possibly removing instrumentation stubs.
117 // will short-cut to GetCode if instrumentation and static method resolution stubs aren't
199 // Called when an instrumented method is exited. Removes the pushed instrumentation frame
205 // Pops an instrumentation frame from the current thread and generate an unwind event.
213 // Does the job of installing or removing instrumentation code within methods.
229 // Have we hijacked ArtMethod::code_ so that it calls instrumentation/interpreter code?
273 // An element in the instrumentation sid
[all...]
H A Dinstrumentation.cc17 #include "instrumentation.h"
42 namespace instrumentation { namespace in namespace:art
46 Instrumentation* instrumentation = reinterpret_cast<Instrumentation*>(arg); local
47 return instrumentation->InstallStubsForClass(klass);
102 // Places the instrumentation exit pc as the return PC for every quick frame. This also allows
167 Instrumentation* instrumentation = reinterpret_cast<Instrumentation*>(arg); local
175 instrumentation->MethodEnterEvent(thread, this_object, method, dex_pc);
180 // Removes the instrumentation exit pc as the return PC for every quick frame.
185 Instrumentation* instrumentation)
188 instrumentation_(instrumentation),
184 RestoreStackVisitor(Thread* thread, uintptr_t instrumentation_exit_pc, Instrumentation* instrumentation) argument
250 Instrumentation* instrumentation = reinterpret_cast<Instrumentation*>(arg); local
[all...]
H A Dthread.cc983 instrumentation_stack_(new std::deque<instrumentation::InstrumentationStackFrame>),
1766 // Keep count of the number of unwinds during instrumentation.
1863 // Do instrumentation events after allowing thread suspension again.
1864 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); local
1866 // We pop the instrumentation stack here so as not to corrupt it during the stack walk.
1868 // Don't pop the instrumentation frame of the catch handler.
1869 instrumentation->PopMethodForUnwind(self_, is_deoptimization_);
1873 instrumentation->ExceptionCaughtEvent(self_, throw_location_, catch_method, handler_dex_pc_,
2174 std::deque<instrumentation
[all...]
/art/runtime/interpreter/
H A Dinterpreter.cc1012 instrumentation::Instrumentation* instrumentation)
1020 instrumentation::Instrumentation* instrumentation)
1029 instrumentation->MethodUnwindEvent(self, this_object_ref.get(),
1033 instrumentation->ExceptionCaughtEvent(self, throw_location,
1046 this_object_ref, instrumentation); \
1086 instrumentation::Instrumentation* const instrumentation = Runtime::Current()->GetInstrumentation(); member in class:art::interpreter::instrumentation
1095 if (UNLIKELY(instrumentation
[all...]

Completed in 3931 milliseconds