Home
last modified time | relevance | path

Searched refs:backtrace (Results 1 – 3 of 3) sorted by relevance

/art/runtime/
Dnative_stack_dump.cc333 std::unique_ptr<Backtrace> backtrace(Backtrace::Create(BACKTRACE_CURRENT_PROCESS, tid, map)); in DumpNativeStack() local
334 backtrace->SetSkipFrames(skip_frames); in DumpNativeStack()
335 if (!backtrace->Unwind(0, reinterpret_cast<ucontext*>(ucontext_ptr))) { in DumpNativeStack()
337 << ": " << backtrace->GetErrorString(backtrace->GetError()) << ")" << std::endl; in DumpNativeStack()
339 } else if (backtrace->NumFrames() == 0) { in DumpNativeStack()
356 for (Backtrace::const_iterator it = backtrace->begin(); in DumpNativeStack()
357 it != backtrace->end(); ++it) { in DumpNativeStack()
/art/tools/signal_dumper/
Dsignal_dumper.cc507 std::unique_ptr<Backtrace> backtrace(Backtrace::Create(pid, tid, map)); in DumpThread() local
508 if (backtrace == nullptr) { in DumpThread()
512 backtrace->SetSkipFrames(false); in DumpThread()
513 if (!backtrace->Unwind(0, nullptr)) { in DumpThread()
515 << ": " << backtrace->GetErrorString(backtrace->GetError()) << ")"; in DumpThread()
518 if (backtrace->NumFrames() == 0) { in DumpThread()
525 for (Backtrace::const_iterator it = backtrace->begin(); in DumpThread()
526 it != backtrace->end(); ++it) { in DumpThread()
/art/runtime/gc/
Dheap.cc4234 FixedSizeBacktrace<kMaxFrames> backtrace; in CheckGcStressMode() local
4235 backtrace.Collect(/* skip_count= */ 2); in CheckGcStressMode()
4236 uint64_t hash = backtrace.Hash(); in CheckGcStressMode()