/base/hiviewdfx/faultloggerd/tools/process_dump/ |
H A D | dfx_thread.cpp | 37 std::shared_ptr<DfxThread> DfxThread::Create(pid_t pid, pid_t tid, pid_t nsTid) in Create() 39 auto thread = std::make_shared<DfxThread>(pid, tid, nsTid); in Create() 43 DfxThread::DfxThread(pid_t pid, pid_t tid, pid_t nsTid) : regs_(nullptr) in DfxThread() function in OHOS::HiviewDFX::DfxThread 48 void DfxThread::InitThreadInfo(pid_t pid, pid_t tid, pid_t nsTid) in InitThreadInfo() 57 DfxThread::~DfxThread() in ~DfxThread() 62 std::shared_ptr<DfxRegs> DfxThread::GetThreadRegs() const in GetThreadRegs() 67 void DfxThread [all...] |
H A D | dfx_thread.h | 40 class DfxThread { class 42 static std::shared_ptr<DfxThread> Create(pid_t pid, pid_t tid, pid_t nsTid); 43 DfxThread(pid_t pid, pid_t tid, pid_t nsTid); 44 virtual ~DfxThread(); 66 DfxThread() = default;
|
H A D | dfx_process.h | 45 std::vector<std::shared_ptr<DfxThread>>& GetOtherThreads(); 55 std::shared_ptr<DfxThread> keyThread_ = nullptr; // comment: crash thread or dump target thread 56 std::shared_ptr<DfxThread> vmThread_ = nullptr; // comment: vm thread object in crash scenario 65 std::vector<std::shared_ptr<DfxThread>> otherThreads_;
|
H A D | printer.h | 40 static void PrintThreadHeaderByConfig(std::shared_ptr<DfxThread> thread, bool isKeyThread); 41 static void PrintThreadBacktraceByConfig(std::shared_ptr<DfxThread> thread, bool isKeyThread); 42 static void PrintThreadRegsByConfig(std::shared_ptr<DfxThread> thread); 44 static void PrintThreadFaultStackByConfig(std::shared_ptr<DfxProcess> process, std::shared_ptr<DfxThread> thread,
|
H A D | dfx_unwind_async_thread.h | 31 DfxUnwindAsyncThread(std::shared_ptr<DfxThread> thread, std::shared_ptr<Unwinder> unwinder, uint64_t stackId) in DfxUnwindAsyncThread() 40 std::shared_ptr<DfxThread> thread_ = nullptr;
|
H A D | dfx_stack_info_formatter.h | 47 bool FillFrames(const std::shared_ptr<DfxThread>& thread, Json::Value& jsonInfo) const; 49 void AppendThreads(const std::vector<std::shared_ptr<DfxThread>>& threads, Json::Value& jsonInfo) const;
|
H A D | printer.cpp | 179 void Printer::PrintThreadHeaderByConfig(std::shared_ptr<DfxThread> thread, bool isKeyThread) in PrintThreadHeaderByConfig() 217 void Printer::PrintThreadBacktraceByConfig(std::shared_ptr<DfxThread> thread, bool isKeyThread) in PrintThreadBacktraceByConfig() 252 void Printer::PrintThreadRegsByConfig(std::shared_ptr<DfxThread> thread) in PrintThreadRegsByConfig() 276 void Printer::PrintThreadFaultStackByConfig(std::shared_ptr<DfxProcess> process, std::shared_ptr<DfxThread> thread, in PrintThreadFaultStackByConfig()
|
H A D | dfx_process.cpp | 77 auto thread = DfxThread::Create(processInfo_.pid, tids[i], nstids[i]); in InitOtherThreads() 114 std::vector<std::shared_ptr<DfxThread>>& DfxProcess::GetOtherThreads() in GetOtherThreads()
|
H A D | dfx_stack_info_formatter.cpp | 138 bool DfxStackInfoFormatter::FillFrames(const std::shared_ptr<DfxThread>& thread, in FillFrames() 183 void DfxStackInfoFormatter::AppendThreads(const std::vector<std::shared_ptr<DfxThread>>& threads, in AppendThreads()
|
H A D | dfx_unwind_remote.cpp | 54 void GetThreadKernelStack(std::shared_ptr<DfxThread> thread) in GetThreadKernelStack() 131 std::shared_ptr<DfxThread> unwThread = process->keyThread_; in UnwindKeyThread()
|
H A D | cppcrash_reporter.cpp | 59 std::shared_ptr<DfxThread> thread = dumpMode_ == FUSION_MODE ? process_->keyThread_ : process_->vmThread_; in Format()
|
H A D | process_dumper.cpp | 591 process_->vmThread_ = DfxThread::Create(request->vmPid, request->vmPid, request->vmNsPid); in InitVmThread() 610 process_->keyThread_ = DfxThread::Create(process_->processInfo_.pid, tid, nsTid); in InitKeyThread()
|
/base/hiviewdfx/faultloggerd/test/unittest/process_dump/ |
H A D | process_dump_test.cpp | 91 auto keyThread = DfxThread::Create(pid, tid, tid); in HWTEST_F() 160 * @tc.desc: test DfxThread Create 167 auto thread = DfxThread::Create(pid, tid, tid); in HWTEST_F() 174 * @tc.desc: test DfxThread GetThreadRegs 181 std::shared_ptr<DfxThread> thread = std::make_shared<DfxThread>(pid, tid, tid); in HWTEST_F() 199 std::shared_ptr<DfxThread> thread = DfxThread::Create(pid, tid, tid); in HWTEST_F() 231 std::shared_ptr<DfxThread> thread = DfxThread in HWTEST_F() [all...] |
H A D | fault_stack_test.cpp | 104 DfxThread thread(childPid, childPid, childPid); in HWTEST_F()
|
H A D | dfx_processdump_test.cpp | 497 ins.process_->keyThread_ = std::make_shared<DfxThread>(); in HWTEST_F() 590 ins.process_->vmThread_ = std::make_shared<DfxThread>(); in HWTEST_F()
|