• Home
  • Raw
  • Download

Lines Matching refs:Instrumentation

191   void CheckConfigureStubs(const char* key, Instrumentation::InstrumentationLevel level) {  in CheckConfigureStubs()
193 instrumentation::Instrumentation* instr = Runtime::Current()->GetInstrumentation(); in CheckConfigureStubs()
202 Instrumentation::InstrumentationLevel GetCurrentInstrumentationLevel() { in GetCurrentInstrumentationLevel()
220 instrumentation::Instrumentation* instr = Runtime::Current()->GetInstrumentation(); in TestEvent()
269 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); in DeoptimizeMethod()
285 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); in UndeoptimizeMethod()
300 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); in DeoptimizeEverything()
315 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); in UndeoptimizeEverything()
330 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); in EnableMethodTracing()
342 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); in DisableMethodTracing()
352 static bool HasEventListener(const instrumentation::Instrumentation* instr, uint32_t event_type) in HasEventListener()
355 case instrumentation::Instrumentation::kMethodEntered: in HasEventListener()
357 case instrumentation::Instrumentation::kMethodExited: in HasEventListener()
359 case instrumentation::Instrumentation::kMethodUnwind: in HasEventListener()
361 case instrumentation::Instrumentation::kDexPcMoved: in HasEventListener()
363 case instrumentation::Instrumentation::kFieldRead: in HasEventListener()
365 case instrumentation::Instrumentation::kFieldWritten: in HasEventListener()
367 case instrumentation::Instrumentation::kExceptionThrown: in HasEventListener()
369 case instrumentation::Instrumentation::kExceptionHandled: in HasEventListener()
371 case instrumentation::Instrumentation::kBranch: in HasEventListener()
373 case instrumentation::Instrumentation::kWatchedFramePop: in HasEventListener()
381 static void ReportEvent(const instrumentation::Instrumentation* instr, in ReportEvent()
391 case instrumentation::Instrumentation::kMethodEntered: in ReportEvent()
394 case instrumentation::Instrumentation::kMethodExited: { in ReportEvent()
399 case instrumentation::Instrumentation::kMethodUnwind: in ReportEvent()
402 case instrumentation::Instrumentation::kDexPcMoved: in ReportEvent()
405 case instrumentation::Instrumentation::kFieldRead: in ReportEvent()
408 case instrumentation::Instrumentation::kFieldWritten: { in ReportEvent()
413 case instrumentation::Instrumentation::kExceptionThrown: { in ReportEvent()
420 case instrumentation::Instrumentation::kBranch: in ReportEvent()
423 case instrumentation::Instrumentation::kWatchedFramePop: in ReportEvent()
426 case instrumentation::Instrumentation::kExceptionHandled: { in ReportEvent()
443 case instrumentation::Instrumentation::kMethodEntered: in DidListenerReceiveEvent()
445 case instrumentation::Instrumentation::kMethodExited: in DidListenerReceiveEvent()
448 case instrumentation::Instrumentation::kMethodUnwind: in DidListenerReceiveEvent()
450 case instrumentation::Instrumentation::kDexPcMoved: in DidListenerReceiveEvent()
452 case instrumentation::Instrumentation::kFieldRead: in DidListenerReceiveEvent()
454 case instrumentation::Instrumentation::kFieldWritten: in DidListenerReceiveEvent()
457 case instrumentation::Instrumentation::kExceptionThrown: in DidListenerReceiveEvent()
459 case instrumentation::Instrumentation::kExceptionHandled: in DidListenerReceiveEvent()
461 case instrumentation::Instrumentation::kBranch: in DidListenerReceiveEvent()
463 case instrumentation::Instrumentation::kWatchedFramePop: in DidListenerReceiveEvent()
474 instrumentation::Instrumentation* instr = Runtime::Current()->GetInstrumentation(); in TEST_F()
511 TestEvent(instrumentation::Instrumentation::kMethodEntered, in TEST_F()
531 TestEvent(instrumentation::Instrumentation::kMethodExited, in TEST_F()
550 TestEvent(instrumentation::Instrumentation::kMethodExited, in TEST_F()
557 TestEvent(instrumentation::Instrumentation::kMethodUnwind); in TEST_F()
561 TestEvent(instrumentation::Instrumentation::kDexPcMoved); in TEST_F()
565 TestEvent(instrumentation::Instrumentation::kFieldRead); in TEST_F()
569 TestEvent(instrumentation::Instrumentation::kWatchedFramePop); in TEST_F()
584 TestEvent(instrumentation::Instrumentation::kFieldWritten, in TEST_F()
602 TestEvent(instrumentation::Instrumentation::kFieldWritten, in TEST_F()
609 TestEvent(instrumentation::Instrumentation::kExceptionHandled); in TEST_F()
613 TestEvent(instrumentation::Instrumentation::kExceptionThrown); in TEST_F()
617 TestEvent(instrumentation::Instrumentation::kBranch); in TEST_F()
624 instrumentation::Instrumentation* instr = runtime->GetInstrumentation(); in TEST_F()
655 instrumentation::Instrumentation* instr = runtime->GetInstrumentation(); in TEST_F()
673 instrumentation::Instrumentation* instr = runtime->GetInstrumentation(); in TEST_F()
690 EXPECT_EQ(Instrumentation::InstrumentationLevel::kInstrumentNothing, in TEST_F()
698 EXPECT_EQ(Instrumentation::InstrumentationLevel::kInstrumentWithInterpreter, in TEST_F()
705 EXPECT_EQ(Instrumentation::InstrumentationLevel::kInstrumentNothing, in TEST_F()
712 EXPECT_EQ(Instrumentation::InstrumentationLevel::kInstrumentNothing, in TEST_F()
721 instrumentation::Instrumentation* instr = runtime->GetInstrumentation(); in TEST_F()
726 EXPECT_EQ(Instrumentation::InstrumentationLevel::kInstrumentWithInterpreter, in TEST_F()
732 EXPECT_EQ(Instrumentation::InstrumentationLevel::kInstrumentNothing, in TEST_F()
740 instrumentation::Instrumentation* instr = runtime->GetInstrumentation(); in TEST_F()
745 EXPECT_EQ(Instrumentation::InstrumentationLevel::kInstrumentWithInstrumentationStubs, in TEST_F()
751 EXPECT_EQ(Instrumentation::InstrumentationLevel::kInstrumentNothing, in TEST_F()
759 Instrumentation* const instr = Runtime::Current()->GetInstrumentation(); \
761 ((_level) == Instrumentation::InstrumentationLevel::kInstrumentWithInterpreter); \
779 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentNothing, 0U); in TEST_F()
782 CheckConfigureStubs(kClientOneKey, Instrumentation::InstrumentationLevel::kInstrumentNothing); in TEST_F()
783 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentNothing, 0U); in TEST_F()
787 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentNothing, 0U); in TEST_F()
791 Instrumentation::InstrumentationLevel::kInstrumentWithInstrumentationStubs); in TEST_F()
792 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentWithInstrumentationStubs, in TEST_F()
796 CheckConfigureStubs(kClientOneKey, Instrumentation::InstrumentationLevel::kInstrumentNothing); in TEST_F()
797 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentNothing, 0U); in TEST_F()
801 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentNothing, 0U); in TEST_F()
805 Instrumentation::InstrumentationLevel::kInstrumentWithInterpreter); in TEST_F()
806 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentWithInterpreter, 1U); in TEST_F()
809 CheckConfigureStubs(kClientOneKey, Instrumentation::InstrumentationLevel::kInstrumentNothing); in TEST_F()
810 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentNothing, 0U); in TEST_F()
814 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentNothing, 0U); in TEST_F()
818 Instrumentation::InstrumentationLevel::kInstrumentWithInstrumentationStubs); in TEST_F()
819 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentWithInstrumentationStubs, in TEST_F()
824 Instrumentation::InstrumentationLevel::kInstrumentWithInterpreter); in TEST_F()
825 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentWithInterpreter, 1U); in TEST_F()
828 CheckConfigureStubs(kClientOneKey, Instrumentation::InstrumentationLevel::kInstrumentNothing); in TEST_F()
829 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentNothing, 0U); in TEST_F()
833 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentNothing, 0U); in TEST_F()
837 Instrumentation::InstrumentationLevel::kInstrumentWithInterpreter); in TEST_F()
838 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentWithInterpreter, 1U); in TEST_F()
842 Instrumentation::InstrumentationLevel::kInstrumentWithInstrumentationStubs); in TEST_F()
844 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentWithInterpreter, in TEST_F()
848 CheckConfigureStubs(kClientOneKey, Instrumentation::InstrumentationLevel::kInstrumentNothing); in TEST_F()
849 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentNothing, 0U); in TEST_F()
854 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentNothing, 0U); in TEST_F()
858 Instrumentation::InstrumentationLevel::kInstrumentWithInstrumentationStubs); in TEST_F()
859 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentWithInstrumentationStubs, in TEST_F()
864 Instrumentation::InstrumentationLevel::kInstrumentWithInterpreter); in TEST_F()
865 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentWithInterpreter, 1U); in TEST_F()
869 Instrumentation::InstrumentationLevel::kInstrumentWithInstrumentationStubs); in TEST_F()
870 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentWithInterpreter, in TEST_F()
874 CheckConfigureStubs(kClientOneKey, Instrumentation::InstrumentationLevel::kInstrumentNothing); in TEST_F()
875 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentNothing, 0U); in TEST_F()
879 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentNothing, 0U); in TEST_F()
882 CheckConfigureStubs(kClientOneKey, Instrumentation::InstrumentationLevel::kInstrumentNothing); in TEST_F()
883 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentNothing, 0U); in TEST_F()
885 CheckConfigureStubs(kClientTwoKey, Instrumentation::InstrumentationLevel::kInstrumentNothing); in TEST_F()
886 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentNothing, 0U); in TEST_F()
890 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentNothing, 0U); in TEST_F()
894 Instrumentation::InstrumentationLevel::kInstrumentWithInstrumentationStubs); in TEST_F()
895 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentWithInstrumentationStubs, in TEST_F()
900 Instrumentation::InstrumentationLevel::kInstrumentWithInstrumentationStubs); in TEST_F()
901 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentWithInstrumentationStubs, in TEST_F()
906 CheckConfigureStubs(kClientOneKey, Instrumentation::InstrumentationLevel::kInstrumentNothing); in TEST_F()
907 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentWithInstrumentationStubs, in TEST_F()
911 CheckConfigureStubs(kClientTwoKey, Instrumentation::InstrumentationLevel::kInstrumentNothing); in TEST_F()
912 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentNothing, 0U); in TEST_F()
916 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentNothing, 0U); in TEST_F()
920 Instrumentation::InstrumentationLevel::kInstrumentWithInterpreter); in TEST_F()
921 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentWithInterpreter, 1U); in TEST_F()
925 Instrumentation::InstrumentationLevel::kInstrumentWithInterpreter); in TEST_F()
926 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentWithInterpreter, 2U); in TEST_F()
929 CheckConfigureStubs(kClientOneKey, Instrumentation::InstrumentationLevel::kInstrumentNothing); in TEST_F()
930 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentWithInterpreter, 1U); in TEST_F()
933 CheckConfigureStubs(kClientTwoKey, Instrumentation::InstrumentationLevel::kInstrumentNothing); in TEST_F()
934 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentNothing, 0U); in TEST_F()
938 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentNothing, 0U); in TEST_F()
942 Instrumentation::InstrumentationLevel::kInstrumentWithInstrumentationStubs); in TEST_F()
943 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentWithInstrumentationStubs, in TEST_F()
948 Instrumentation::InstrumentationLevel::kInstrumentWithInterpreter); in TEST_F()
949 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentWithInterpreter, 2U); in TEST_F()
952 CheckConfigureStubs(kClientOneKey, Instrumentation::InstrumentationLevel::kInstrumentNothing); in TEST_F()
953 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentWithInterpreter, 1U); in TEST_F()
956 CheckConfigureStubs(kClientTwoKey, Instrumentation::InstrumentationLevel::kInstrumentNothing); in TEST_F()
957 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentNothing, 0U); in TEST_F()
961 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentNothing, 0U); in TEST_F()
965 Instrumentation::InstrumentationLevel::kInstrumentWithInterpreter); in TEST_F()
966 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentWithInterpreter, 1U); in TEST_F()
970 Instrumentation::InstrumentationLevel::kInstrumentWithInstrumentationStubs); in TEST_F()
971 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentWithInterpreter, 2U); in TEST_F()
975 CheckConfigureStubs(kClientOneKey, Instrumentation::InstrumentationLevel::kInstrumentNothing); in TEST_F()
976 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentWithInterpreter, in TEST_F()
980 CheckConfigureStubs(kClientTwoKey, Instrumentation::InstrumentationLevel::kInstrumentNothing); in TEST_F()
981 CHECK_INSTRUMENTATION(Instrumentation::InstrumentationLevel::kInstrumentNothing, 0U); in TEST_F()