/base/hiviewdfx/faultloggerd/tools/process_dump/ |
D | dfx_thread.cpp | 36 DfxThread::DfxThread(pid_t pid, pid_t tid, pid_t nsTid, const ucontext_t &context) in DfxThread() function in OHOS::HiviewDFX::DfxThread 54 DfxThread::DfxThread(pid_t pid, pid_t tid, pid_t nsTid) in DfxThread() function in OHOS::HiviewDFX::DfxThread 62 void DfxThread::ReadThreadName() in ReadThreadName() 75 bool DfxThread::IsThreadInitialized() in IsThreadInitialized() 80 DfxThread::~DfxThread() in ~DfxThread() 85 bool DfxThread::GetIsCrashThread() const in GetIsCrashThread() 90 void DfxThread::SetIsCrashThread(bool isCrashThread) in SetIsCrashThread() 95 pid_t DfxThread::GetProcessId() const in GetProcessId() 100 pid_t DfxThread::GetThreadId() const in GetThreadId() 105 std::string DfxThread::GetThreadName() const in GetThreadName() [all …]
|
D | dfx_process.h | 33 …shared_ptr<DfxProcess> CreateProcessWithKeyThread(pid_t pid, std::shared_ptr<DfxThread> keyThread); 35 bool InitProcessThreads(std::shared_ptr<DfxThread> keyThread); 52 std::vector<std::shared_ptr<DfxThread>> GetThreads() const; 61 void SetThreads(const std::vector<std::shared_ptr<DfxThread>> &threads); 73 std::vector<std::shared_ptr<DfxThread>> threads_;
|
D | dfx_unwind_remote.h | 43 bool UnwindThread(std::shared_ptr<DfxProcess> process, std::shared_ptr<DfxThread> thread); 44 … void UnwindThreadFallback(std::shared_ptr<DfxProcess> process, std::shared_ptr<DfxThread> thread); 48 … std::shared_ptr<DfxThread> & thread, unw_cursor_t & cursor, std::shared_ptr<DfxProcess> process); 50 bool UpdateAndPrintFrameInfo(unw_cursor_t& cursor, std::shared_ptr<DfxThread> thread,
|
D | dfx_thread.h | 30 class DfxThread { 32 DfxThread(pid_t pid, pid_t tid, pid_t nsTid, const ucontext_t &context); 33 DfxThread(pid_t pid, pid_t tid, pid_t nsTid); 34 ~DfxThread();
|
D | dfx_process.cpp | 53 …DfxProcess> DfxProcess::CreateProcessWithKeyThread(pid_t pid, std::shared_ptr<DfxThread> keyThread) in CreateProcessWithKeyThread() 83 bool DfxProcess::InitProcessThreads(std::shared_ptr<DfxThread> keyThread) in InitProcessThreads() 86 keyThread = std::make_shared<DfxThread>(pid_, pid_, pid_); in InitProcessThreads() 156 auto thread = std::make_shared<DfxThread>(pid_, tid, nsTid); in InsertThreadNode() 239 std::vector<std::shared_ptr<DfxThread>> DfxProcess::GetThreads() const in GetThreads() 282 void DfxProcess::SetThreads(const std::vector<std::shared_ptr<DfxThread>> &threads) in SetThreads()
|
D | process_dumper.cpp | 168 …std::shared_ptr<DfxThread> vmThread = std::make_shared<DfxThread>(targetVmPid_, targetVmPid_, vmPi… in CreateVmProcessIfNeed() 291 std::shared_ptr<DfxThread> keyThread = isCrash ? in InitProcessInfo() 292 std::make_shared<DfxThread>(targetPid_, targetPid_, targetTid, request->GetContext()) : in InitProcessInfo() 293 std::make_shared<DfxThread>(targetPid_, tid == 0 ? targetPid_ : tid, targetTid); in InitProcessInfo()
|
D | dfx_unwind_remote.cpp | 167 std::shared_ptr<DfxThread> & thread, unw_cursor_t & cursor, std::shared_ptr<DfxProcess> process) in DfxUnwindRemoteDoUnwindStep() 217 bool DfxUnwindRemote::UpdateAndPrintFrameInfo(unw_cursor_t& cursor, std::shared_ptr<DfxThread> thre… in UpdateAndPrintFrameInfo() 263 bool DfxUnwindRemote::UnwindThread(std::shared_ptr<DfxProcess> process, std::shared_ptr<DfxThread> … in UnwindThread() 334 …emote::UnwindThreadFallback(std::shared_ptr<DfxProcess> process, std::shared_ptr<DfxThread> thread) in UnwindThreadFallback()
|
D | cppcrash_reporter.cpp | 61 std::shared_ptr<DfxThread> crashThread = nullptr; in Format()
|
/base/hiviewdfx/faultloggerd/test/unittest/process_dump/mock/ |
D | mock_dfx_thread.h | 33 class DfxThread : public MockDfxThread { 35 DfxThread() = default; 36 virtual ~DfxThread() = default;
|
/base/hiviewdfx/faultloggerd/test/unittest/process_dump/src/ |
D | process_dump_test.cpp | 600 std::shared_ptr<DfxThread> thread = std::make_shared<DfxThread>(pid, tid, tid, context); 617 std::shared_ptr<DfxThread> thread = std::make_shared<DfxThread>(pid, tid, tid, context); 633 std::shared_ptr<DfxThread> thread = std::make_shared<DfxThread>(pid, tid, tid); 648 std::shared_ptr<DfxThread> thread = std::make_shared<DfxThread>(pid, tid, tid); 664 std::shared_ptr<DfxThread> thread = std::make_shared<DfxThread>(pid, tid, tid); 681 std::shared_ptr<DfxThread> thread = std::make_shared<DfxThread>(pid, tid, tid); 698 std::shared_ptr<DfxThread> thread = std::make_shared<DfxThread>(pid, tid, tid); 699 const std::vector<std::shared_ptr<DfxThread>> threads = { thread }; 719 std::shared_ptr<DfxThread> thread = std::make_shared<DfxThread>(pid, tid, tid);
|
D | process_dfx_test.cpp | 97 std::shared_ptr<DfxThread> keyThread = std::make_shared<DfxThread>(pid, tid, tid); 258 std::shared_ptr<DfxThread> thread = std::make_shared<DfxThread>(pid, tid, tid); 259 std::vector<std::shared_ptr<DfxThread>> input;
|