Home
last modified time | relevance | path

Searched refs:unwinder (Results 1 – 10 of 10) sorted by relevance

/art/runtime/
Dbacktrace_helper.cc92 unwindstack::Unwinder* unwinder = UnwindHelper::Get(Thread::Current(), max_depth_)->Unwinder(); in Collect() local
93 if (!CollectImpl(unwinder)) { in Collect()
98 if (!any_changed || !CollectImpl(unwinder)) { in Collect()
100 std::vector<unwindstack::FrameData>& frames = unwinder->frames(); in Collect()
101 LOG(ERROR) << "Failed to unwind stack (error " << unwinder->LastErrorCodeString() << "):"; in Collect()
122 bool BacktraceCollector::CollectImpl(unwindstack::Unwinder* unwinder) { in CollectImpl() argument
125 unwinder->SetRegs(regs.get()); in CollectImpl()
126 unwinder->Unwind(); in CollectImpl()
129 if (unwinder->NumFrames() > skip_count_) { in CollectImpl()
130 for (auto it = unwinder->frames().begin() + skip_count_; it != unwinder->frames().end(); ++it) { in CollectImpl()
[all …]
Dnative_stack_dump.cc325 unwindstack::AndroidLocalUnwinder unwinder; in DumpNativeStack() local
326 DumpNativeStack(os, unwinder, tid, prefix, current_method, ucontext_ptr, skip_frames); in DumpNativeStack()
330 unwindstack::AndroidLocalUnwinder& unwinder, in DumpNativeStack() argument
341 unwind_ret = unwinder.Unwind(ucontext_ptr, data); in DumpNativeStack()
343 unwind_ret = unwinder.Unwind(tid, data); in DumpNativeStack()
Dnative_stack_dump.h48 unwindstack::AndroidLocalUnwinder& unwinder,
Dbacktrace_helper.h47 bool CollectImpl(unwindstack::Unwinder* unwinder);
Dthread_list.cc124 unwindstack::AndroidLocalUnwinder unwinder; in DumpNativeStacks() local
127 DumpNativeStack(os, unwinder, thread->GetTid(), "\t"); in DumpNativeStacks()
Dthread.cc1429 unwindstack::AndroidLocalUnwinder& unwinder, in Dump() argument
1433 return DumpStack(os, unwinder, dump_native_stack, force_dump_stack); in Dump()
2354 unwindstack::AndroidLocalUnwinder unwinder; in DumpStack() local
2355 return DumpStack(os, unwinder, dump_native_stack, force_dump_stack); in DumpStack()
2359 unwindstack::AndroidLocalUnwinder& unwinder, in DumpStack() argument
2381 DumpNativeStack(os, unwinder, GetTid(), " native: ", method); in DumpStack()
Dthread.h335 unwindstack::AndroidLocalUnwinder& unwinder,
1717 unwindstack::AndroidLocalUnwinder& unwinder,
/art/test/137-cfi/
Dcfi.cc109 static bool CheckStack(unwindstack::AndroidUnwinder& unwinder, in CheckStack() argument
153 printf(" %s\n", unwinder.FormatFrame(frame).c_str()); in CheckStack()
177 unwindstack::AndroidLocalUnwinder unwinder; in Java_Main_unwindInProcess() local
179 if (!unwinder.Unwind(data)) { in Java_Main_unwindInProcess()
195 bool result = CheckStack(unwinder, data, seq); in Java_Main_unwindInProcess()
270 unwindstack::AndroidRemoteUnwinder unwinder(pid); in Java_Main_unwindOtherProcess() local
272 if (!unwinder.Unwind(data)) { in Java_Main_unwindOtherProcess()
285 result = CheckStack(unwinder, data, seq); in Java_Main_unwindOtherProcess()
/art/tools/signal_dumper/
Dsignal_dumper.cc502 void DumpThread(unwindstack::AndroidRemoteUnwinder& unwinder, pid_t pid, in DumpThread() argument
514 if (!unwinder.Unwind(tid, data)) { in DumpThread()
593 unwindstack::AndroidRemoteUnwinder unwinder(forked_pid); in DumpProcess() local
595 DumpThread(unwinder, forked_pid, tid, addr2line_path.get(), " "); in DumpProcess()
/art/sigchainlib/
Dsigchain.cc103 unwindstack::AndroidLocalUnwinder unwinder; in LogStack() local
105 if (!unwinder.Unwind(data)) { in LogStack()