Home
last modified time | relevance | path

Searched refs:instrumentation (Results 1 – 25 of 43) sorted by relevance

12

/art/runtime/interpreter/
Dinterpreter_switch_impl0.cc70 static bool HasFieldReadListeners(const instrumentation::Instrumentation* instrumentation) in HasFieldReadListeners() argument
72 return instrumentation->HasFieldReadListeners(); in HasFieldReadListeners()
76 static bool HasFieldWriteListeners(const instrumentation::Instrumentation* instrumentation) in HasFieldWriteListeners() argument
78 return instrumentation->HasFieldWriteListeners(); in HasFieldWriteListeners()
82 static bool HasBranchListeners(const instrumentation::Instrumentation* instrumentation) in HasBranchListeners() argument
84 return instrumentation->HasBranchListeners(); in HasBranchListeners()
96 static bool NeedsMethodExitEvent(const instrumentation::Instrumentation* instrumentation) in NeedsMethodExitEvent() argument
98 return interpreter::NeedsMethodExitEvent(instrumentation); in NeedsMethodExitEvent()
113 const instrumentation::Instrumentation* instrumentation) in Branch() argument
115 instrumentation->Branch(self, method, dex_pc, dex_pc_offset); in Branch()
[all …]
Dinterpreter_switch_impl1.cc136 static bool HasFieldReadListeners(const instrumentation::Instrumentation* instrumentation) in HasFieldReadListeners() argument
138 DCHECK(!instrumentation->HasFieldReadListeners()); in HasFieldReadListeners()
143 static bool HasFieldWriteListeners(const instrumentation::Instrumentation* instrumentation) in HasFieldWriteListeners() argument
145 DCHECK(!instrumentation->HasFieldWriteListeners()); in HasFieldWriteListeners()
150 static bool HasBranchListeners(const instrumentation::Instrumentation* instrumentation) in HasBranchListeners() argument
152 DCHECK(!instrumentation->HasBranchListeners()); in HasBranchListeners()
165 static bool NeedsMethodExitEvent(const instrumentation::Instrumentation* instrumentation) in NeedsMethodExitEvent() argument
167 DCHECK(!interpreter::NeedsMethodExitEvent(instrumentation)); in NeedsMethodExitEvent()
183 [[maybe_unused]] const instrumentation::Instrumentation* instrumentation) in Branch() argument
194 [[maybe_unused]] const instrumentation::Instrumentation* instrumentation, in DoDexPcMoveEvent() argument
[all …]
Dinterpreter_common.cc101 const instrumentation::Instrumentation* instrumentation, in SendMethodExitEvents() argument
110 if (UNLIKELY(instrumentation->HasMethodExitListeners() && !frame.GetSkipMethodExitEvents())) { in SendMethodExitEvents()
112 instrumentation->MethodExitEvent(self, method, instrumentation::OptionalFrame{frame}, result); in SendMethodExitEvents()
115 if (UNLIKELY(frame.NeedsNotifyPop() && instrumentation->HasWatchedFramePopListeners())) { in SendMethodExitEvents()
117 instrumentation->WatchedFramePopped(self, frame); in SendMethodExitEvents()
129 const instrumentation::Instrumentation* instrumentation,
136 const instrumentation::Instrumentation* instrumentation,
155 const instrumentation::Instrumentation* instrumentation = in MoveToExceptionHandler() local
158 instrumentation->HasExceptionThrownListeners() && in MoveToExceptionHandler()
161 instrumentation->ExceptionThrownEvent(self, exception.Get()); in MoveToExceptionHandler()
[all …]
Dinterpreter_switch_impl-inl.h66 const instrumentation::Instrumentation* instrumentation) in DoFieldGet() argument
70 bool should_report = InstrumentationHandler::HasFieldReadListeners(instrumentation); in DoFieldGet()
163 const instrumentation::Instrumentation* instrumentation) in DoFieldPut() argument
167 bool should_report = InstrumentationHandler::HasFieldWriteListeners(instrumentation); in DoFieldPut()
1910 const instrumentation::Instrumentation* instrumentation, in InstructionHandler() argument
1919 instrumentation_(instrumentation), in InstructionHandler()
1948 ALWAYS_INLINE const instrumentation::Instrumentation* Instrumentation() { in Instrumentation()
1985 const instrumentation::Instrumentation* const instrumentation_;
2007 const instrumentation::Instrumentation* instrumentation, \
2016 ctx, instrumentation, self, shadow_frame, dex_pc, inst, inst_data, next, exit); \
[all …]
Dinterpreter.cc300 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in Execute() local
301 if (UNLIKELY(instrumentation->HasMethodEntryListeners() || shadow_frame.GetForcePopFrame())) { in Execute()
302 instrumentation->MethodEnterEvent(self, method); in Execute()
311 instrumentation, in Execute()
316 instrumentation->MethodUnwindEvent(self, in Execute()
325 instrumentation, in Execute()
Dinterpreter_common.h138 const instrumentation::Instrumentation* instrumentation,
144 NeedsMethodExitEvent(const instrumentation::Instrumentation* ins) in NeedsMethodExitEvent()
155 const instrumentation::Instrumentation* instrumentation,
/art/runtime/
Dinstrumentation_test.cc38 namespace instrumentation { namespace
40 class TestInstrumentationListener final : public instrumentation::InstrumentationListener {
65 [[maybe_unused]] instrumentation::OptionalFrame frame, in MethodExited()
73 [[maybe_unused]] instrumentation::OptionalFrame frame, in MethodExited()
192 instrumentation::Instrumentation* instr = Runtime::Current()->GetInstrumentation(); in CheckConfigureStubs()
219 instrumentation::Instrumentation* instr = Runtime::Current()->GetInstrumentation(); in TestEvent()
268 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); in DeoptimizeMethod() local
274 instrumentation->Deoptimize(method); in DeoptimizeMethod()
281 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); in UndeoptimizeMethod() local
287 instrumentation->Undeoptimize(method); in UndeoptimizeMethod()
[all …]
Dcommon_dex_operations.h128 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in DoFieldGetCommon() local
129 if (UNLIKELY(instrumentation->HasFieldReadListeners())) { in DoFieldGetCommon()
139 instrumentation->FieldReadEvent(self, in DoFieldGetCommon()
189 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in DoFieldPutCommon() local
190 if (UNLIKELY(instrumentation->HasFieldWriteListeners())) { in DoFieldPutCommon()
200 instrumentation->FieldWriteEvent(self, 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()
1305 [[maybe_unused]] instrumentation::OptionalFrame frame, in MethodExited()
Dalloc_instrumentation.md2 checks for both allocation instrumentation and allocator changes by a single function table
Dtrace.h392 class Trace final : public instrumentation::InstrumentationListener, public ClassLoadCallback {
479 instrumentation::OptionalFrame frame,
Druntime.h609 const instrumentation::Instrumentation* GetInstrumentation() const { in GetInstrumentation()
613 instrumentation::Instrumentation* GetInstrumentation() { in GetInstrumentation()
1331 instrumentation::Instrumentation instrumentation_;
/art/test/1959-redefine-object-instrument/
Dinfo.txt1 Regression test for bug related to interaction between instrumentation
4 Redefining a class does not update the instrumentation stack of a thread.
5 This is generally fine because the method pointer in the instrumentation
/art/test/687-deopt/
Dinfo.txt1 Regression test for instrumentation deopt, which previously did not expect a
2 quickened instruction when returning from instrumentation stub.
/art/tools/tracefast-plugin/
Dtracefast.cc42 class Tracer final : public art::instrumentation::InstrumentationListener {
52 [[maybe_unused]] art::instrumentation::OptionalFrame frame, in MethodExited()
58 [[maybe_unused]] art::instrumentation::OptionalFrame frame, in MethodExited()
130 art::instrumentation::Instrumentation::kMethodEntered | in StartTracing()
131 art::instrumentation::Instrumentation::kMethodExited | in StartTracing()
132 art::instrumentation::Instrumentation::kMethodUnwind); in StartTracing()
/art/test/572-checker-array-get-regression/
Dinfo.txt2 instrumentation of array loads with a large constant index, where we
/art/test/573-checker-checkcast-regression/
Dinfo.txt2 instrumentation of CheckCasts, where we used to use an
/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() local
1307 code = instrumentation->GetMaybeInstrumentedCodeForInvoke(called); 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/openjdkjvmti/
Ddeopt_manager.cc254 auto instrumentation = art::Runtime::Current()->GetInstrumentation(); in AddMethodBreakpoint() local
255 if (instrumentation->IsForcedInterpretOnly()) { in AddMethodBreakpoint()
290 auto instrumentation = art::Runtime::Current()->GetInstrumentation(); in RemoveMethodBreakpoint() local
291 if (UNLIKELY(instrumentation->IsForcedInterpretOnly())) { in RemoveMethodBreakpoint()
Devents.cc592 class JvmtiMethodTraceListener final : public art::instrumentation::InstrumentationListener {
640 art::instrumentation::OptionalFrame frame, in MethodExited()
693 art::instrumentation::OptionalFrame frame, in MethodExited()
1062 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()
[all …]
/art/tools/cpp-define-generator/
Druntime.def36 art::instrumentation::Instrumentation::RunExitHooksOffset().Int32Value())
/art/runtime/jit/
Djit.cc199 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in CompileMethodInternal() local
200 if (instrumentation->AreAllMethodsDeoptimized() || instrumentation->IsDeoptimized(method)) { in CompileMethodInternal()
/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/runtime/jni/
Djni_internal.cc276 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in NotifySetObjectField() local
277 if (UNLIKELY(instrumentation->HasFieldWriteListeners())) { in NotifySetObjectField()
291 instrumentation->FieldWriteEvent(self, in NotifySetObjectField()
303 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in NotifySetPrimitiveField() local
304 if (UNLIKELY(instrumentation->HasFieldWriteListeners())) { in NotifySetPrimitiveField()
316 instrumentation->FieldWriteEvent(self, in NotifySetPrimitiveField()
327 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); in NotifyGetField() local
328 if (UNLIKELY(instrumentation->HasFieldReadListeners())) { in NotifyGetField()
340 instrumentation->FieldReadEvent(self, in NotifyGetField()

12