• Home
  • Raw
  • Download

Lines Matching refs:Instrumentation

152   void CheckConfigureStubs(const char* key, Instrumentation::InstrumentationLevel level) {  in CheckConfigureStubs()
154 instrumentation::Instrumentation* instr = Runtime::Current()->GetInstrumentation(); in CheckConfigureStubs()
163 Instrumentation::InstrumentationLevel GetCurrentInstrumentationLevel() { in GetCurrentInstrumentationLevel()
174 instrumentation::Instrumentation* instr = Runtime::Current()->GetInstrumentation(); in TestEvent()
209 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); in DeoptimizeMethod()
225 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); in UndeoptimizeMethod()
240 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); in DeoptimizeEverything()
255 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); in UndeoptimizeEverything()
270 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); in EnableMethodTracing()
282 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); in DisableMethodTracing()
292 static bool HasEventListener(const instrumentation::Instrumentation* instr, uint32_t event_type) in HasEventListener()
295 case instrumentation::Instrumentation::kMethodEntered: in HasEventListener()
297 case instrumentation::Instrumentation::kMethodExited: in HasEventListener()
299 case instrumentation::Instrumentation::kMethodUnwind: in HasEventListener()
301 case instrumentation::Instrumentation::kDexPcMoved: in HasEventListener()
303 case instrumentation::Instrumentation::kFieldRead: in HasEventListener()
305 case instrumentation::Instrumentation::kFieldWritten: in HasEventListener()
307 case instrumentation::Instrumentation::kExceptionCaught: in HasEventListener()
309 case instrumentation::Instrumentation::kBranch: in HasEventListener()
311 case instrumentation::Instrumentation::kInvokeVirtualOrInterface: in HasEventListener()
319 static void ReportEvent(const instrumentation::Instrumentation* instr, uint32_t event_type, in ReportEvent()
324 case instrumentation::Instrumentation::kMethodEntered: in ReportEvent()
327 case instrumentation::Instrumentation::kMethodExited: { in ReportEvent()
332 case instrumentation::Instrumentation::kMethodUnwind: in ReportEvent()
335 case instrumentation::Instrumentation::kDexPcMoved: in ReportEvent()
338 case instrumentation::Instrumentation::kFieldRead: in ReportEvent()
341 case instrumentation::Instrumentation::kFieldWritten: { in ReportEvent()
346 case instrumentation::Instrumentation::kExceptionCaught: { in ReportEvent()
353 case instrumentation::Instrumentation::kBranch: in ReportEvent()
356 case instrumentation::Instrumentation::kInvokeVirtualOrInterface: in ReportEvent()
368 case instrumentation::Instrumentation::kMethodEntered: in DidListenerReceiveEvent()
370 case instrumentation::Instrumentation::kMethodExited: in DidListenerReceiveEvent()
372 case instrumentation::Instrumentation::kMethodUnwind: in DidListenerReceiveEvent()
374 case instrumentation::Instrumentation::kDexPcMoved: in DidListenerReceiveEvent()
376 case instrumentation::Instrumentation::kFieldRead: in DidListenerReceiveEvent()
378 case instrumentation::Instrumentation::kFieldWritten: in DidListenerReceiveEvent()
380 case instrumentation::Instrumentation::kExceptionCaught: in DidListenerReceiveEvent()
382 case instrumentation::Instrumentation::kBranch: in DidListenerReceiveEvent()
384 case instrumentation::Instrumentation::kInvokeVirtualOrInterface: in DidListenerReceiveEvent()
395 instrumentation::Instrumentation* instr = Runtime::Current()->GetInstrumentation(); in TEST_F()
418 TestEvent(instrumentation::Instrumentation::kMethodEntered); in TEST_F()
422 TestEvent(instrumentation::Instrumentation::kMethodExited); in TEST_F()
426 TestEvent(instrumentation::Instrumentation::kMethodUnwind); in TEST_F()
430 TestEvent(instrumentation::Instrumentation::kDexPcMoved); in TEST_F()
434 TestEvent(instrumentation::Instrumentation::kFieldRead); in TEST_F()
438 TestEvent(instrumentation::Instrumentation::kFieldWritten); in TEST_F()
442 TestEvent(instrumentation::Instrumentation::kExceptionCaught); in TEST_F()
446 TestEvent(instrumentation::Instrumentation::kBranch); in TEST_F()
450 TestEvent(instrumentation::Instrumentation::kInvokeVirtualOrInterface); in TEST_F()
457 instrumentation::Instrumentation* instr = runtime->GetInstrumentation(); in TEST_F()
486 instrumentation::Instrumentation* instr = runtime->GetInstrumentation(); in TEST_F()
504 instrumentation::Instrumentation* instr = runtime->GetInstrumentation(); in TEST_F()
519 EXPECT_EQ(Instrumentation::InstrumentationLevel::kInstrumentNothing, in TEST_F()
527 EXPECT_EQ(Instrumentation::InstrumentationLevel::kInstrumentWithInterpreter, in TEST_F()
534 EXPECT_EQ(Instrumentation::InstrumentationLevel::kInstrumentNothing, in TEST_F()
541 EXPECT_EQ(Instrumentation::InstrumentationLevel::kInstrumentNothing, in TEST_F()
550 instrumentation::Instrumentation* instr = runtime->GetInstrumentation(); in TEST_F()
555 EXPECT_EQ(Instrumentation::InstrumentationLevel::kInstrumentWithInterpreter, in TEST_F()
561 EXPECT_EQ(Instrumentation::InstrumentationLevel::kInstrumentNothing, in TEST_F()
569 instrumentation::Instrumentation* instr = runtime->GetInstrumentation(); in TEST_F()
574 EXPECT_EQ(Instrumentation::InstrumentationLevel::kInstrumentWithInstrumentationStubs, in TEST_F()
580 EXPECT_EQ(Instrumentation::InstrumentationLevel::kInstrumentNothing, in TEST_F()
588 Instrumentation* const instr = Runtime::Current()->GetInstrumentation(); \
590 (_level == Instrumentation::InstrumentationLevel::kInstrumentWithInterpreter); \
608 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentNothing, 0U); in TEST_F()
611 CheckConfigureStubs(kClientOneKey, Instrumentation::InstrumentationLevel::kInstrumentNothing); in TEST_F()
612 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentNothing, 0U); in TEST_F()
616 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentNothing, 0U); in TEST_F()
620 Instrumentation::InstrumentationLevel::kInstrumentWithInstrumentationStubs); in TEST_F()
621 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentWithInstrumentationStubs, in TEST_F()
625 CheckConfigureStubs(kClientOneKey, Instrumentation::InstrumentationLevel::kInstrumentNothing); in TEST_F()
626 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentNothing, 0U); in TEST_F()
630 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentNothing, 0U); in TEST_F()
634 Instrumentation::InstrumentationLevel::kInstrumentWithInterpreter); in TEST_F()
635 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentWithInterpreter, 1U); in TEST_F()
638 CheckConfigureStubs(kClientOneKey, Instrumentation::InstrumentationLevel::kInstrumentNothing); in TEST_F()
639 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentNothing, 0U); in TEST_F()
643 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentNothing, 0U); in TEST_F()
647 Instrumentation::InstrumentationLevel::kInstrumentWithInstrumentationStubs); in TEST_F()
648 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentWithInstrumentationStubs, in TEST_F()
653 Instrumentation::InstrumentationLevel::kInstrumentWithInterpreter); in TEST_F()
654 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentWithInterpreter, 1U); in TEST_F()
657 CheckConfigureStubs(kClientOneKey, Instrumentation::InstrumentationLevel::kInstrumentNothing); in TEST_F()
658 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentNothing, 0U); in TEST_F()
662 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentNothing, 0U); in TEST_F()
666 Instrumentation::InstrumentationLevel::kInstrumentWithInterpreter); in TEST_F()
667 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentWithInterpreter, 1U); in TEST_F()
671 Instrumentation::InstrumentationLevel::kInstrumentWithInstrumentationStubs); in TEST_F()
672 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentWithInstrumentationStubs, in TEST_F()
676 CheckConfigureStubs(kClientOneKey, Instrumentation::InstrumentationLevel::kInstrumentNothing); in TEST_F()
677 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentNothing, 0U); in TEST_F()
682 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentNothing, 0U); in TEST_F()
686 Instrumentation::InstrumentationLevel::kInstrumentWithInstrumentationStubs); in TEST_F()
687 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentWithInstrumentationStubs, in TEST_F()
692 Instrumentation::InstrumentationLevel::kInstrumentWithInterpreter); in TEST_F()
693 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentWithInterpreter, 1U); in TEST_F()
697 Instrumentation::InstrumentationLevel::kInstrumentWithInstrumentationStubs); in TEST_F()
698 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentWithInstrumentationStubs, in TEST_F()
702 CheckConfigureStubs(kClientOneKey, Instrumentation::InstrumentationLevel::kInstrumentNothing); in TEST_F()
703 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentNothing, 0U); in TEST_F()
707 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentNothing, 0U); in TEST_F()
710 CheckConfigureStubs(kClientOneKey, Instrumentation::InstrumentationLevel::kInstrumentNothing); in TEST_F()
711 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentNothing, 0U); in TEST_F()
713 CheckConfigureStubs(kClientTwoKey, Instrumentation::InstrumentationLevel::kInstrumentNothing); in TEST_F()
714 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentNothing, 0U); in TEST_F()
718 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentNothing, 0U); in TEST_F()
722 Instrumentation::InstrumentationLevel::kInstrumentWithInstrumentationStubs); in TEST_F()
723 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentWithInstrumentationStubs, in TEST_F()
728 Instrumentation::InstrumentationLevel::kInstrumentWithInstrumentationStubs); in TEST_F()
729 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentWithInstrumentationStubs, in TEST_F()
734 CheckConfigureStubs(kClientOneKey, Instrumentation::InstrumentationLevel::kInstrumentNothing); in TEST_F()
735 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentWithInstrumentationStubs, in TEST_F()
739 CheckConfigureStubs(kClientTwoKey, Instrumentation::InstrumentationLevel::kInstrumentNothing); in TEST_F()
740 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentNothing, 0U); in TEST_F()
744 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentNothing, 0U); in TEST_F()
748 Instrumentation::InstrumentationLevel::kInstrumentWithInterpreter); in TEST_F()
749 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentWithInterpreter, 1U); in TEST_F()
753 Instrumentation::InstrumentationLevel::kInstrumentWithInterpreter); in TEST_F()
754 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentWithInterpreter, 2U); in TEST_F()
757 CheckConfigureStubs(kClientOneKey, Instrumentation::InstrumentationLevel::kInstrumentNothing); in TEST_F()
758 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentWithInterpreter, 1U); in TEST_F()
761 CheckConfigureStubs(kClientTwoKey, Instrumentation::InstrumentationLevel::kInstrumentNothing); in TEST_F()
762 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentNothing, 0U); in TEST_F()
766 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentNothing, 0U); in TEST_F()
770 Instrumentation::InstrumentationLevel::kInstrumentWithInstrumentationStubs); in TEST_F()
771 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentWithInstrumentationStubs, in TEST_F()
776 Instrumentation::InstrumentationLevel::kInstrumentWithInterpreter); in TEST_F()
777 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentWithInterpreter, 2U); in TEST_F()
780 CheckConfigureStubs(kClientOneKey, Instrumentation::InstrumentationLevel::kInstrumentNothing); in TEST_F()
781 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentWithInterpreter, 1U); in TEST_F()
784 CheckConfigureStubs(kClientTwoKey, Instrumentation::InstrumentationLevel::kInstrumentNothing); in TEST_F()
785 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentNothing, 0U); in TEST_F()
789 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentNothing, 0U); in TEST_F()
793 Instrumentation::InstrumentationLevel::kInstrumentWithInterpreter); in TEST_F()
794 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentWithInterpreter, 1U); in TEST_F()
798 Instrumentation::InstrumentationLevel::kInstrumentWithInstrumentationStubs); in TEST_F()
799 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentWithInterpreter, 2U); in TEST_F()
803 CheckConfigureStubs(kClientOneKey, Instrumentation::InstrumentationLevel::kInstrumentNothing); in TEST_F()
804 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentWithInstrumentationStubs, in TEST_F()
808 CheckConfigureStubs(kClientTwoKey, Instrumentation::InstrumentationLevel::kInstrumentNothing); in TEST_F()
809 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentNothing, 0U); in TEST_F()