Home
last modified time | relevance | path

Searched refs:DfxProcess (Results 1 - 12 of 12) sorted by relevance

/base/hiviewdfx/faultloggerd/tools/process_dump/
H A Ddfx_process.cpp40 std::shared_ptr<DfxProcess> DfxProcess::Create(pid_t pid, pid_t nsPid) in Create()
42 auto process = std::make_shared<DfxProcess>(pid, nsPid); in Create()
46 DfxProcess::DfxProcess(pid_t pid, pid_t nsPid) in DfxProcess() function in OHOS::HiviewDFX::DfxProcess
51 void DfxProcess::InitProcessInfo(pid_t pid, pid_t nsPid) in InitProcessInfo()
58 bool DfxProcess::InitOtherThreads(bool attach) in InitOtherThreads()
86 pid_t DfxProcess::ChangeTid(pid_t tid, bool ns) in ChangeTid()
114 std::vector<std::shared_ptr<DfxThread>>& DfxProcess::GetOtherThreads() in GetOtherThreads()
119 void DfxProcess
[all...]
H A Ddfx_unwind_remote.h39 bool UnwindProcess(std::shared_ptr<ProcessDumpRequest> request, std::shared_ptr<DfxProcess> process,
41 bool InitProcessAllThreadRegs(std::shared_ptr<ProcessDumpRequest> request, std::shared_ptr<DfxProcess> process);
45 bool UnwindKeyThread(std::shared_ptr<ProcessDumpRequest> request, std::shared_ptr<DfxProcess> process,
47 int UnwindOtherThread(std::shared_ptr<DfxProcess> process, std::shared_ptr<Unwinder> unwinder,
51 bool InitTargetKeyThreadRegs(std::shared_ptr<ProcessDumpRequest> request, std::shared_ptr<DfxProcess> process);
52 void InitOtherThreadRegs(std::shared_ptr<DfxProcess> process);
H A Ddfx_process.h36 class DfxProcess { class
38 static std::shared_ptr<DfxProcess> Create(pid_t pid, pid_t nsPid);
39 DfxProcess(pid_t pid, pid_t nsPid);
40 virtual ~DfxProcess() = default;
61 DfxProcess() = default;
H A Dprinter.h36 static void PrintDumpHeader(std::shared_ptr<ProcessDumpRequest> request, std::shared_ptr<DfxProcess> process,
44 static void PrintThreadFaultStackByConfig(std::shared_ptr<DfxProcess> process, std::shared_ptr<DfxThread> thread,
46 static void PrintThreadOpenFiles(std::shared_ptr<DfxProcess> process);
49 static void PrintReason(std::shared_ptr<ProcessDumpRequest> request, std::shared_ptr<DfxProcess> process,
H A Ddfx_stack_info_formatter.h36 DfxStackInfoFormatter(std::shared_ptr<DfxProcess> process, std::shared_ptr<ProcessDumpRequest> request) in DfxStackInfoFormatter()
53 std::shared_ptr<DfxProcess> process_ = nullptr;
H A Dcppcrash_reporter.h31 CppCrashReporter(uint64_t time, std::shared_ptr<DfxProcess> process, int32_t dumpMode) \ in CppCrashReporter()
74 std::shared_ptr<DfxProcess> process_;
H A Ddfx_unwind_remote.cpp80 bool DfxUnwindRemote::UnwindProcess(std::shared_ptr<ProcessDumpRequest> request, std::shared_ptr<DfxProcess> process, in UnwindProcess()
127 bool DfxUnwindRemote::UnwindKeyThread(std::shared_ptr<ProcessDumpRequest> request, std::shared_ptr<DfxProcess> process, in UnwindKeyThread()
177 int DfxUnwindRemote::UnwindOtherThread(std::shared_ptr<DfxProcess> process, std::shared_ptr<Unwinder> unwinder, in UnwindOtherThread()
235 std::shared_ptr<DfxProcess> process) in InitTargetKeyThreadRegs()
245 void DfxUnwindRemote::InitOtherThreadRegs(std::shared_ptr<DfxProcess> process) in InitOtherThreadRegs()
259 std::shared_ptr<DfxProcess> process) in InitProcessAllThreadRegs()
H A Dprinter.cpp44 void Printer::PrintDumpHeader(std::shared_ptr<ProcessDumpRequest> request, std::shared_ptr<DfxProcess> process, in PrintDumpHeader()
69 DfxProcess::GetProcessLifeCycle(process->processInfo_.pid).c_str()); in PrintDumpHeader()
111 void Printer::PrintReason(std::shared_ptr<ProcessDumpRequest> request, std::shared_ptr<DfxProcess> process, in PrintReason()
276 void Printer::PrintThreadFaultStackByConfig(std::shared_ptr<DfxProcess> process, std::shared_ptr<DfxThread> thread, in PrintThreadFaultStackByConfig()
297 void Printer::PrintThreadOpenFiles(std::shared_ptr<DfxProcess> process) in PrintThreadOpenFiles()
H A Dprocess_dumper.h68 std::shared_ptr<DfxProcess> process_ = nullptr;
H A Dprocess_dumper.cpp686 process_ = DfxProcess::Create(request->pid, request->nsPid); in InitProcessInfo()
/base/hiviewdfx/faultloggerd/test/unittest/process_dump/
H A Dprocess_dump_test.cpp63 * @tc.desc: test DfxProcess Create
69 std::shared_ptr<DfxProcess> process = DfxProcess::Create(getpid(), getpid()); in HWTEST_F()
92 auto process = DfxProcess::Create(pid, pid); in HWTEST_F()
105 std::shared_ptr<DfxProcess> process = DfxProcess::Create(getpid(), getpid()); in HWTEST_F()
124 std::shared_ptr<DfxProcess> process = DfxProcess::Create(getpid(), getpid()); in HWTEST_F()
134 * @tc.desc: test DfxProcess ChangeTid
141 std::shared_ptr<DfxProcess> process in HWTEST_F()
[all...]
H A Ddfx_processdump_test.cpp488 ins.process_ = DfxProcess::Create(request->pid, request->nsPid); in HWTEST_F()
574 ins.process_ = DfxProcess::Create(request->pid, request->nsPid); in HWTEST_F()

Completed in 6 milliseconds