Home
last modified time | relevance | path

Searched refs:isJson (Results 1 - 11 of 11) sorted by relevance

/base/hiviewdfx/faultloggerd/interfaces/innerkits/dump_catcher/include/
H A Ddfx_dump_catcher.h43 * @param isJson whether message of native stack is json formatted
47 bool isJson = false);
77 * @param isJson whether message of stack is json formatted
81 bool isJson = false);
87 bool DoDumpRemoteLocked(int pid, int tid, std::string& msg, bool isJson = false,
89 bool DoDumpCatchRemote(int pid, int tid, std::string& msg, bool isJson = false,
91 int DoDumpRemotePid(int pid, std::string& msg, bool isJson = false, int32_t timeout = DUMPCATCHER_REMOTE_TIMEOUT);
92 int DoDumpRemotePoll(int bufFd, int resFd, int timeout, std::string& msg, bool isJson = false);
/base/hiviewdfx/faultloggerd/example/
H A Ddump_catcher_demo.cpp29 static NOINLINE int TestFuncDump(int32_t pid, int32_t tid, bool isJson) in TestFuncDump() argument
34 isJson = false; in TestFuncDump()
37 bool ret = dumplog.DumpCatch(pid, tid, msg, OHOS::HiviewDFX::DEFAULT_MAX_FRAME_NUM, isJson); in TestFuncDump()
41 if (isJson) { in TestFuncDump()
/base/hiviewdfx/faultloggerd/interfaces/innerkits/dump_catcher/
H A Ddfx_dump_catcher.cpp137 bool DfxDumpCatcher::DoDumpRemoteLocked(int pid, int tid, std::string& msg, bool isJson, int timeout) in DoDumpRemoteLocked() argument
139 return DoDumpCatchRemote(pid, tid, msg, isJson, timeout); in DoDumpRemoteLocked()
215 int DfxDumpCatcher::DumpCatchProcess(int pid, std::string& msg, size_t maxFrameNums, bool isJson) in DumpCatchProcess() argument
217 if (DumpCatch(pid, 0, msg, maxFrameNums, isJson)) { in DumpCatchProcess()
229 bool DfxDumpCatcher::DumpCatch(int pid, int tid, std::string& msg, size_t maxFrameNums, bool isJson) in DumpCatch() argument
259 ret = DoDumpRemoteLocked(pid, tid, msg, isJson, timeout); in DumpCatch()
284 bool DfxDumpCatcher::DoDumpCatchRemote(int pid, int tid, std::string& msg, bool isJson, int timeout) in DoDumpCatchRemote() argument
294 int sdkdumpRet = RequestSdkDumpJson(pid, tid, isJson, timeout); in DoDumpCatchRemote()
311 int pollRet = DoDumpRemotePid(pid, msg, isJson, timeout); in DoDumpCatchRemote()
334 int DfxDumpCatcher::DoDumpRemotePid(int pid, std::string& msg, bool isJson, int32_ argument
434 DoDumpRemotePoll(int bufFd, int resFd, int timeout, std::string& msg, bool isJson) DoDumpRemotePoll() argument
[all...]
/base/hiviewdfx/faultloggerd/services/
H A Dfault_logger_pipe.h47 explicit FaultLoggerPipe2(uint64_t time, bool isJson = false);
62 void Set(int pid, uint64_t time, bool isJson = false);
H A Dfault_logger_pipe.cpp119 FaultLoggerPipe2::FaultLoggerPipe2(uint64_t time, bool isJson) in FaultLoggerPipe2() argument
121 if (isJson) { in FaultLoggerPipe2()
155 void FaultLoggerPipeMap::Set(int pid, uint64_t time, bool isJson) in Set() argument
159 std::unique_ptr<FaultLoggerPipe2> ptr = std::unique_ptr<FaultLoggerPipe2>(new FaultLoggerPipe2(time, isJson)); in Set()
H A Dfault_logger_daemon.cpp638 faultLoggerPipeMap_->Set(request->pid, request->time, request->isJson); in HandleSdkDumpRequest()
/base/hiviewdfx/faultloggerd/interfaces/innerkits/faultloggerd_client/
H A Dfaultloggerd_client.cpp224 int RequestSdkDumpJson(int32_t pid, int32_t tid, bool isJson, int timeout) in RequestSdkDumpJson() argument
233 request.isJson = isJson; in RequestSdkDumpJson()
298 request.isJson = true; in RequestPipeFd()
300 request.isJson = false; in RequestPipeFd()
/base/hiviewdfx/faultloggerd/interfaces/innerkits/faultloggerd_client/include/
H A Dfaultloggerd_client.h95 int RequestSdkDumpJson(int32_t pid, int32_t tid, bool isJson, int timeout);
/base/hiviewdfx/faultloggerd/interfaces/common/
H A Ddfx_socket_request.h147 bool isJson; member
/base/hiviewdfx/faultloggerd/test/fuzztest/faultloggerdserver_fuzzer/
H A Dfaultloggerdserver_fuzzer.cpp206 bool isPassCheck = false, bool isJson = false) in HandleRequestByPipeTypeCommon()
211 std::unique_ptr<FaultLoggerPipe2> ptr = std::make_unique<FaultLoggerPipe2>(GetTimeMilliSeconds(), isJson); in HandleRequestByPipeTypeCommon()
/base/hiviewdfx/faultloggerd/test/unittest/services/
H A Dfaultlogger_daemon_test.cpp614 bool isPassCheck = false, bool isJson = false, bool isChangeFd = false) in HandleRequestByPipeTypeCommon()
619 std::unique_ptr<FaultLoggerPipe2> ptr = std::make_unique<FaultLoggerPipe2>(GetTimeMilliSeconds(), isJson); in HandleRequestByPipeTypeCommon()

Completed in 8 milliseconds