Home
last modified time | relevance | path

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

/base/hiviewdfx/faultloggerd/tools/process_dump/
Ddfx_thread.cpp36 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 …]
Ddfx_process.h33 …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_;
Ddfx_unwind_remote.h43 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,
Ddfx_thread.h30 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();
Ddfx_process.cpp53 …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()
Dprocess_dumper.cpp168 …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()
Ddfx_unwind_remote.cpp167 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()
Dcppcrash_reporter.cpp61 std::shared_ptr<DfxThread> crashThread = nullptr; in Format()
/base/hiviewdfx/faultloggerd/test/unittest/process_dump/mock/
Dmock_dfx_thread.h33 class DfxThread : public MockDfxThread {
35 DfxThread() = default;
36 virtual ~DfxThread() = default;
/base/hiviewdfx/faultloggerd/test/unittest/process_dump/src/
Dprocess_dump_test.cpp600 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);
Dprocess_dfx_test.cpp97 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;