Home
last modified time | relevance | path

Searched refs:Instrumentation (Results 1 – 25 of 37) sorted by relevance

12

/art/runtime/
Dinstrumentation_test.cc190 void CheckConfigureStubs(const char* key, Instrumentation::InstrumentationLevel level) { in CheckConfigureStubs()
192 instrumentation::Instrumentation* instr = Runtime::Current()->GetInstrumentation(); in CheckConfigureStubs()
201 Instrumentation::InstrumentationLevel GetCurrentInstrumentationLevel() { in GetCurrentInstrumentationLevel()
219 instrumentation::Instrumentation* instr = Runtime::Current()->GetInstrumentation(); in TestEvent()
268 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); in DeoptimizeMethod()
281 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); in UndeoptimizeMethod()
296 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); in DeoptimizeEverything()
308 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); in UndeoptimizeEverything()
323 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); in EnableMethodTracing()
336 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); in DisableMethodTracing()
[all …]
Dinstrumentation.cc98 explicit InstallStubsClassVisitor(Instrumentation* instrumentation) in InstallStubsClassVisitor()
107 Instrumentation* const instrumentation_;
110 Instrumentation::Instrumentation() in Instrumentation() function in art::instrumentation::Instrumentation
127 bool Instrumentation::ProcessMethodUnwindCallbacks(Thread* self, in ProcessMethodUnwindCallbacks()
171 void Instrumentation::InstallStubsForClass(ObjPtr<mirror::Class> klass) { in InstallStubsForClass()
265 const Instrumentation* instr = Runtime::Current()->GetInstrumentation(); in UpdateEntryPoints()
280 bool Instrumentation::NeedsDexPcEvents(ArtMethod* method, Thread* thread) { in NeedsDexPcEvents()
284 bool Instrumentation::InterpretOnly(ArtMethod* method) REQUIRES_SHARED(Locks::mutator_lock_) { in InterpretOnly()
354 void Instrumentation::InitializeMethodsCode(ArtMethod* method, const void* aot_code) in InitializeMethodsCode()
413 void Instrumentation::InstallStubsForMethod(ArtMethod* method) { in InstallStubsForMethod()
[all …]
Dinstrumentation.h157 class Instrumentation; variable
172 Instrumentation* instrumentation_;
181 class Instrumentation {
205 Instrumentation();
212 return MemberOffset(OFFSETOF_MEMBER(Instrumentation, run_exit_hooks_)); in RunExitHooksOffset()
221 return MemberOffset(OFFSETOF_MEMBER(Instrumentation, have_method_entry_listeners_)); in HaveMethodEntryListenersOffset()
230 return MemberOffset(OFFSETOF_MEMBER(Instrumentation, have_method_exit_listeners_)); in HaveMethodExitListenersOffset()
694 Instrumentation::InstrumentationLevel instrumentation_level_;
781 DISALLOW_COPY_AND_ASSIGN(Instrumentation);
783 std::ostream& operator<<(std::ostream& os, Instrumentation::InstrumentationEvent rhs);
[all …]
Dcommon_dex_operations.h128 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in DoFieldGetCommon()
189 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in DoFieldPutCommon()
Dtrace.cc857 instrumentation::Instrumentation::kMethodEntered | in Start()
858 instrumentation::Instrumentation::kMethodExited | in Start()
859 instrumentation::Instrumentation::kMethodUnwind, in Start()
918 instrumentation::Instrumentation::kMethodEntered | in StopTracing()
919 instrumentation::Instrumentation::kMethodExited | in StopTracing()
920 instrumentation::Instrumentation::kMethodUnwind, in StopTracing()
970 instrumentation::Instrumentation::kMethodEntered | in RemoveListeners()
971 instrumentation::Instrumentation::kMethodExited | in RemoveListeners()
972 instrumentation::Instrumentation::kMethodUnwind, in RemoveListeners()
Druntime.h609 const instrumentation::Instrumentation* GetInstrumentation() const { in GetInstrumentation()
613 instrumentation::Instrumentation* GetInstrumentation() { in GetInstrumentation()
1331 instrumentation::Instrumentation instrumentation_;
Dquick_exception_handler.cc182 instrumentation::Instrumentation* instr = Runtime::Current()->GetInstrumentation(); in FindCatch()
Druntime.cc3191 explicit DeoptimizeBootImageClassVisitor(instrumentation::Instrumentation* instrumentation) in DeoptimizeBootImageClassVisitor()
3233 instrumentation::Instrumentation* const instrumentation_;
/art/runtime/interpreter/
Dinterpreter_switch_impl0.cc70 static bool HasFieldReadListeners(const instrumentation::Instrumentation* instrumentation) in HasFieldReadListeners()
76 static bool HasFieldWriteListeners(const instrumentation::Instrumentation* instrumentation) in HasFieldWriteListeners()
82 static bool HasBranchListeners(const instrumentation::Instrumentation* instrumentation) in HasBranchListeners()
96 static bool NeedsMethodExitEvent(const instrumentation::Instrumentation* instrumentation) in NeedsMethodExitEvent()
113 const instrumentation::Instrumentation* instrumentation) in Branch()
127 const instrumentation::Instrumentation* instrumentation, in DoDexPcMoveEvent()
158 const instrumentation::Instrumentation* instrumentation, in SendMethodExitEvents()
Dinterpreter_switch_impl1.cc136 static bool HasFieldReadListeners(const instrumentation::Instrumentation* instrumentation) in HasFieldReadListeners()
143 static bool HasFieldWriteListeners(const instrumentation::Instrumentation* instrumentation) in HasFieldWriteListeners()
150 static bool HasBranchListeners(const instrumentation::Instrumentation* instrumentation) in HasBranchListeners()
165 static bool NeedsMethodExitEvent(const instrumentation::Instrumentation* instrumentation) in NeedsMethodExitEvent()
183 [[maybe_unused]] const instrumentation::Instrumentation* instrumentation) in Branch()
194 [[maybe_unused]] const instrumentation::Instrumentation* instrumentation, in DoDexPcMoveEvent()
204 [[maybe_unused]] const instrumentation::Instrumentation* instrumentation, in SendMethodExitEvents()
Dinterpreter_switch_impl-inl.h66 const instrumentation::Instrumentation* instrumentation) in DoFieldGet()
163 const instrumentation::Instrumentation* instrumentation) in DoFieldPut()
285 PerformNonStandardReturn(Self(), shadow_frame_, ctx_->result, Instrumentation()); in CheckTransactionAbort()
296 PerformNonStandardReturn(Self(), shadow_frame_, ctx_->result, Instrumentation()); in CheckForceReturn()
371 Instrumentation(), in Preamble()
390 if (UNLIKELY(InstrumentationHandler::NeedsMethodExitEvent(Instrumentation()) && in HandleReturn()
392 Instrumentation(), in HandleReturn()
410 if (UNLIKELY(InstrumentationHandler::HasBranchListeners(Instrumentation()))) { in HandleBranch()
412 Self(), shadow_frame_.GetMethod(), DexPC(), offset, Instrumentation()); in HandleBranch()
526 Self(), shadow_frame_, inst_, inst_data_, Instrumentation()); in HandleGet()
[all …]
Dinterpreter_common.h138 const instrumentation::Instrumentation* instrumentation,
144 NeedsMethodExitEvent(const instrumentation::Instrumentation* ins) in NeedsMethodExitEvent()
155 const instrumentation::Instrumentation* instrumentation,
Dinterpreter_common.cc101 const instrumentation::Instrumentation* instrumentation, in SendMethodExitEvents()
129 const instrumentation::Instrumentation* instrumentation,
136 const instrumentation::Instrumentation* instrumentation,
155 const instrumentation::Instrumentation* instrumentation = in MoveToExceptionHandler()
1569 const instrumentation::Instrumentation* instrumentation, in PerformNonStandardReturn()
Dinterpreter.cc300 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in Execute()
/art/test/Instrumentation/
DInstrumentation.java17 public class Instrumentation { class
/art/tools/tracefast-plugin/
Dtracefast.cc130 art::instrumentation::Instrumentation::kMethodEntered | in StartTracing()
131 art::instrumentation::Instrumentation::kMethodExited | in StartTracing()
132 art::instrumentation::Instrumentation::kMethodUnwind); in StartTracing()
/art/runtime/entrypoints/quick/
Dquick_thread_entrypoints.cc26 instrumentation::Instrumentation* instr = Runtime::Current()->GetInstrumentation(); in artDeoptimizeIfNeeded()
Dquick_trampoline_entrypoints.cc751 instrumentation::Instrumentation* instr = Runtime::Current()->GetInstrumentation(); in artQuickToInterpreterBridge()
880 instrumentation::Instrumentation* instr = Runtime::Current()->GetInstrumentation(); in artQuickProxyInvokeHandler()
1303 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in artQuickResolutionTrampoline()
2019 instrumentation::Instrumentation* instr = Runtime::Current()->GetInstrumentation(); in artQuickGenericJniTrampoline()
2515 instrumentation::Instrumentation* instr = Runtime::Current()->GetInstrumentation(); in artJniMethodEntryHook()
2522 instrumentation::Instrumentation* instr = Runtime::Current()->GetInstrumentation(); in artMethodEntryHook()
2554 instrumentation::Instrumentation* instr = Runtime::Current()->GetInstrumentation(); in artMethodExitHook()
/art/tools/cpp-define-generator/
Druntime.def36 art::instrumentation::Instrumentation::RunExitHooksOffset().Int32Value())
/art/openjdkjvmti/
Devents.cc1062 return art::instrumentation::Instrumentation::kMethodEntered; in GetInstrumentationEventsFor()
1074 return art::instrumentation::Instrumentation::kMethodExited | in GetInstrumentationEventsFor()
1075 art::instrumentation::Instrumentation::kMethodUnwind; in GetInstrumentationEventsFor()
1083 return art::instrumentation::Instrumentation::kFieldWritten; in GetInstrumentationEventsFor()
1085 return art::instrumentation::Instrumentation::kFieldRead; in GetInstrumentationEventsFor()
1095 return art::instrumentation::Instrumentation::kDexPcMoved; in GetInstrumentationEventsFor()
1103 return art::instrumentation::Instrumentation::kWatchedFramePop; in GetInstrumentationEventsFor()
1105 return art::instrumentation::Instrumentation::kExceptionThrown; in GetInstrumentationEventsFor()
1107 return art::instrumentation::Instrumentation::kExceptionHandled; in GetInstrumentationEventsFor()
1222 art::instrumentation::Instrumentation* instr = art::Runtime::Current()->GetInstrumentation(); in SetupTraceListener()
/art/compiler/jni/quick/
Djni_compiler.cc233 int offset = instrumentation::Instrumentation::HaveMethodEntryListenersOffset().Int32Value(); in ArtJniCompileMethodInternal()
577 int offset = instrumentation::Instrumentation::RunExitHooksOffset().Int32Value(); in ArtJniCompileMethodInternal()
/art/test/common/
Druntime_state.cc59 instrumentation::Instrumentation::InstrumentationLevel::kInstrumentWithInterpreter; in GetJitIfEnabled()
/art/runtime/interpreter/mterp/
Dnterp.cc55 instrumentation::Instrumentation* instr = runtime->GetInstrumentation(); in CanRuntimeUseNterp()
/art/runtime/jit/
Djit_code_cache.cc128 instrumentation::Instrumentation* instrum = Runtime::Current()->GetInstrumentation(); in UpdateEntryPoints()
1675 instrumentation::Instrumentation* instr = runtime->GetInstrumentation(); in InvalidateAllCompiledCode()
/art/test/
DAndroid.bp1399 ":art-gtest-jars-Instrumentation",
1572 name: "art-gtest-jars-Instrumentation",
1573 srcs: ["Instrumentation/**/*.java"],

12