Home
last modified time | relevance | path

Searched refs:DfxThread (Results 1 – 14 of 14) sorted by relevance

/ohos5.0/base/hiviewdfx/faultloggerd/tools/process_dump/
H A Ddfx_thread.cpp38 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 Ddfx_thread.h40 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 Dprinter.h40 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 Ddfx_process.h45 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 Ddfx_unwind_async_thread.h31 …DfxUnwindAsyncThread(std::shared_ptr<DfxThread> thread, std::shared_ptr<Unwinder> unwinder, uint64… in DfxUnwindAsyncThread()
40 std::shared_ptr<DfxThread> thread_ = nullptr;
H A Ddfx_stack_info_formatter.h47 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 Dprinter.cpp169 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 Ddfx_process.cpp77 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 Ddfx_stack_info_formatter.cpp153 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 Ddfx_unwind_remote.cpp54 void GetThreadKernelStack(std::shared_ptr<DfxThread> thread) in GetThreadKernelStack()
130 std::shared_ptr<DfxThread> unwThread = process->keyThread_; in UnwindKeyThread()
H A Dcppcrash_reporter.cpp60 …std::shared_ptr<DfxThread> thread = dumpMode_ == FUSION_MODE ? process_->keyThread_ : process_->vm… in Format()
H A Dprocess_dumper.cpp577 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 Dprocess_dump_test.cpp88 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 Dfault_stack_test.cpp102 DfxThread thread(childPid, childPid, childPid);