/ohos5.0/base/hiviewdfx/faultloggerd/tools/process_dump/ |
H A D | dfx_thread.cpp | 38 std::shared_ptr<DfxThread> DfxThread::Create(pid_t pid, pid_t tid, pid_t nsTid) in Create() 40 auto thread = std::make_shared<DfxThread>(pid, tid, nsTid); in Create() 44 DfxThread::DfxThread(pid_t pid, pid_t tid, pid_t nsTid) : regs_(nullptr) in DfxThread() function in OHOS::HiviewDFX::DfxThread 58 DfxThread::~DfxThread() in ~DfxThread() 63 std::shared_ptr<DfxRegs> DfxThread::GetThreadRegs() const in GetThreadRegs() 73 void DfxThread::AddFrame(DfxFrame& frame) in AddFrame() 78 const std::vector<DfxFrame>& DfxThread::GetFrames() const in GetFrames() 83 std::string DfxThread::ToString() const in ToString() 115 void DfxThread::Detach() in Detach() 123 bool DfxThread::Attach(int timeout) in Attach() [all …]
|
H A D | dfx_thread.h | 40 class DfxThread { 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 | 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 …intThreadFaultStackByConfig(std::shared_ptr<DfxProcess> process, std::shared_ptr<DfxThread> thread,
|
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 | dfx_unwind_async_thread.h | 31 …DfxUnwindAsyncThread(std::shared_ptr<DfxThread> thread, std::shared_ptr<Unwinder> unwinder, uint64… 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) …
|
H A D | printer.cpp | 169 void Printer::PrintThreadHeaderByConfig(std::shared_ptr<DfxThread> thread, bool isKeyThread) in PrintThreadHeaderByConfig() 206 void Printer::PrintThreadBacktraceByConfig(std::shared_ptr<DfxThread> thread, bool isKeyThread) in PrintThreadBacktraceByConfig() 241 void Printer::PrintThreadRegsByConfig(std::shared_ptr<DfxThread> thread) in PrintThreadRegsByConfig() 265 …intThreadFaultStackByConfig(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 | 153 bool DfxStackInfoFormatter::FillFrames(const std::shared_ptr<DfxThread>& thread, in FillFrames() 198 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() 130 std::shared_ptr<DfxThread> unwThread = process->keyThread_; in UnwindKeyThread()
|
H A D | cppcrash_reporter.cpp | 60 …std::shared_ptr<DfxThread> thread = dumpMode_ == FUSION_MODE ? process_->keyThread_ : process_->vm… in Format()
|
H A D | process_dumper.cpp | 577 process_->vmThread_ = DfxThread::Create(request->vmPid, request->vmPid, request->vmNsPid); in InitVmThread() 596 process_->keyThread_ = DfxThread::Create(process_->processInfo_.pid, tid, nsTid); in InitKeyThread()
|
/ohos5.0/base/hiviewdfx/faultloggerd/test/unittest/process_dump/ |
H A D | process_dump_test.cpp | 88 auto keyThread = DfxThread::Create(pid, tid, tid); 164 auto thread = DfxThread::Create(pid, tid, tid); 178 std::shared_ptr<DfxThread> thread = std::make_shared<DfxThread>(pid, tid, tid); 196 std::shared_ptr<DfxThread> thread = DfxThread::Create(pid, tid, tid); 228 std::shared_ptr<DfxThread> thread = DfxThread::Create(pid, tid, tid); 287 std::shared_ptr<DfxThread> thread = DfxThread::Create(pid, tid, tid);
|
H A D | fault_stack_test.cpp | 102 DfxThread thread(childPid, childPid, childPid);
|