Home
last modified time | relevance | path

Searched refs:Unwinder (Results 1 - 25 of 35) sorted by relevance

12

/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/include/
H A Dunwinder.h29 class Unwinder { class
32 Unwinder(bool needMaps = true);
34 Unwinder(int pid, bool crash = true);
35 Unwinder(int pid, int nspid, bool crash);
37 Unwinder(std::shared_ptr<UnwindAccessors> accessors, bool local = false);
38 ~Unwinder() = default;
41 Unwinder(const Unwinder&) = delete;
42 Unwinder& operator=(const Unwinder
[all...]
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/
H A Dunwinder.cpp52 class Unwinder::Impl {
277 Unwinder::Unwinder(bool needMaps) : impl_(std::make_shared<Impl>(needMaps)) in Unwinder() function in OHOS::HiviewDFX::Unwinder
282 Unwinder::Unwinder(int pid, bool crash) : impl_(std::make_shared<Impl>(pid, crash)) in Unwinder() function in OHOS::HiviewDFX::Unwinder
286 Unwinder::Unwinder(int pid, int nspid, bool crash) : impl_(std::make_shared<Impl>(pid, nspid, crash)) in Unwinder() function in OHOS::HiviewDFX::Unwinder
291 Unwinder::Unwinder(std::shared_ptr<UnwindAccessors> accessors, bool local) in Unwinder() function in OHOS::HiviewDFX::Unwinder
296 void Unwinder
[all...]
/base/hiviewdfx/faultloggerd/test/benchmarktest/unwinder/
H A Dunwind_local_benchmark.cpp39 std::shared_ptr<Unwinder> unwinder = nullptr;
70 static bool GetUnwinder(void* data, std::shared_ptr<Unwinder>& unwinder, bool& isFp) in GetUnwinder()
86 std::shared_ptr<Unwinder> unwinder = nullptr; in UnwinderLocal()
138 Unwinder::FillLocalFrames(frames); in UnwinderLocalFp()
139 DFXLOGU(Unwinder::GetFramesStr(frames).c_str()); in UnwinderLocalFp()
161 Unwinder::FillLocalFrames(frames); in FpUnwinderLocal()
162 DFXLOGU(Unwinder::GetFramesStr(frames).c_str()); in FpUnwinderLocal()
184 Unwinder::FillLocalFrames(frames); in FpUnwinderLocalSafe()
185 DFXLOGU(Unwinder::GetFramesStr(frames).c_str()); in FpUnwinderLocalSafe()
215 data.unwinder = std::make_shared<Unwinder>(); in BenchmarkUnwinderLocalFull()
[all...]
H A Dunwind_remote_benchmark.cpp74 static size_t UnwinderRemote(std::shared_ptr<Unwinder> unwinder, const pid_t tid) in UnwinderRemote()
85 static size_t UnwinderRemoteFp(std::shared_ptr<Unwinder> unwinder, const pid_t tid) in UnwinderRemoteFp()
101 static bool GetUnwinder(pid_t pid, void* data, std::shared_ptr<Unwinder>& unwinder, bool& isFp) in GetUnwinder()
103 static std::unordered_map<pid_t, std::shared_ptr<Unwinder>> unwinders_; in GetUnwinder()
108 unwinder = std::make_shared<Unwinder>(pid); in GetUnwinder()
138 std::shared_ptr<Unwinder> unwinder = nullptr; in Run()
H A Dunwind_local_tid_benchmark.cpp97 auto unwinder = std::make_shared<Unwinder>(false); in BenchmarkUnwinderLocalWithTid()
99 auto unwinder = std::make_shared<Unwinder>(); in BenchmarkUnwinderLocalWithTid()
/base/hiviewdfx/faultloggerd/test/unittest/unwind/
H A Dunwinder_test.cpp55 std::map<int, std::shared_ptr<Unwinder>> unwinders_;
67 auto unwinder = std::make_shared<Unwinder>(); in HWTEST_F()
72 // When the param is less than -1, maps_ = null when method Unwinder is constructed in HWTEST_F()
73 auto unwinderNegative = std::make_shared<Unwinder>(-2); in HWTEST_F()
87 auto unwinder = std::make_shared<Unwinder>(); in HWTEST_F()
111 auto unwinder = std::make_shared<Unwinder>(); in HWTEST_F()
121 GTEST_LOG_(INFO) << "UnwinderLocalTest001: frames:\n" << Unwinder::GetFramesStr(frames); in HWTEST_F()
126 GTEST_LOG_(INFO) << "UnwinderLocalTest001: frames2:\n" << Unwinder::GetFramesStr(frames2); in HWTEST_F()
139 std::shared_ptr<Unwinder> unwinder = nullptr; in HWTEST_F()
147 unwinder = std::make_shared<Unwinder>(); in HWTEST_F()
[all...]
H A Dfp_unwinder_test.cpp64 Unwinder::FillLocalFrames(frames); in HWTEST_F()
65 GTEST_LOG_(INFO) << "FpUnwinderTest001: frames:\n" << Unwinder::GetFramesStr(frames); in HWTEST_F()
96 Unwinder::FillLocalFrames(frames); in HWTEST_F()
97 GTEST_LOG_(INFO) << "FpUnwinderTest002: frames:\n" << Unwinder::GetFramesStr(frames); in HWTEST_F()
H A Dunwinder_pac_test.cpp57 auto unwinder = std::make_shared<Unwinder>(pid); in HWTEST_F()
71 GTEST_LOG_(INFO) << "frames:\n" << Unwinder::GetFramesStr(frames); in HWTEST_F()
96 auto unwinder = std::make_shared<Unwinder>(pid); in HWTEST_F()
H A Dinstr_statistic_test.cpp63 auto unwinder = std::make_shared<Unwinder>(pid); in HWTEST_F()
77 GTEST_LOG_(INFO) << "frames:\n" << Unwinder::GetFramesStr(frames); in HWTEST_F()
/base/hiviewdfx/faultloggerd/interfaces/innerkits/backtrace/
H A Dbacktrace_local_thread.cpp33 BacktraceLocalThread::BacktraceLocalThread(int32_t tid, std::shared_ptr<Unwinder> unwinder) in BacktraceLocalThread()
58 Unwinder::GetLocalFramesByPcs(frames_, unwinder_->GetPcs()); in Unwind()
69 Unwinder::GetLocalFramesByPcs(frames_, unwinder_->GetPcs()); in Unwind()
99 ss += Unwinder::GetFramesStr(frames_); in GetFormattedStr()
H A Dbacktrace_local_thread.h32 explicit BacktraceLocalThread(int32_t tid, std::shared_ptr<Unwinder> unwinder);
44 std::shared_ptr<Unwinder> unwinder_;
H A Dbacktrace_local.cpp57 std::shared_ptr<Unwinder> unwinder = nullptr; in GetBacktraceFramesByTid()
60 unwinder = std::make_shared<Unwinder>(false); in GetBacktraceFramesByTid()
64 unwinder = std::make_shared<Unwinder>(); in GetBacktraceFramesByTid()
89 out = threadHead + Unwinder::GetFramesStr(frames); in GetBacktraceStringByTid()
148 auto unwinder = std::make_shared<Unwinder>(); in GetProcessStacktrace()
/base/hiviewdfx/faultloggerd/tools/process_dump/
H A Ddfx_unwind_remote.h40 std::shared_ptr<Unwinder> unwinder, pid_t vmPid = 0);
46 std::shared_ptr<Unwinder> unwinder, pid_t vmPid = 0);
47 int UnwindOtherThread(std::shared_ptr<DfxProcess> process, std::shared_ptr<Unwinder> unwinder,
H A Dprinter.h37 std::shared_ptr<Unwinder> unwinder);
45 std::shared_ptr<Unwinder> unwinder);
50 std::shared_ptr<Unwinder> unwinder, std::string& reasonInfo);
H A Ddfx_unwind_async_thread.h31 DfxUnwindAsyncThread(std::shared_ptr<DfxThread> thread, std::shared_ptr<Unwinder> unwinder, uint64_t stackId) in DfxUnwindAsyncThread()
41 std::shared_ptr<Unwinder> unwinder_ = nullptr;
H A Dlock_parser.h25 static bool ParseLockInfo(std::shared_ptr<Unwinder> unwinder, int32_t vmPid, int32_t tid);
H A Dlock_parser.cpp36 bool LockParser::ParseLockInfo(std::shared_ptr<Unwinder> unwinder, int32_t vmPid, int32_t tid) in ParseLockInfo()
/base/hiviewdfx/faultloggerd/test/unittest/backtrace/
H A Dbacktrace_local_test.cpp105 auto unwinder = std::make_shared<Unwinder>(); in HWTEST_F()
147 auto unwinder = std::make_shared<Unwinder>(); in HWTEST_F()
261 auto unwinder = std::make_shared<Unwinder>(); in HWTEST_F()
290 auto unwinder = std::make_shared<Unwinder>(); in HWTEST_F()
317 auto unwinder = std::make_shared<Unwinder>(); in HWTEST_F()
386 std::shared_ptr<Unwinder> unwinder1 = nullptr; in HWTEST_F()
391 std::shared_ptr<Unwinder> unwinder2 = std::make_shared<Unwinder>(); in HWTEST_F()
411 auto unwinder = std::make_shared<Unwinder>(); in HWTEST_F()
443 auto unwinder = std::make_shared<Unwinder>(); in HWTEST_F()
[all...]
/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_;
H A Dthread_sampler_utils.h43 void DoUnwind(const std::shared_ptr<Unwinder>& unwinder, UnwindInfo& unwindInfo);
/base/hiviewdfx/faultloggerd/test/benchmarktest/unwindstack/
H A Dunwind_remote_benchmark.cpp24 #include <unwindstack/Unwinder.h>
107 static size_t UnwindRemote(unwindstack::Unwinder unwinder, MAYBE_UNUSED UnwindData* dataPtr)
153 unwindstack::Unwinder unwinder(MAX_FRAMES, &maps, regs.get(), processMemory);
H A Dunwind_local_benchmark.cpp28 #include <unwindstack/Unwinder.h>
77 unwindstack::Unwinder unwinder(MAX_FRAMES, dataPtr->maps, regs.get(), dataPtr->processMemory); in UnwindLocal()
/base/hiviewdfx/faultloggerd/test/unittest/process_dump/
H A Dlock_parser_test.cpp122 auto unwinder = std::make_shared<Unwinder>(true); in HWTEST_F()
176 auto unwinder = std::make_shared<Unwinder>(true); in HWTEST_F()
228 auto unwinder = std::make_shared<Unwinder>(true); in HWTEST_F()
267 auto unwinder = std::make_shared<Unwinder>(true); in HWTEST_F()
306 auto unwinder = std::make_shared<Unwinder>(true); in HWTEST_F()
H A Dprocess_dump_test.cpp201 auto unwinder = std::make_shared<Unwinder>(pid); in HWTEST_F()
224 auto unwinder = std::make_shared<Unwinder>(pid); in HWTEST_F()
291 auto unwinder = std::make_shared<Unwinder>(pid); in HWTEST_F()
316 auto unwinder = std::make_shared<Unwinder>(pid); in HWTEST_F()
/base/hiviewdfx/faultloggerd/test/fuzztest/faultloggerdunwinder_fuzzer/
H A Dfaultloggerdunwinder_fuzzer.cpp80 DfxArk::StepArkFrame(&dfxMemory, &(Unwinder::AccessMem), &fp, &sp, &pc, &methodid, &isJsFrame); in TestStepArkFrame()
102 ArkUnwindParam arkParam(&dfxMemory, &(Unwinder::AccessMem), &fp, &sp, &pc, &methodid, &isJsFrame, jitCache_); in TestStepArkFrameWithJit()
121 DfxArk::JitCodeWriteFile(&dfxMemory, &(Unwinder::AccessMem), fd, jitCache.data(), jitCache.size()); in TestJitCodeWriteFile()

Completed in 12 milliseconds

12