Home
last modified time | relevance | path

Searched refs:ProcessDumpRequest (Results 1 – 15 of 15) sorted by relevance

/base/hiviewdfx/faultloggerd/tools/process_dump/
Dprocess_dumper.h48 int DumpProcess(std::shared_ptr<ProcessDumpRequest> request);
49 bool InitKeyThread(std::shared_ptr<ProcessDumpRequest> request);
50 int InitPrintThread(std::shared_ptr<ProcessDumpRequest> request);
51 int InitProcessInfo(std::shared_ptr<ProcessDumpRequest> request);
52 bool InitVmThread(std::shared_ptr<ProcessDumpRequest> request);
53 bool InitUnwinder(std::shared_ptr<ProcessDumpRequest> request, pid_t vmPid, pid_t realPid);
54 void InitRegs(std::shared_ptr<ProcessDumpRequest> request, int &dumpRes);
55 bool IsTargetProcessAlive(std::shared_ptr<ProcessDumpRequest> request, int &dumpRes);
56 bool Unwind(std::shared_ptr<ProcessDumpRequest> request, int &dumpRes);
58 void ReportSigDumpStats(std::shared_ptr<ProcessDumpRequest> request);
Ddfx_unwind_remote.h39 …bool UnwindProcess(std::shared_ptr<ProcessDumpRequest> request, std::shared_ptr<DfxProcess> proces…
41 …bool InitProcessAllThreadRegs(std::shared_ptr<ProcessDumpRequest> request, std::shared_ptr<DfxProc…
46 …void UnwindKeyThread(std::shared_ptr<ProcessDumpRequest> request, std::shared_ptr<DfxProcess> proc…
52 …bool InitTargetKeyThreadRegs(std::shared_ptr<ProcessDumpRequest> request, std::shared_ptr<DfxProce…
Dprocess_dumper.cpp214 void InfoRemoteProcessResult(std::shared_ptr<ProcessDumpRequest> request, int result, int type) in InfoRemoteProcessResult()
245 std::shared_ptr<ProcessDumpRequest> request = std::make_shared<ProcessDumpRequest>(); in Dump()
287 static int32_t ReadRequestAndCheck(std::shared_ptr<ProcessDumpRequest> request) in ReadRequestAndCheck()
289 ssize_t readCount = read(STDIN_FILENO, request.get(), sizeof(ProcessDumpRequest)); in ReadRequestAndCheck()
290 if (readCount != static_cast<long>(sizeof(ProcessDumpRequest))) { in ReadRequestAndCheck()
311 void ProcessDumper::InitRegs(std::shared_ptr<ProcessDumpRequest> request, int &dumpRes) in InitRegs()
328 bool ProcessDumper::IsTargetProcessAlive(std::shared_ptr<ProcessDumpRequest> request, int &dumpRes) in IsTargetProcessAlive()
342 bool ProcessDumper::Unwind(std::shared_ptr<ProcessDumpRequest> request, int &dumpRes) in Unwind()
364 int ProcessDumper::DumpProcess(std::shared_ptr<ProcessDumpRequest> request) in DumpProcess()
420 bool ProcessDumper::InitVmThread(std::shared_ptr<ProcessDumpRequest> request) in InitVmThread()
[all …]
Ddfx_stack_info_formatter.h36 …DfxStackInfoFormatter(std::shared_ptr<DfxProcess> process, std::shared_ptr<ProcessDumpRequest> req… in DfxStackInfoFormatter()
54 std::shared_ptr<ProcessDumpRequest> request_ = nullptr;
Dprinter.h36 …static void PrintDumpHeader(std::shared_ptr<ProcessDumpRequest> request, std::shared_ptr<DfxProces…
49 …static void PrintReason(std::shared_ptr<ProcessDumpRequest> request, std::shared_ptr<DfxProcess> p…
Ddfx_unwind_remote.cpp51 bool DfxUnwindRemote::UnwindProcess(std::shared_ptr<ProcessDumpRequest> request, std::shared_ptr<Df… in UnwindProcess()
96 void DfxUnwindRemote::UnwindKeyThread(std::shared_ptr<ProcessDumpRequest> request, std::shared_ptr<… in UnwindKeyThread()
176 bool DfxUnwindRemote::InitTargetKeyThreadRegs(std::shared_ptr<ProcessDumpRequest> request, in InitTargetKeyThreadRegs()
204 bool DfxUnwindRemote::InitProcessAllThreadRegs(std::shared_ptr<ProcessDumpRequest> request, in InitProcessAllThreadRegs()
Dprinter.cpp39 void Printer::PrintDumpHeader(std::shared_ptr<ProcessDumpRequest> request, std::shared_ptr<DfxProce… in PrintDumpHeader()
87 void Printer::PrintReason(std::shared_ptr<ProcessDumpRequest> request, std::shared_ptr<DfxProcess> … in PrintReason()
/base/hiviewdfx/faultloggerd/frameworks/localhandler/include/
Ddfx_crash_local_handler.h33 void CrashLocalHandler(const struct ProcessDumpRequest* request);
41 void CrashLocalHandlerFd(const int fd, const struct ProcessDumpRequest* request);
/base/hiviewdfx/faultloggerd/frameworks/localhandler/
Ddfx_crash_local_handler.cpp47 static __attribute__((noinline)) int RequestOutputLogFile(const struct ProcessDumpRequest* request) in RequestOutputLogFile()
104 void CrashLocalHandler(const struct ProcessDumpRequest* request) in CrashLocalHandler()
130 static void ReportToHiview(const char* logPath, const struct ProcessDumpRequest* request) in ReportToHiview()
145 void CrashLocalHandlerFd(const int fd, const struct ProcessDumpRequest* request) in CrashLocalHandlerFd()
Ddfx_signal_local_handler.cpp50 static struct ProcessDumpRequest g_request;
/base/hiviewdfx/faultloggerd/test/unittest/process_dump/
Dprocess_dump_test.cpp162 std::shared_ptr<ProcessDumpRequest> request = std::make_shared<ProcessDumpRequest>();
/base/startup/init/services/modules/crashhandler/
Dcrash_handler.h104 } ProcessDumpRequest; typedef
Dcrash_handler.c51 static ProcessDumpRequest g_request;
224 static void CrashLocalHandler(const ProcessDumpRequest *request) in CrashLocalHandler()
/base/hiviewdfx/faultloggerd/interfaces/common/
Ddfx_dump_request.h93 struct ProcessDumpRequest { struct
/base/hiviewdfx/faultloggerd/interfaces/innerkits/signal_handler/
Ddfx_signal_handler.c94 static struct ProcessDumpRequest g_request;
126 static void FillTraceIdLocked(struct ProcessDumpRequest* request) in FillTraceIdLocked()
393 ssize_t writeLen = (long)(sizeof(struct ProcessDumpRequest)); in DFX_ExecDump()
402 .iov_len = sizeof(struct ProcessDumpRequest) in DFX_ExecDump()