Home
last modified time | relevance | path

Searched refs:FpUnwinder (Results 1 - 8 of 8) sorted by relevance

/base/hiviewdfx/faultloggerd/interfaces/innerkits/async_stack/
H A Dfp_unwinder.h21 class FpUnwinder { class
23 FpUnwinder();
24 ~FpUnwinder();
H A Dfp_unwinder.cpp33 int32_t FpUnwinder::Unwind(uintptr_t* pcs, int32_t sz, int32_t skipFrameNum) in Unwind()
72 int32_t FpUnwinder::UnwindFallback(uintptr_t* pcs, int32_t sz, int32_t skipFrameNum) in UnwindFallback()
104 NO_SANITIZE bool FpUnwinder::ReadUintptrSafe(uintptr_t addr, uintptr_t& value) in ReadUintptrSafe()
H A Dasync_stack.cpp72 size_t sz = static_cast<size_t>(OHOS::HiviewDFX::FpUnwinder::Unwind(pcs, maxSize, skipFrameNum)); in CollectAsyncStack()
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/include/
H A Dfp_unwinder.h36 class FpUnwinder { class
38 static FpUnwinder* GetPtr() in GetPtr()
40 static std::unique_ptr<FpUnwinder> ptr = nullptr; in GetPtr()
44 ptr.reset(new FpUnwinder()); in GetPtr()
131 FpUnwinder() = default;
132 DISALLOW_COPY_AND_MOVE(FpUnwinder);
/base/hiviewdfx/faultloggerd/test/unittest/unwind/
H A Dfp_unwinder_test.cpp48 FpUnwinder::GetPcFpRegs(regs); in HWTEST_F()
53 auto unwSz = FpUnwinder::GetPtr()->Unwind(pc, fp, pcs, maxSize); in HWTEST_F()
80 FpUnwinder::GetPcFpRegs(regs); in HWTEST_F()
85 auto unwSz = FpUnwinder::GetPtr()->UnwindSafe(pc, fp, pcs, maxSize); in HWTEST_F()
/base/hiviewdfx/faultloggerd/test/unittest/async_stack/
H A Dasync_stack_test.cpp113 std::thread (FpUnwinder::Unwind, pcs, maxSize, skipFrameNum).join(); in HWTEST_F()
114 int32_t ret = FpUnwinder::UnwindFallback(pcs, maxSize, skipFrameNum); in HWTEST_F()
/base/hiviewdfx/faultloggerd/test/benchmarktest/unwinder/
H A Dunwind_local_benchmark.cpp146 FpUnwinder::GetPcFpRegs(regs); in FpUnwinderLocal()
149 auto unwSize = FpUnwinder::GetPtr()->Unwind(regs[0], regs[1], pcs, maxSize); in FpUnwinderLocal()
169 FpUnwinder::GetPcFpRegs(regs); in FpUnwinderLocalSafe()
172 auto unwSize = FpUnwinder::GetPtr()->UnwindSafe(regs[0], regs[1], pcs, maxSize); in FpUnwinderLocalSafe()
374 * @tc.desc: FpUnwinder Unwind
387 * @tc.desc: FpUnwinder Unwind Frames
400 * @tc.desc: FpUnwinder UnwindSafe
413 * @tc.desc: FpUnwinder UnwindSafe Frames
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/
H A Dthread_context.cpp196 ctxPtr->frameSz = FpUnwinder::GetPtr()->UnwindSafe(pc, fp, ctxPtr->pcs, DEFAULT_MAX_LOCAL_FRAME_NUM); in CopyContextAndWaitTimeout()
242 FpUnwinder::GetPtr(); in InitSignalHandler()

Completed in 3 milliseconds