Home
last modified time | relevance | path

Searched refs:unwinder_ (Results 1 - 10 of 10) sorted by relevance

/base/hiviewdfx/faultloggerd/interfaces/innerkits/backtrace/
H A Dbacktrace_local_thread.cpp34 : tid_(tid), unwinder_(unwinder) in BacktraceLocalThread()
50 if (unwinder_ == nullptr || tid_ < BACKTRACE_CURRENT_THREAD) { in Unwind()
55 ret = unwinder_->UnwindLocal(false, fast, maxFrameNum, skipFrameNum + 1); in Unwind()
58 Unwinder::GetLocalFramesByPcs(frames_, unwinder_->GetPcs()); in Unwind()
62 frames_ = unwinder_->GetFrames(); in Unwind()
67 ret = unwinder_->UnwindLocalWithTid(tid_, maxFrameNum, skipFrameNum + 1); in Unwind()
69 Unwinder::GetLocalFramesByPcs(frames_, unwinder_->GetPcs()); in Unwind()
71 frames_ = unwinder_->GetFrames(); in Unwind()
H A Dbacktrace_local_thread.h44 std::shared_ptr<Unwinder> unwinder_; member in OHOS::HiviewDFX::BacktraceLocalThread
/base/hiviewdfx/faultloggerd/tools/process_dump/
H A Ddfx_unwind_async_thread.cpp36 if (unwinder_ == nullptr || thread_ == nullptr) { in UnwindStack()
43 unwinder_->SetRegs(regs); in UnwindStack()
48 bool ret = unwinder_->UnwindRemote(tmpPid, in UnwindStack()
53 ReportUnwinderException(unwinder_->GetLastErrorCode()); in UnwindStack()
58 thread_->SetFrames(unwinder_->GetFrames()); in UnwindStack()
69 thread_->SetFrames(unwinder_->GetFrames()); in UnwindStack()
71 LockParser::ParseLockInfo(unwinder_, tmpPid, thread_->threadInfo_.nsTid); in UnwindStack()
75 thread_->SetFrames(unwinder_->GetFrames()); in UnwindStack()
89 const std::shared_ptr<DfxMaps>& maps = unwinder_->GetMaps(); in GetSubmitterStack()
111 unwinder_ in GetSubmitterStack()
[all...]
H A Ddfx_unwind_async_thread.h32 : thread_(thread), unwinder_(unwinder), stackId_(stackId) {} in DfxUnwindAsyncThread()
41 std::shared_ptr<Unwinder> unwinder_ = nullptr; member in OHOS::HiviewDFX::DfxUnwindAsyncThread
H A Dprocess_dumper.cpp436 const auto& jitCache = unwinder_->GetJitCache(); in UnwindWriteJit()
452 if (unwinder_->ArkWriteJitCodeToFile(fd) < 0) { in UnwindWriteJit()
512 if (!DfxUnwindRemote::GetInstance().UnwindProcess(request, process_, unwinder_, vmPid)) { in Unwind()
658 unwinder_ = std::make_shared<Unwinder>(realPid, vmPid, isCrash_); in InitUnwinder()
661 unwinder_ = std::make_shared<Unwinder>(process_->vmThread_->threadInfo_.pid); in InitUnwinder()
663 unwinder_ = std::make_shared<Unwinder>(process_->processInfo_.pid, false); in InitUnwinder()
666 if (unwinder_ == nullptr) { in InitUnwinder()
667 DFXLOGE("unwinder_ is nullptr!"); in InitUnwinder()
670 if (unwinder_->GetMaps() == nullptr) { in InitUnwinder()
H A Dprocess_dumper.h70 std::shared_ptr<Unwinder> unwinder_ = nullptr; member in OHOS::HiviewDFX::final
/base/hiviewdfx/hicollie/frameworks/native/thread_sampler/include/
H A Dsample_stack_printer.h47 SampleStackPrinter(std::shared_ptr<Unwinder> unwinder, std::shared_ptr<DfxMaps> maps) : unwinder_(unwinder), in SampleStackPrinter()
71 std::shared_ptr<Unwinder> unwinder_; member in OHOS::HiviewDFX::SampleStackPrinter
H A Dthread_sampler.h110 std::shared_ptr<Unwinder> unwinder_ {nullptr};
/base/hiviewdfx/hicollie/frameworks/native/thread_sampler/
H A Dthread_sampler.cpp211 unwinder_ = std::make_shared<Unwinder>(accessors_, true); in InitUnwinder()
246 unwinder_.reset(); in DestroyUnwinder()
423 DoUnwind(unwinder_, unwindInfo); in ProcessStackBuffer()
428 auto frames = unwinder_->GetFrames(); in ProcessStackBuffer()
432 auto pcs = unwinder_->GetPcs(); in ProcessStackBuffer()
508 auto printer = std::make_unique<SampleStackPrinter>(unwinder_, maps_); in CollectStack()
H A Dsample_stack_printer.cpp44 unwinder_->GetFrameByPc(pc, maps_, *(curNode->current)); in Insert()
134 unwinder_->FillFrame(frame); in GetFullStack()

Completed in 5 milliseconds