Lines Matching refs:instrumentation

31 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()
232 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); in DeoptimizeEverything() local
236 instrumentation->EnableDeoptimization(); in DeoptimizeEverything()
238 instrumentation->DeoptimizeEverything(key); in DeoptimizeEverything()
246 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); in UndeoptimizeEverything() local
249 instrumentation->UndeoptimizeEverything(key); in UndeoptimizeEverything()
251 instrumentation->DisableDeoptimization(key); in UndeoptimizeEverything()
260 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); in EnableMethodTracing() local
263 instrumentation->EnableMethodTracing(key, needs_interpreter); in EnableMethodTracing()
271 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); in DisableMethodTracing() local
274 instrumentation->DisableMethodTracing(key); in DisableMethodTracing()
280 static bool HasEventListener(const instrumentation::Instrumentation* instr, uint32_t event_type) in HasEventListener()
283 case instrumentation::Instrumentation::kMethodEntered: in HasEventListener()
285 case instrumentation::Instrumentation::kMethodExited: in HasEventListener()
287 case instrumentation::Instrumentation::kMethodUnwind: in HasEventListener()
289 case instrumentation::Instrumentation::kDexPcMoved: in HasEventListener()
291 case instrumentation::Instrumentation::kFieldRead: in HasEventListener()
293 case instrumentation::Instrumentation::kFieldWritten: in HasEventListener()
295 case instrumentation::Instrumentation::kExceptionCaught: in HasEventListener()
297 case instrumentation::Instrumentation::kBackwardBranch: in HasEventListener()
305 static void ReportEvent(const instrumentation::Instrumentation* instr, uint32_t event_type, in ReportEvent()
310 case instrumentation::Instrumentation::kMethodEntered: in ReportEvent()
313 case instrumentation::Instrumentation::kMethodExited: { in ReportEvent()
318 case instrumentation::Instrumentation::kMethodUnwind: in ReportEvent()
321 case instrumentation::Instrumentation::kDexPcMoved: in ReportEvent()
324 case instrumentation::Instrumentation::kFieldRead: in ReportEvent()
327 case instrumentation::Instrumentation::kFieldWritten: { in ReportEvent()
332 case instrumentation::Instrumentation::kExceptionCaught: { in ReportEvent()
339 case instrumentation::Instrumentation::kBackwardBranch: in ReportEvent()
351 case instrumentation::Instrumentation::kMethodEntered: in DidListenerReceiveEvent()
353 case instrumentation::Instrumentation::kMethodExited: in DidListenerReceiveEvent()
355 case instrumentation::Instrumentation::kMethodUnwind: in DidListenerReceiveEvent()
357 case instrumentation::Instrumentation::kDexPcMoved: in DidListenerReceiveEvent()
359 case instrumentation::Instrumentation::kFieldRead: in DidListenerReceiveEvent()
361 case instrumentation::Instrumentation::kFieldWritten: in DidListenerReceiveEvent()
363 case instrumentation::Instrumentation::kExceptionCaught: in DidListenerReceiveEvent()
365 case instrumentation::Instrumentation::kBackwardBranch: in DidListenerReceiveEvent()
376 instrumentation::Instrumentation* instr = Runtime::Current()->GetInstrumentation(); in TEST_F()
385 EXPECT_EQ(instrumentation::kMainHandlerTable, instr->GetInterpreterHandlerTable()); in TEST_F()
399 TestEvent(instrumentation::Instrumentation::kMethodEntered); in TEST_F()
403 TestEvent(instrumentation::Instrumentation::kMethodExited); in TEST_F()
407 TestEvent(instrumentation::Instrumentation::kMethodUnwind); in TEST_F()
411 TestEvent(instrumentation::Instrumentation::kDexPcMoved); in TEST_F()
415 TestEvent(instrumentation::Instrumentation::kFieldRead); in TEST_F()
419 TestEvent(instrumentation::Instrumentation::kFieldWritten); in TEST_F()
423 TestEvent(instrumentation::Instrumentation::kExceptionCaught); in TEST_F()
427 TestEvent(instrumentation::Instrumentation::kBackwardBranch); in TEST_F()
434 instrumentation::Instrumentation* instr = runtime->GetInstrumentation(); in TEST_F()
463 instrumentation::Instrumentation* instr = runtime->GetInstrumentation(); in TEST_F()
481 instrumentation::Instrumentation* instr = runtime->GetInstrumentation(); in TEST_F()
527 instrumentation::Instrumentation* instr = runtime->GetInstrumentation(); in TEST_F()
546 instrumentation::Instrumentation* instr = runtime->GetInstrumentation(); in TEST_F()