Home
last modified time | relevance | path

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

123

/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/mirror/
Dstack_trace_element.cc35 ObjPtr<StackTraceElement> trace = in Alloc() local
37 if (LIKELY(trace != nullptr)) { in Alloc()
39 trace->Init<true>(declaring_class.Get(), method_name.Get(), file_name.Get(), line_number); in Alloc()
41 trace->Init<false>(declaring_class.Get(), method_name.Get(), file_name.Get(), line_number); in Alloc()
44 return trace; in Alloc()
Dthrowable.cc88 const ObjPtr<mirror::ObjectArray<Object>> trace = stack_state->AsObjectArray<Object>(); in GetStackDepth() local
89 const int32_t array_len = trace->GetLength(); in GetStackDepth()
/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.cc58 jobjectArray trace = nullptr; in DdmVmInternal_getStackTraceById() local
64 trace = Thread::InternalStackTraceToStackTraceElementArray(soa, internal_trace); in DdmVmInternal_getStackTraceById()
82 trace = Thread::InternalStackTraceToStackTraceElementArray(soa, internal_trace); in DdmVmInternal_getStackTraceById()
94 return trace; in DdmVmInternal_getStackTraceById()
/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/tools/jvmti-agents/ti-alloc-sample/
Dmkflame.py160 trace = self.definition(index)
165 if trace in self.allocation_count:
166 self.allocation_count[trace] = self.allocation_count[trace] + weight
168 self.allocation_count[trace] = weight
/art/runtime/jit/
Djit_scoped_code_cache_write.h41 ScopedTrace trace("mprotect all"); in ScopedCodeCacheWrite()
50 ScopedTrace trace("mprotect code"); in ~ScopedCodeCacheWrite()
/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/gc/
Dallocation_record.cc190 AllocRecordStackTrace trace; in RecordAllocation() local
197 if (trace.GetDepth() >= max_stack_depth_) { in RecordAllocation()
204 trace.AddStackElement(AllocRecordStackTraceElement(m, stack_visitor->GetDexPc())); in RecordAllocation()
242 trace.SetTid(self->GetTid()); in RecordAllocation()
245 Put(obj->Ptr(), AllocRecord(byte_count, (*obj)->GetClass(), std::move(trace))); in RecordAllocation()
/art/libdexfile/dex/
Dart_dex_file_loader.cc169 ScopedTrace trace(std::string("Open dex file from RAM ") + location); in Open() local
190 ScopedTrace trace(std::string("Open dex file from mapped-memory ") + location); in Open() local
260 ScopedTrace trace(std::string("Open dex file ") + std::string(location)); in OpenWithMagic() local
289 ScopedTrace trace("Open dex file " + std::string(location)); in OpenDex() local
299 ScopedTrace trace("Dex file open Zip " + std::string(location)); in OpenZip() local
316 ScopedTrace trace(std::string("Open dex file ") + std::string(location)); in OpenFile() local
388 ScopedTrace trace("Dex file open from Zip Archive " + std::string(location)); in OpenOneDexFileFromZip() local
487 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/test/
Drun-test149 trace="false"
474 trace="true"
592 run_args+=(--no-app-image --jvmti-trace-stress)
594 if [ "$trace" = "true" ]; then
595 run_args+=(--runtime-option -Xmethod-trace --runtime-option -Xmethod-trace-file-size:2000000)
599 run_args+=(--runtime-option -Xmethod-trace-file:/dev/null)
601 run_args+=(--runtime-option -Xmethod-trace-stream)
DAndroid.bp308 "911-get-stack-trace/stack_trace.cc",
327 "988-method-trace/trace_fib.cc",
328 "989-method-trace-throw/method_trace.cc",
329 "991-field-trace-2/field_trace.cc",
642 "911-get-stack-trace/src/art/Test911.java",
643 "911-get-stack-trace/src/art/AllTraces.java",
644 "911-get-stack-trace/src/art/ControlData.java",
645 "911-get-stack-trace/src/art/Frames.java",
646 "911-get-stack-trace/src/art/OtherThread.java",
647 "911-get-stack-trace/src/art/PrintThread.java",
[all …]
/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/libartbase/base/
Dsystrace.h98 ::art::ScopedTraceNoStart APPEND_TOKENS_AFTER_EVAL(trace, __LINE__) ; \
/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/runtime/
Doat_file_assistant.cc309 ScopedTrace trace("HasOriginalDexFiles"); in HasOriginalDexFiles() local
326 ScopedTrace trace("DexChecksumUpToDate(vdex)"); in DexChecksumUpToDate() local
359 ScopedTrace trace("DexChecksumUpToDate(oat)"); in DexChecksumUpToDate() local
659 ScopedTrace trace("GetBestInfo"); in GetBestInfo() local
731 ScopedTrace trace("IsUseable"); in IsUseable() local
743 ScopedTrace trace("Status"); in Status() local
967 ScopedTrace trace("ReleaseFileForUse"); in ReleaseFileForUse() local
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/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()

123