Home
last modified time | relevance | path

Searched refs:trace (Results 1 – 25 of 68) 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()
/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/726-array-store/src/
DMain.java38 StackTraceElement[] trace = ase.getStackTrace(); in check() local
39 checkElement(trace[0], "Main", methodName, "Main.java", methodLine); in check()
40 checkElement(trace[1], "Main", "main", "Main.java", mainLine); in check()
/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/test/988-method-trace/
DAndroid.bp3 name: "art-run-test-988-method-trace",
/art/test/991-field-trace-2/
DAndroid.bp3 name: "art-run-test-991-field-trace-2",
/art/test/990-field-trace/
DAndroid.bp3 name: "art-run-test-990-field-trace",
/art/test/989-method-trace-throw/
DAndroid.bp3 name: "art-run-test-989-method-trace-throw",
/art/test/911-get-stack-trace/
DAndroid.bp3 name: "art-run-test-911-get-stack-trace",
/art/test/1984-structural-redefine-field-trace/
DAndroid.bp3 name: "art-run-test-1984-structural-redefine-field-trace",
/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)
/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__) ; \

123