/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/innerkits/dump_catcher/include/ |
H A D | dfx_dump_catcher.h | 47 bool isJson = false); 91 bool isJson = false); 97 bool DoDumpRemoteLocked(int pid, int tid, std::string& msg, bool isJson = false, 99 bool DoDumpCatchRemote(int pid, int tid, std::string& msg, bool isJson = false, 101 …int DoDumpRemotePid(int pid, std::string& msg, bool isJson = false, int32_t timeout = DUMPCATCHER_… 102 int DoDumpRemotePoll(int bufFd, int resFd, int timeout, std::string& msg, bool isJson = false);
|
/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/innerkits/dump_catcher/ |
H A D | dfx_dump_catcher.cpp | 159 return DoDumpCatchRemote(pid, tid, msg, isJson, timeout); in DoDumpRemoteLocked() 240 int DfxDumpCatcher::DumpCatchProcess(int pid, std::string& msg, size_t maxFrameNums, bool isJson) in DumpCatchProcess() argument 242 if (DumpCatch(pid, 0, msg, maxFrameNums, isJson)) { in DumpCatchProcess() 285 ret = DoDumpRemoteLocked(pid, tid, msg, isJson, timeout); in DumpCatch() 319 int sdkdumpRet = RequestSdkDumpJson(pid, tid, isJson, timeout); in DoDumpCatchRemote() 336 int pollRet = DoDumpRemotePid(pid, msg, isJson, timeout); in DoDumpCatchRemote() 358 int DfxDumpCatcher::DoDumpRemotePid(int pid, std::string& msg, bool isJson, int32_t timeout) in DoDumpRemotePid() argument 363 if (isJson) { in DoDumpRemotePid() 371 int ret = DoDumpRemotePoll(readBufFd, readResFd, timeout, msg, isJson); in DoDumpRemotePid() 456 if (!isJson) { in DoDumpRemotePoll() [all …]
|
/ohos5.0/base/hiviewdfx/faultloggerd/example/ |
H A D | dump_catcher_demo.cpp | 29 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()
|
/ohos5.0/base/hiviewdfx/faultloggerd/services/ |
H A D | fault_logger_pipe.cpp | 119 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 …_ptr<FaultLoggerPipe2> ptr = std::unique_ptr<FaultLoggerPipe2>(new FaultLoggerPipe2(time, isJson)); in Set()
|
H A D | fault_logger_pipe.h | 48 explicit FaultLoggerPipe2(uint64_t time, bool isJson = false); 63 void Set(int pid, uint64_t time, bool isJson = false);
|
H A D | fault_logger_daemon.cpp | 613 faultLoggerPipeMap_->Set(request->pid, request->time, request->isJson); in HandleSdkDumpRequest()
|
/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/innerkits/faultloggerd_client/ |
H A D | faultloggerd_client.cpp | 224 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()
|
/ohos5.0/docs/zh-cn/device-dev/subsystems/ |
H A D | subsys-dfx-faultlogger.md | 61 …isJson) | 接口返回值:<br/>- true:回栈成功,回栈信息存储在msg字符串对象中;<br/>- false:回栈失败。<br/> 输入参数:<br/>- pid:目标进程号… 164 static NOINLINE int TestFuncDump(int32_t pid, int32_t tid, bool isJson) 169 …bool ret = dumplog.DumpCatch(pid, tid, msg, OHOS::HiviewDFX::DEFAULT_MAX_FRAME_NUM, isJson); // 调用… 173 if (isJson) {
|
/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/innerkits/faultloggerd_client/include/ |
H A D | faultloggerd_client.h | 95 int RequestSdkDumpJson(int32_t pid, int32_t tid, bool isJson, int timeout);
|
/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/common/ |
H A D | dfx_socket_request.h | 147 bool isJson; member
|
/ohos5.0/base/hiviewdfx/faultloggerd/test/fuzztest/faultloggerdserver_fuzzer/ |
H A D | faultloggerdserver_fuzzer.cpp | 206 bool isPassCheck = false, bool isJson = false) in HandleRequestByPipeTypeCommon() argument 211 …ique_ptr<FaultLoggerPipe2> ptr = std::make_unique<FaultLoggerPipe2>(GetTimeMilliSeconds(), isJson); in HandleRequestByPipeTypeCommon()
|