Searched refs:events (Results 1 - 3 of 3) sorted by relevance

/art/runtime/
H A Dinstrumentation.cc286 // Create method enter events for all methods currently on the thread's stack. We only do this
287 // if no debugger is attached to prevent from posting events twice.
351 // Create the method exit events. As the methods didn't really exit the result is 0.
352 // We only do this if no debugger is attached to prevent from posting events twice.
393 static bool HasEvent(Instrumentation::InstrumentationEvent expected, uint32_t events) { argument
394 return (events & expected) != 0;
397 void Instrumentation::AddListener(InstrumentationListener* listener, uint32_t events) { argument
399 if (HasEvent(kMethodEntered, events)) {
403 if (HasEvent(kMethodExited, events)) {
407 if (HasEvent(kMethodUnwind, events)) {
462 RemoveListener(InstrumentationListener* listener, uint32_t events) argument
[all...]
H A Dinstrumentation.h57 // the events they are listening for. The call backs supply the thread, method and dex_pc the event
127 // Add a listener to be notified of the masked together sent of instrumentation events. This
131 void AddListener(InstrumentationListener* listener, uint32_t events)
136 void RemoveListener(InstrumentationListener* listener, uint32_t events)
274 // listeners into executing code and get method enter events for methods already on the stack.
340 // that returning causes a branch to the method exit stub. Generates method enter events.
347 // returning the intended link register. Generates method exit events.
427 // Do we need the fidelity of events that we only get from running within the interpreter?
433 // Do we have any listeners for method entry events? Short-cut to avoid taking the
437 // Do we have any listeners for method exit events
[all...]
H A Ddebugger.cc243 // TODO: post location events is a suspension point and native method entry stubs aren't.
248 // going to be called right after us. To avoid sending JDWP events twice for this location,
250 // send the METHOD_ENTRY event. And we can also group it with other events for this location
256 // sending JDWP events twice for this location, we report the event(s) in MethodExited.
258 // also group it with other events for this location like BREAKPOINT or SINGLE_STEP.
269 // TODO: post location events is a suspension point and native method entry stubs aren't.
272 uint32_t events = Dbg::kMethodExit; local
276 events |= Dbg::kMethodEntry;
279 Dbg::UpdateDebugger(thread, this_object, method, dex_pc, events, &return_value);
298 // JDWP events i
301 uint32_t events = 0; local
[all...]

Completed in 62 milliseconds