Searched refs:trace (Results 1 - 25 of 43) sorted by relevance

12

/art/test/304-method-tracing/
H A Drun18 exec ${RUN} "$@" --runtime-option -Xmethod-trace --runtime-option -Xmethod-trace-file:${DEX_LOCATION}/trace.bin
/art/tools/runtime_memusage/
H A Dprune_sanitizer_output.py31 """Returns trace line number matches as integers for sorting.
34 # Hard coded string are necessary since each trace must have the address
35 # accessed, which is printed before trace lines.
44 def clean_trace_if_valid(trace, stack_min_size, prune_exact):
45 """Cleans trace if it meets a certain standard. Returns None otherwise."""
50 # trace:
69 # Adds a newline character if not present at the end of trace
70 trace = trace if trace[
[all...]
H A Dsymbol_trace_info.py32 """Returns the category a trace belongs to by searching substrings."""
84 print("\tSum of trace counts: " +
85 str(sum([trace[1] for trace in trace_counts_list_ordered])))
87 print(Counter([trace[1] for trace in trace_counts_list_ordered]))
89 for trace in trace_counts_list_ordered:
91 str(trace[1]) +
93 output_file.write(trace[0].strip())
98 symbol_file_split = [trace fo
[all...]
/art/runtime/mirror/
H A Dstack_trace_element.cc48 ObjPtr<StackTraceElement> trace = local
50 if (LIKELY(trace != nullptr)) {
52 trace->Init<true>(declaring_class.Get(), method_name.Get(), file_name.Get(), line_number);
54 trace->Init<false>(declaring_class.Get(), method_name.Get(), file_name.Get(), line_number);
57 return trace.Ptr();
H A Dthrowable.cc83 ObjPtr<mirror::ObjectArray<Object>> const trace = stack_state->AsObjectArray<Object>(); local
84 const int32_t array_len = trace->GetLength();
102 // Decode the internal stack trace into the depth and method trace
112 result += "(Throwable with empty stack trace)\n";
132 result += "(Throwable with empty stack trace)\n";
147 result += "(Throwable with no stack trace)\n";
/art/libartbase/base/
H A Dsystrace.h21 #include <cutils/trace.h>
78 ::art::ScopedTraceNoStart trace ## __LINE__; \
/art/test/671-npe-field-opts/src/
H A DMain.java60 StackTraceElement[] trace = npe.getStackTrace();
61 checkElement(trace[0], "Main", methodName, "Main.java", methodLine);
62 checkElement(trace[1], "Main", "main", "Main.java", mainLine);
/art/runtime/native/
H A Ddalvik_system_VMStack.cc44 ResultT trace = nullptr; local
47 trace = fn(soa.Self(), soa);
50 // required for the stack trace.
57 // Suspend thread to build stack trace.
69 trace = fn(thread, soa);
79 return trace;
89 jobject trace = GetThreadStack(soa, javaThread, fn); local
90 if (trace == nullptr) {
94 Thread::InternalStackTraceToStackTraceElementArray(soa, trace, javaSteArray, &depth);
156 jobject trace local
[all...]
H A Dorg_apache_harmony_dalvik_ddmc_DdmVmInternal.cc53 * Get a stack trace as an array of StackTraceElement objects. Returns
57 jobjectArray trace = nullptr; local
63 trace = Thread::InternalStackTraceToStackTraceElementArray(soa, internal_trace);
73 // Suspend thread to build stack trace.
81 trace = Thread::InternalStackTraceToStackTraceElementArray(soa, internal_trace);
93 return trace;
/art/test/051-thread/src/
H A DMain.java182 StackTraceElement[] trace = Thread.getAllStackTraces().get(Thread.currentThread());
183 if (trace == null) {
186 List<StackTraceElement> list = Arrays.asList(trace);
/art/test/044-proxy/src/
H A DBasicTest.java53 Trace trace = (Trace) proxy;
54 trace.getTrace();
57 int unusedHashCode = ((Object)trace).hashCode();
58 boolean unusedEquals = ((Object)trace).equals(trace);
59 String unusedString = ((Object)trace).toString();
/art/runtime/entrypoints/quick/
H A Dquick_deoptimization_entrypoints.cc45 ScopedTrace trace(std::string("Deoptimization ") + GetDeoptimizationKindName(kind));
/art/runtime/dex/
H A Dart_dex_file_loader.cc166 ScopedTrace trace(std::string("Open dex file from RAM ") + location);
187 ScopedTrace trace(std::string("Open dex file from mapped-memory ") + location);
224 ScopedTrace trace(std::string("Open dex file ") + std::string(location));
259 ScopedTrace trace("Open dex file " + std::string(location));
269 ScopedTrace trace("Dex file open Zip " + std::string(location));
286 ScopedTrace trace(std::string("Open dex file ") + std::string(location));
356 ScopedTrace trace("Dex file open from Zip Archive " + std::string(location));
453 ScopedTrace trace("Dex file open from Zip " + std::string(location));
/art/runtime/gc/
H A Dallocation_record.cc78 // Check whether there's a system property overriding the max depth of stack trace.
270 // Get stack trace outside of lock in case there are allocations during the stack walk.
272 AllocRecordStackTrace trace; local
273 AllocRecordStackVisitor visitor(self, max_stack_depth_, /*out*/ &trace);
310 trace.SetTid(self->GetTid());
313 Put(obj->Ptr(), AllocRecord(byte_count, (*obj)->GetClass(), std::move(trace)));
H A Dallocation_record.h159 AllocRecord(size_t count, mirror::Class* klass, AllocRecordStackTrace&& trace) argument
160 : byte_count_(count), klass_(klass), trace_(std::move(trace)) {}
211 // Caller needs to check that it is enabled before calling since we read the stack trace before
/art/test/991-field-trace-2/src/art/
H A DTest991.java197 for (FieldTracer trace : tracers) {
198 System.out.println("Test is " + trace.getClass() + " & " + c.getClass());
200 TRACE = trace;
/art/runtime/gc/accounting/
H A Dcard_table.cc62 ScopedTrace trace(__PRETTY_FUNCTION__);
/art/test/122-npe/src/
H A DMain.java559 StackTraceElement[] trace = npe.getStackTrace();
560 checkElement(trace[0], "Main", "methodTwo", "Main.java", firstLine);
561 checkElement(trace[1], "Main", "methodOne", "Main.java", 27);
562 checkElement(trace[2], "Main", "main", "Main.java", 23);
/art/runtime/hprof/
H A Dhprof.cc567 // U4: stack trace serial number
631 const gc::AllocRecordStackTrace* trace = r->second; local
632 auto result = traces_.find(trace);
685 // Write a dummy stack trace record so the analysis tools don't freak out.
691 // TODO: jhat complains "WARNING: Stack trace not found for serial # -1", but no trace should
694 const gc::AllocRecordStackTrace* trace = it.first; local
696 size_t depth = trace->GetDepth();
698 // First write stack frames of the trace
700 const gc::AllocRecordStackTraceElement* frame = &trace
847 const gc::AllocRecordStackTrace* trace = it->second.GetStackTrace(); local
[all...]
/art/runtime/
H A Dreference_table.cc226 const gc::AllocRecordStackTrace* trace = record.GetStackTrace();
227 size_t depth = trace->GetDepth();
232 const gc::AllocRecordStackTraceElement& frame = trace->GetStackElement(i);
248 // Print the stack trace of the ref.
H A Dthread_list.cc49 #include "trace.h"
91 ScopedTrace trace(__PRETTY_FUNCTION__);
367 ScopedTrace trace([&]() {
649 ScopedTrace trace("Suspending mutator threads");
801 ScopedTrace trace("Resuming mutator threads");
1310 ScopedTrace trace(__PRETTY_FUNCTION__);
1342 ScopedTrace trace(__PRETTY_FUNCTION__);
/art/runtime/jit/
H A Djit_code_cache.cc165 ScopedTrace trace(__PRETTY_FUNCTION__);
356 ScopedTrace trace("mprotect all");
366 ScopedTrace trace("mprotect code");
605 ScopedTrace trace(__PRETTY_FUNCTION__);
1109 ScopedTrace trace(__PRETTY_FUNCTION__);
1208 ScopedTrace trace(__FUNCTION__);
1313 ScopedTrace trace(__FUNCTION__);
1343 ScopedTrace trace(__FUNCTION__);
1434 ScopedTrace trace(__FUNCTION__);
1608 ScopedTrace trace(__FUNCTION_
[all...]
/art/test/testrunner/
H A Dtestrunner.py140 VARIANT_TYPE_DICT['trace'] = {'trace', 'ntrace', 'stream'}
149 VARIANT_TYPE_DICT['jvmti'] = {'no-jvmti', 'jvmti-stress', 'redefine-stress', 'trace-stress',
206 if not _user_input_variants['trace']: # Default
207 _user_input_variants['trace'].add('ntrace')
355 user_input_variants['relocate'], user_input_variants['trace'],
368 'relocate': [''], 'trace': [''],
375 test, target, run, prebuild, compiler, relocate, trace, gc, \
394 test_name += trace + '-'
405 variant_set = {target, run, prebuild, compiler, relocate, trace, g
[all...]
/art/test/ti-agent/
H A Dtrace_helper.cc444 jclass trace ATTRIBUTE_UNUSED,
458 jclass trace ATTRIBUTE_UNUSED,
471 jclass trace ATTRIBUTE_UNUSED,
590 jclass trace,
599 trace,
588 Java_art_Trace_enableTracing( JNIEnv* env, jclass trace, jclass klass, jobject enter, jobject exit, jobject field_access, jobject field_modify, jobject single_step, jthread thr) argument
/art/test/
H A Drun-test148 trace="false"
266 elif [ "x$1" = "x--jvmti-trace-stress" ]; then
404 elif [ "x$1" = "x--trace" ]; then
405 trace="true"
512 run_args="${run_args} --no-app-image --jvmti-trace-stress"
514 if [ "$trace" = "true" ]; then
515 run_args="${run_args} --runtime-option -Xmethod-trace --runtime-option -Xmethod-trace-file-size:2000000"
519 run_args="${run_args} --runtime-option -Xmethod-trace-file:/dev/null"
521 run_args="${run_args} --runtime-option -Xmethod-trace
[all...]

Completed in 2862 milliseconds

12