Lines Matching refs:instrumentation
36 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()
291 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); in DeoptimizeEverything() local
298 instrumentation->EnableDeoptimization(); in DeoptimizeEverything()
300 instrumentation->DeoptimizeEverything(key); in DeoptimizeEverything()
306 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); in UndeoptimizeEverything() local
312 instrumentation->UndeoptimizeEverything(key); in UndeoptimizeEverything()
314 instrumentation->DisableDeoptimization(key); in UndeoptimizeEverything()
321 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); in EnableMethodTracing() local
327 instrumentation->EnableMethodTracing(key, needs_interpreter); in EnableMethodTracing()
333 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); in DisableMethodTracing() local
339 instrumentation->DisableMethodTracing(key); in DisableMethodTracing()
343 static bool HasEventListener(const instrumentation::Instrumentation* instr, uint32_t event_type) in HasEventListener()
346 case instrumentation::Instrumentation::kMethodEntered: in HasEventListener()
348 case instrumentation::Instrumentation::kMethodExited: in HasEventListener()
350 case instrumentation::Instrumentation::kMethodUnwind: in HasEventListener()
352 case instrumentation::Instrumentation::kDexPcMoved: in HasEventListener()
354 case instrumentation::Instrumentation::kFieldRead: in HasEventListener()
356 case instrumentation::Instrumentation::kFieldWritten: in HasEventListener()
358 case instrumentation::Instrumentation::kExceptionCaught: in HasEventListener()
360 case instrumentation::Instrumentation::kBranch: in HasEventListener()
362 case instrumentation::Instrumentation::kInvokeVirtualOrInterface: in HasEventListener()
370 static void ReportEvent(const instrumentation::Instrumentation* instr, in ReportEvent()
379 case instrumentation::Instrumentation::kMethodEntered: in ReportEvent()
382 case instrumentation::Instrumentation::kMethodExited: { in ReportEvent()
387 case instrumentation::Instrumentation::kMethodUnwind: in ReportEvent()
390 case instrumentation::Instrumentation::kDexPcMoved: in ReportEvent()
393 case instrumentation::Instrumentation::kFieldRead: in ReportEvent()
396 case instrumentation::Instrumentation::kFieldWritten: { in ReportEvent()
401 case instrumentation::Instrumentation::kExceptionCaught: { in ReportEvent()
408 case instrumentation::Instrumentation::kBranch: in ReportEvent()
411 case instrumentation::Instrumentation::kInvokeVirtualOrInterface: in ReportEvent()
424 case instrumentation::Instrumentation::kMethodEntered: in DidListenerReceiveEvent()
426 case instrumentation::Instrumentation::kMethodExited: in DidListenerReceiveEvent()
429 case instrumentation::Instrumentation::kMethodUnwind: in DidListenerReceiveEvent()
431 case instrumentation::Instrumentation::kDexPcMoved: in DidListenerReceiveEvent()
433 case instrumentation::Instrumentation::kFieldRead: in DidListenerReceiveEvent()
435 case instrumentation::Instrumentation::kFieldWritten: in DidListenerReceiveEvent()
438 case instrumentation::Instrumentation::kExceptionCaught: in DidListenerReceiveEvent()
440 case instrumentation::Instrumentation::kBranch: in DidListenerReceiveEvent()
442 case instrumentation::Instrumentation::kInvokeVirtualOrInterface: in DidListenerReceiveEvent()
453 instrumentation::Instrumentation* instr = Runtime::Current()->GetInstrumentation(); in TEST_F()
462 EXPECT_EQ(instrumentation::kMainHandlerTable, instr->GetInterpreterHandlerTable()); in TEST_F()
476 TestEvent(instrumentation::Instrumentation::kMethodEntered); in TEST_F()
493 TestEvent(instrumentation::Instrumentation::kMethodExited, in TEST_F()
512 TestEvent(instrumentation::Instrumentation::kMethodExited, in TEST_F()
519 TestEvent(instrumentation::Instrumentation::kMethodUnwind); in TEST_F()
523 TestEvent(instrumentation::Instrumentation::kDexPcMoved); in TEST_F()
527 TestEvent(instrumentation::Instrumentation::kFieldRead); in TEST_F()
542 TestEvent(instrumentation::Instrumentation::kFieldWritten, in TEST_F()
560 TestEvent(instrumentation::Instrumentation::kFieldWritten, in TEST_F()
567 TestEvent(instrumentation::Instrumentation::kExceptionCaught); in TEST_F()
571 TestEvent(instrumentation::Instrumentation::kBranch); in TEST_F()
575 TestEvent(instrumentation::Instrumentation::kInvokeVirtualOrInterface); in TEST_F()
582 instrumentation::Instrumentation* instr = runtime->GetInstrumentation(); in TEST_F()
613 instrumentation::Instrumentation* instr = runtime->GetInstrumentation(); in TEST_F()
631 instrumentation::Instrumentation* instr = runtime->GetInstrumentation(); in TEST_F()
679 instrumentation::Instrumentation* instr = runtime->GetInstrumentation(); in TEST_F()
698 instrumentation::Instrumentation* instr = runtime->GetInstrumentation(); in TEST_F()