Home
last modified time | relevance | path

Searched refs:DfxThread (Results 1 - 15 of 15) sorted by relevance

/base/hiviewdfx/faultloggerd/tools/process_dump/
H A Ddfx_thread.cpp37 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 Ddfx_thread.h40 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 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 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 static void PrintThreadFaultStackByConfig(std::shared_ptr<DfxProcess> process, std::shared_ptr<DfxThread> thread,
H A Ddfx_unwind_async_thread.h31 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 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) const;
H A Dprinter.cpp179 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 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.cpp138 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 Ddfx_unwind_remote.cpp54 void GetThreadKernelStack(std::shared_ptr<DfxThread> thread) in GetThreadKernelStack()
131 std::shared_ptr<DfxThread> unwThread = process->keyThread_; in UnwindKeyThread()
H A Dcppcrash_reporter.cpp59 std::shared_ptr<DfxThread> thread = dumpMode_ == FUSION_MODE ? process_->keyThread_ : process_->vmThread_; in Format()
H A Dprocess_dumper.cpp591 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 Dprocess_dump_test.cpp91 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 Dfault_stack_test.cpp104 DfxThread thread(childPid, childPid, childPid); in HWTEST_F()
H A Ddfx_processdump_test.cpp497 ins.process_->keyThread_ = std::make_shared<DfxThread>(); in HWTEST_F()
590 ins.process_->vmThread_ = std::make_shared<DfxThread>(); in HWTEST_F()

Completed in 11 milliseconds