Home
last modified time | relevance | path

Searched refs:trace (Results 1 – 25 of 48) sorted by relevance

12

/art/tools/runtime_memusage/
Dprune_sanitizer_output.py44 def clean_trace_if_valid(trace, stack_min_size, prune_exact): argument
70 trace = trace if trace[-1] == "\n" else trace + "\n"
75 "|READ", trace)
85 trace_line_matches.append((trace_line_matches[-1][0] + 1, len(trace)))
90 return trace[:trace.rindex("\n", 0, bad_match[1]) + 1]
135 trace_clean_split = [clean_trace_if_valid(trace,
138 for trace in trace_split
140 trace_clean_split = [trace for trace in trace_clean_split
141 if trace is not None]
Dsymbol_trace_info.py85 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 for trace in symbol_file_split
99 if trace is not None]
103 cat_split = [trace for trace in symbol_file_split
104 if cat_name in trace]
108 noncat_split = [trace for trace in symbol_file_split
[all …]
DREADME11 names as arguments. A trace is put into a category if the category name is a
12 substring of the symbolized trace.
19 In addition, when poisoned sections of memory are accesses, their stack trace is
39 unnecessary trace information.
/art/test/304-method-tracing/
Drun18 exec ${RUN} "$@" --runtime-option -Xmethod-trace --runtime-option -Xmethod-trace-file:${DEX_LOCATIO…
/art/runtime/native/
Ddalvik_system_VMStack.cc44 ResultT trace = nullptr; in GetThreadStack() local
47 trace = fn(soa.Self(), soa); in GetThreadStack()
69 trace = fn(thread, soa); in GetThreadStack()
79 return trace; in GetThreadStack()
89 jobject trace = GetThreadStack(soa, javaThread, fn); in VMStack_fillStackTraceElements() local
90 if (trace == nullptr) { in VMStack_fillStackTraceElements()
94 Thread::InternalStackTraceToStackTraceElementArray(soa, trace, javaSteArray, &depth); in VMStack_fillStackTraceElements()
156 jobject trace = GetThreadStack(soa, javaThread, fn); in VMStack_getThreadStackTrace() local
157 if (trace == nullptr) { in VMStack_getThreadStackTrace()
160 return Thread::InternalStackTraceToStackTraceElementArray(soa, trace); in VMStack_getThreadStackTrace()
Dorg_apache_harmony_dalvik_ddmc_DdmVmInternal.cc57 jobjectArray trace = nullptr; in DdmVmInternal_getStackTraceById() local
63 trace = Thread::InternalStackTraceToStackTraceElementArray(soa, internal_trace); in DdmVmInternal_getStackTraceById()
81 trace = Thread::InternalStackTraceToStackTraceElementArray(soa, internal_trace); in DdmVmInternal_getStackTraceById()
93 return trace; in DdmVmInternal_getStackTraceById()
/art/runtime/mirror/
Dstack_trace_element.cc48 ObjPtr<StackTraceElement> trace = in Alloc() local
50 if (LIKELY(trace != nullptr)) { in Alloc()
52 trace->Init<true>(declaring_class.Get(), method_name.Get(), file_name.Get(), line_number); in Alloc()
54 trace->Init<false>(declaring_class.Get(), method_name.Get(), file_name.Get(), line_number); in Alloc()
57 return trace.Ptr(); in Alloc()
Dthrowable.cc83 ObjPtr<mirror::ObjectArray<Object>> const trace = stack_state->AsObjectArray<Object>(); in GetStackDepth() local
84 const int32_t array_len = trace->GetLength(); in GetStackDepth()
/art/test/081-hot-exceptions/
Dinfo.txt1 Make a hot exception-throwing path to stress test how the trace builder handles
2 exceptions encountered during trace selection. The existence of exceptions will
/art/test/671-npe-field-opts/src/
DMain.java60 StackTraceElement[] trace = npe.getStackTrace(); in check() local
61 checkElement(trace[0], "Main", methodName, "Main.java", methodLine); in check()
62 checkElement(trace[1], "Main", "main", "Main.java", mainLine); in check()
/art/test/044-proxy/src/
DBasicTest.java53 Trace trace = (Trace) proxy; in main() local
54 trace.getTrace(); in main()
57 int unusedHashCode = ((Object)trace).hashCode(); in main()
58 boolean unusedEquals = ((Object)trace).equals(trace); in main()
59 String unusedString = ((Object)trace).toString(); in main()
/art/runtime/dex/
Dart_dex_file_loader.cc166 ScopedTrace trace(std::string("Open dex file from RAM ") + location); in Open() local
187 ScopedTrace trace(std::string("Open dex file from mapped-memory ") + location); in Open() local
224 ScopedTrace trace(std::string("Open dex file ") + std::string(location)); in Open() local
259 ScopedTrace trace("Open dex file " + std::string(location)); in OpenDex() local
269 ScopedTrace trace("Dex file open Zip " + std::string(location)); in OpenZip() local
286 ScopedTrace trace(std::string("Open dex file ") + std::string(location)); in OpenFile() local
356 ScopedTrace trace("Dex file open from Zip Archive " + std::string(location)); in OpenOneDexFileFromZip() local
453 ScopedTrace trace("Dex file open from Zip " + std::string(location)); in OpenAllDexFilesFromZip() local
/art/test/051-thread/src/
DMain.java182 StackTraceElement[] trace = Thread.getAllStackTraces().get(Thread.currentThread()); in testMainThreadAllStackTraces() local
183 if (trace == null) { in testMainThreadAllStackTraces()
186 List<StackTraceElement> list = Arrays.asList(trace); in testMainThreadAllStackTraces()
/art/libartbase/base/
Dsystrace.h78 ::art::ScopedTraceNoStart trace ## __LINE__; \
/art/runtime/gc/
Dallocation_record.cc272 AllocRecordStackTrace trace; in RecordAllocation() local
273 AllocRecordStackVisitor visitor(self, max_stack_depth_, /*out*/ &trace); in RecordAllocation()
310 trace.SetTid(self->GetTid()); in RecordAllocation()
313 Put(obj->Ptr(), AllocRecord(byte_count, (*obj)->GetClass(), std::move(trace))); in RecordAllocation()
Dallocation_record.h159 AllocRecord(size_t count, mirror::Class* klass, AllocRecordStackTrace&& trace) in AllocRecord() argument
160 : byte_count_(count), klass_(klass), trace_(std::move(trace)) {} in AllocRecord()
/art/runtime/entrypoints/quick/
Dquick_deoptimization_entrypoints.cc45 ScopedTrace trace(std::string("Deoptimization ") + GetDeoptimizationKindName(kind)); in artDeoptimizeImpl() local
/art/test/991-field-trace-2/src/art/
DTest991.java197 for (FieldTracer trace : tracers) { in run()
198 System.out.println("Test is " + trace.getClass() + " & " + c.getClass()); in run()
200 TRACE = trace; in run()
/art/runtime/hprof/
Dhprof.cc631 const gc::AllocRecordStackTrace* trace = r->second; in LookupStackTraceSerialNumber() local
632 auto result = traces_.find(trace); in LookupStackTraceSerialNumber()
694 const gc::AllocRecordStackTrace* trace = it.first; in WriteStackTraces() local
696 size_t depth = trace->GetDepth(); in WriteStackTraces()
700 const gc::AllocRecordStackTraceElement* frame = &trace->GetStackElement(i); in WriteStackTraces()
735 __ AddU4(trace->GetTid()); in WriteStackTraces()
738 const gc::AllocRecordStackTraceElement* frame = &trace->GetStackElement(i); in WriteStackTraces()
847 const gc::AllocRecordStackTrace* trace = it->second.GetStackTrace(); in PopulateAllocationTrackingTraces() local
850 auto records_result = allocation_records_.emplace(obj, trace); in PopulateAllocationTrackingTraces()
855 auto traces_result = traces_.find(trace); in PopulateAllocationTrackingTraces()
[all …]
/art/tools/dmtracedump/
DAndroid.bp15 // Java method trace dump tool
/art/test/122-npe/src/
DMain.java559 StackTraceElement[] trace = npe.getStackTrace(); in check() local
560 checkElement(trace[0], "Main", "methodTwo", "Main.java", firstLine); in check()
561 checkElement(trace[1], "Main", "methodOne", "Main.java", 27); in check()
562 checkElement(trace[2], "Main", "main", "Main.java", 23); in check()
/art/runtime/
Dreference_table.cc226 const gc::AllocRecordStackTrace* trace = record.GetStackTrace(); in Dump() local
227 size_t depth = trace->GetDepth(); in Dump()
232 const gc::AllocRecordStackTraceElement& frame = trace->GetStackElement(i); in Dump()
/art/runtime/gc/accounting/
Dcard_table.cc62 ScopedTrace trace(__PRETTY_FUNCTION__); in Create() local
/art/test/testrunner/
Dtestrunner.py375 test, target, run, prebuild, compiler, relocate, trace, gc, \
394 test_name += trace + '-'
405 variant_set = {target, run, prebuild, compiler, relocate, trace, gc, jni,
448 if trace == 'trace':
450 elif trace == 'stream':
/art/test/ti-agent/
Dtrace_helper.cc444 jclass trace ATTRIBUTE_UNUSED, in Java_art_Trace_watchFieldModification()
458 jclass trace ATTRIBUTE_UNUSED, in Java_art_Trace_watchFieldAccess()
471 jclass trace ATTRIBUTE_UNUSED, in Java_art_Trace_enableTracing2()
590 jclass trace, in Java_art_Trace_enableTracing() argument
599 trace, in Java_art_Trace_enableTracing()

12