Home
last modified time | relevance | path

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

/base/hiviewdfx/faultloggerd/tools/process_dump/
Ddfx_dump_request.cpp26 ProcessDumpRequest::ProcessDumpRequest() in ProcessDumpRequest() function in OHOS::HiviewDFX::ProcessDumpRequest
51 ProcessDumpType ProcessDumpRequest::GetType() const in GetType()
56 void ProcessDumpRequest::SetType(ProcessDumpType type) in SetType()
61 int32_t ProcessDumpRequest::GetTid() const in GetTid()
66 void ProcessDumpRequest::SetTid(int32_t tid) in SetTid()
71 int32_t ProcessDumpRequest::GetRecycleTid() const in GetRecycleTid()
76 void ProcessDumpRequest::SetRecycleTid(int32_t tid) in SetRecycleTid()
81 int32_t ProcessDumpRequest::GetPid() const in GetPid()
86 void ProcessDumpRequest::SetPid(int32_t pid) in SetPid()
91 int32_t ProcessDumpRequest::GetVmPid() const in GetVmPid()
[all …]
Dprocess_dumper.h45 int DumpProcessWithSignalContext(std::shared_ptr<ProcessDumpRequest> request);
46 int InitPrintThread(bool fromSignalHandler, std::shared_ptr<ProcessDumpRequest> request);
47 void PrintDumpProcessWithSignalContextHeader(std::shared_ptr<ProcessDumpRequest> request);
48 void CreateVmProcessIfNeed(std::shared_ptr<ProcessDumpRequest> request, bool enableNs);
49 bool InitProcessNsInfo(std::shared_ptr<ProcessDumpRequest> request, bool isCrash);
50 int InitProcessInfo(std::shared_ptr<ProcessDumpRequest> request, bool isCrash, bool enableNs);
Dprocess_dumper.cpp59 void ProcessDumper::PrintDumpProcessWithSignalContextHeader(std::shared_ptr<ProcessDumpRequest> req… in PrintDumpProcessWithSignalContextHeader()
91 int ProcessDumper::InitPrintThread(bool fromSignalHandler, std::shared_ptr<ProcessDumpRequest> requ… in InitPrintThread()
147 void ProcessDumper::CreateVmProcessIfNeed(std::shared_ptr<ProcessDumpRequest> request, bool enableN… in CreateVmProcessIfNeed()
178 int ProcessDumper::DumpProcessWithSignalContext(std::shared_ptr<ProcessDumpRequest> request) in DumpProcessWithSignalContext()
182 ssize_t readCount = read(STDIN_FILENO, request.get(), sizeof(ProcessDumpRequest)); in DumpProcessWithSignalContext()
183 if (readCount != static_cast<long>(sizeof(ProcessDumpRequest))) { in DumpProcessWithSignalContext()
241 bool ProcessDumper::InitProcessNsInfo(std::shared_ptr<ProcessDumpRequest> request, bool isCrash) in InitProcessNsInfo()
282 int ProcessDumper::InitProcessInfo(std::shared_ptr<ProcessDumpRequest> request, bool isCrash, bool … in InitProcessInfo()
355 std::shared_ptr<ProcessDumpRequest> request = std::make_shared<ProcessDumpRequest>(); in Dump()
Ddfx_dump_request.h33 class ProcessDumpRequest {
35 ProcessDumpRequest();
36 ~ProcessDumpRequest() = default;
/base/hiviewdfx/faultloggerd/test/unittest/process_dump/src/
Dprocess_dump_test.cpp82 std::shared_ptr<ProcessDumpRequest> processDump = std::make_shared<ProcessDumpRequest>();
98 std::shared_ptr<ProcessDumpRequest> processDump = std::make_shared<ProcessDumpRequest>();
114 std::shared_ptr<ProcessDumpRequest> processDump = std::make_shared<ProcessDumpRequest>();
130 std::shared_ptr<ProcessDumpRequest> processDump = std::make_shared<ProcessDumpRequest>();
146 std::shared_ptr<ProcessDumpRequest> processDump = std::make_shared<ProcessDumpRequest>();
162 std::shared_ptr<ProcessDumpRequest> processDump = std::make_shared<ProcessDumpRequest>();
178 std::shared_ptr<ProcessDumpRequest> processDump = std::make_shared<ProcessDumpRequest>();
194 std::shared_ptr<ProcessDumpRequest> processDump = std::make_shared<ProcessDumpRequest>();
210 std::shared_ptr<ProcessDumpRequest> processDump = std::make_shared<ProcessDumpRequest>();
226 std::shared_ptr<ProcessDumpRequest> processDump = std::make_shared<ProcessDumpRequest>();
[all …]
Ddfx_base_test.cpp146 auto request = make_shared<ProcessDumpRequest>();
/base/hiviewdfx/faultloggerd/interfaces/innerkits/signal_handler/include/
Ddfx_crash_local_handler.h28 void CrashLocalHandler(const struct ProcessDumpRequest* request);
29 void CrashLocalHandlerFd(const int fd, const struct ProcessDumpRequest* request);
Ddfx_signal_handler.h26 struct ProcessDumpRequest { struct
/base/hiviewdfx/faultloggerd/interfaces/innerkits/signal_handler/
Ddfx_crash_local_handler.c52 __attribute__((noinline)) int RequestOutputLogFile(const struct ProcessDumpRequest* request) in RequestOutputLogFile()
203 void CrashLocalHandler(const struct ProcessDumpRequest* request) in CrashLocalHandler()
209 void CrashLocalHandlerFd(const int fd, const struct ProcessDumpRequest* request) in CrashLocalHandlerFd()
Ddfx_signal_handler.c92 static struct ProcessDumpRequest g_request;
113 static void FillTraceIdLocked(struct ProcessDumpRequest* request) in FillTraceIdLocked()
238 ssize_t writeLen = (long)(sizeof(struct ProcessDumpRequest)); in DFX_ExecDump()
247 .iov_len = sizeof(struct ProcessDumpRequest) in DFX_ExecDump()
Ddfx_signal_local_handler.c39 static struct ProcessDumpRequest g_request;