/ohos5.0/base/hiviewdfx/faultloggerd/test/unittest/unwind/ |
H A D | elf_imitate.cpp | 252 DFXLOG_ERROR("%s", "early end"); in GetMagic() 279 DFXLOG_ERROR("%s", "early end"); in GetClass() 302 DFXLOG_ERROR("%s", "early end"); in GetMachine() 320 DFXLOG_ERROR("%s", "early end"); in GetEntryAddr() 341 DFXLOG_ERROR("%s", "early end"); in GetPrgOffset() 362 DFXLOG_ERROR("%s", "early end"); in GetSecOffset() 383 DFXLOG_ERROR("%s", "early end"); in GetFlag() 404 DFXLOG_ERROR("%s", "early end"); in GetEhdrSize() 425 DFXLOG_ERROR("%s", "early end"); in GetPhdrSize() 446 DFXLOG_ERROR("%s", "early end"); in GetNumPhdrs() [all …]
|
/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/innerkits/faultloggerd_client/ |
H A D | faultloggerd_socket.cpp | 37 DFXLOG_ERROR("%s :: Failed to socket, errno(%d)", __func__, errno); in StartConnect() 72 DFXLOG_ERROR("%s :: connect failed, errno = %d.", __func__, errno); in StartConnect() 98 DFXLOG_ERROR("%s :: strncpy failed.", __func__); in GetServerSocket() 130 DFXLOG_ERROR("%s :: Failed to get socket fd by path", __func__); in StartListen() 175 DFXLOG_ERROR("%s :: Invalid message\n", __func__); in RecvMsgFromSocket() 181 DFXLOG_ERROR("%s :: memcpy error\n", __func__); in RecvMsgFromSocket() 228 DFXLOG_ERROR("%s :: Invalid message\n", __func__); in RecvMsgCredFromSocket() 233 DFXLOG_ERROR("%s :: memcpy error\n", __func__); in RecvMsgCredFromSocket() 297 DFXLOG_ERROR("%s :: memcpy error\n", __func__); in SendMsgCtlToSocket() 317 DFXLOG_ERROR("%s :: Failed to recv message", __func__); in ReadFileDescriptorFromSocket() [all …]
|
H A D | faultloggerd_client.cpp | 62 DFXLOG_ERROR("%s", "nullptr request"); in RequestLogFileDescriptor() 72 DFXLOG_ERROR("%s", "nullptr request"); in RequestFileDescriptorEx() 79 DFXLOG_ERROR("StartConnect(%d) failed", sockfd); in RequestFileDescriptorEx() 95 DFXLOG_ERROR("nread: %zd.", nread); in CheckReadResp() 105 DFXLOG_ERROR("%s", "nullptr request"); in RequestFileDescriptorByCheck() 113 DFXLOG_ERROR("StartConnect(%d) failed", sockfd); in RequestFileDescriptorByCheck() 142 DFXLOG_ERROR("%s :: Failed to sendmsg.", __func__); in SendUidToServer() 149 DFXLOG_ERROR("%s :: Failed to recv.", __func__); in SendUidToServer() 184 DFXLOG_ERROR("%s", "write failed."); in SendRequestToServer() 276 DFXLOG_ERROR("nwrite: %d.", nwrite); in RequestPrintTHilog() [all …]
|
/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/innerkits/signal_handler/ |
H A D | dfx_signalhandler_exception.c | 54 DFXLOG_ERROR("Failed to create a socket, errno(%d).", errno); in ConnectSocket() 67 DFXLOG_ERROR("setsockopt SO_RCVTIMEO error, errno(%d).", errno); in ConnectSocket() 80 DFXLOG_ERROR("Failed to connect to faultloggerd socket, errno = %d.", errno); in ConnectSocket() 94 DFXLOG_ERROR("Failed to read expected length, nread: %zd, errno(%d).", nread, errno); in CheckReadResp() 110 DFXLOG_ERROR("Failed to connect socket."); in ReportException() 115 DFXLOG_ERROR("Failed to write request message to socket, errno(%d).", errno); in ReportException() 120 DFXLOG_ERROR("Failed to receive socket responces."); in ReportException() 126 DFXLOG_ERROR("Failed to write exception message to socket, errno(%d).", errno); in ReportException()
|
H A D | dfx_signal_handler.c | 303 DFXLOG_ERROR("Failed to get origin cap data"); in InheritCapabilities() 362 DFXLOG_ERROR("Failed to open dev/null."); in DFX_SetUpEnvironment() 413 DFXLOG_ERROR("Failed to write pipe, errno(%d)", errno); in DFX_ExecDump() 461 DFXLOG_ERROR("Failed to reset sig(%d).", sig); in ResetAndRethrowSignalIfNeed() 658 DFXLOG_ERROR("Failed to fork vm process(%d)", errno); in StartVMProcessUnwind() 711 DFXLOG_ERROR("create pipe fail, errno(%d)", errno); in InitPipe() 754 DFXLOG_ERROR("read pipe failed , errno(%d)", errno); in ReadPipeTimeout() 787 DFXLOG_ERROR("wait processdump unwind finish timeout"); in ReadUnwindFinishMsg() 810 DFXLOG_ERROR("start processdump fail"); in ProcessDump() 819 DFXLOG_ERROR("start vm process unwind fail"); in ProcessDump() [all …]
|
/ohos5.0/base/hiviewdfx/faultloggerd/services/ |
H A D | fault_logger_daemon.cpp | 139 DFXLOG_ERROR("%s :: Failed to create faultloggerd sockets.", FAULTLOGGERD_TAG.c_str()); in StartServer() 145 DFXLOG_ERROR("%s :: Failed to init environment.", FAULTLOGGERD_TAG.c_str()); in StartServer() 151 DFXLOG_ERROR("%s :: Failed to create eventFd.", FAULTLOGGERD_TAG.c_str()); in StartServer() 207 DFXLOG_ERROR("%s :: Failed to read message", FAULTLOGGERD_TAG.c_str()); in CheckReadRequest() 210 DFXLOG_ERROR("%s :: Read null from request socket", FAULTLOGGERD_TAG.c_str()); in CheckReadRequest() 327 DFXLOG_ERROR("%s :: Failed to write DAEMON_RESP.", FAULTLOGGERD_TAG.c_str()); in HandleExceptionRequest() 492 DFXLOG_ERROR("%s :: Failed to write DAEMON_RESP.", FAULTLOGGERD_TAG.c_str()); in HandlePrintTHilogClientRequest() 501 DFXLOG_ERROR("%s", buf); in HandlePrintTHilogClientRequest() 643 DFXLOG_ERROR("Failed to send result message to client, errno(%d).", errno); in HandleSdkDumpRequest() 681 DFXLOG_ERROR("Unsupported request type(%d)", type); in CreateFileForRequest() [all …]
|
H A D | fault_logger_pipe.cpp | 76 DFXLOG_ERROR("%s :: Failed to create pipe.", __func__); in Init() 83 DFXLOG_ERROR("%s :: Failed to set pipe size.", __func__); in Init()
|
/ohos5.0/base/hiviewdfx/faultloggerd/frameworks/allocator/ |
H A D | dfx_allocator.c | 106 DFXLOG_ERROR("MempoolAddPage Invalid mempool!"); in MempoolAddPage() 126 DFXLOG_ERROR("Mempool AllocPage mmap failed!"); in MempoolAllocPage() 272 DFXLOG_ERROR("GetPage untagged address!"); in GetPage() 286 DFXLOG_ERROR("Invalid mmap size!"); in AllocMmap() 293 DFXLOG_ERROR("AllocMmap failed!"); in AllocMmap() 301 DFXLOG_ERROR("AllocMmap fill tag failed!"); in AllocMmap() 346 DFXLOG_ERROR("GetChunkSize Invalid ptr!"); in GetChunkSize() 352 DFXLOG_ERROR("GetChunkSize Invalid page!"); in GetChunkSize() 371 DFXLOG_ERROR("DfxFree Invalid page!"); in DfxFree() 402 DFXLOG_ERROR("DfxRealloc memcpy fail"); in DfxRealloc() [all …]
|
/ohos5.0/base/hiviewdfx/faultloggerd/tools/process_dump/ |
H A D | process_dumper.cpp | 152 DFXLOG_ERROR("read nsPid mem error %s", strerror(errno)); in FillFdsaninfo() 184 DFXLOG_ERROR("read nsPid mem error %s", strerror(errno)); in FillFdsaninfo() 287 DFXLOG_ERROR("start processdump timer fail %d", errno); in SetProcessdumpTimeout() 392 DFXLOG_ERROR("%s", "Failed to init process regs."); in InitRegs() 434 DFXLOG_ERROR("%s", "request jitlog fd failed."); in UnwindWriteJit() 438 DFXLOG_ERROR("%s", "jit code write file failed."); in UnwindWriteJit() 498 DFXLOG_ERROR("%s", "Failed to unwind process."); in Unwind() 545 DFXLOG_ERROR("%s", "Failed to init print thread."); in DumpProcess() 628 DFXLOG_ERROR("%s", "Failed to read real pid!"); in InitUnwinder() 652 DFXLOG_ERROR("%s", "unwinder_ is nullptr!"); in InitUnwinder() [all …]
|
H A D | cppcrash_reporter.cpp | 123 DFXLOG_ERROR("the size of json string is greater than max pipe size, do not report"); in WriteCppCrashInfoByPipe() 128 DFXLOG_ERROR("Failed to create pipe."); in WriteCppCrashInfoByPipe() 133 DFXLOG_ERROR("Failed to set pipe size."); in WriteCppCrashInfoByPipe() 137 DFXLOG_ERROR("Failed to set pipe size."); in WriteCppCrashInfoByPipe() 143 DFXLOG_ERROR("Failed to set pipe flag."); in WriteCppCrashInfoByPipe() 151 DFXLOG_ERROR("Failed to write pipe. realWriteSize %zd, json size %zd", realWriteSize, sz); in WriteCppCrashInfoByPipe()
|
H A D | dfx_logger.cpp | 51 DFXLOG_ERROR("WriteLog :: write msg(%s) to fd(%d) failed, ret(%d).", buf, fd, ret); in WriteLog() 74 DFXLOG_ERROR("DfxLogToSocket :: request print msg(%s) failed, ret(%d).", msg, ret); in DfxLogToSocket() 95 DFXLOG_ERROR("%s", "InitDebugLog :: RequestLogFileDescriptor failed."); in InitDebugLog() 101 DFXLOG_ERROR("%s", "InitDebugLog :: dup2 failed."); in InitDebugLog()
|
H A D | dfx_unwind_async_thread.cpp | 37 DFXLOG_ERROR("%s::thread or unwinder is not initialized.", __func__); in UnwindStack() 95 DFXLOG_ERROR("%s::Can not find map of async stack table", __func__); in GetSubmitterStack() 103 DFXLOG_ERROR("%s", "Failed to read unique_table from target"); in GetSubmitterStack() 179 DFXLOG_ERROR("%s : Failed to parse unwind stack.", __func__); in UnwindThreadByParseStackIfNeed()
|
H A D | dfx_fault_stack.cpp | 50 DFXLOG_ERROR("read target mem by ptrace failed, errno(%s).", strerror(errno)); in ReadTargetMemory() 214 DFXLOG_ERROR("%s : regs or maps is null.", __func__); in CollectRegistersBlock() 280 DFXLOG_ERROR("%s : maps is null.", __func__); in ParseUnwindStack() 301 … DFXLOG_ERROR("%s : Failed to create DfxElf, elf path(%s).", __func__, frame.mapName.c_str()); in ParseUnwindStack()
|
H A D | dfx_ring_buffer_wrapper.cpp | 88 DFXLOG_ERROR("%s :: vsnprintf_s failed, line: %d.", __func__, __LINE__); in AppendBuf() 123 DFXLOG_ERROR("%s", "crash base info is empty"); in PrintBaseInfo()
|
H A D | dfx_stack_info_formatter.cpp | 69 DFXLOG_ERROR("%s", "GetStackInfo var is null"); in GetStackInfo() 157 DFXLOG_ERROR("%s", "FillFrames thread is null"); in FillFrames()
|
H A D | main.cpp | 62 DFXLOG_ERROR("%s", "Processdump ignore SIGCHLD failed."); in main()
|
/ohos5.0/base/hiviewdfx/faultloggerd/frameworks/localhandler/ |
H A D | dfx_signal_local_handler.cpp | 64 DFXLOG_ERROR("Failed to alloc memory for child stack."); in ReserveChildThreadSignalStack() 111 DFXLOG_ERROR("memcpy_s siginfo fail, ret=%d", ret); in DFX_SignalLocalHandler() 115 DFXLOG_ERROR("memcpy_s context fail, ret=%d", ret); in DFX_SignalLocalHandler() 125 DFXLOG_ERROR("Failed to create thread for crash local handler"); in DFX_SignalLocalHandler() 161 DFXLOG_ERROR("Failed to register signal(%d)", sig); in DFX_InstallLocalSignalHandler()
|
H A D | dfx_crash_local_handler.cpp | 77 DFXLOG_ERROR("%s", buf); in PrintLog() 131 DFXLOG_ERROR("snprintf timestamp fail"); in PrintTimeStamp()
|
/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/innerkits/sigdump_handler/ |
H A D | dfx_sigdump_handler.cpp | 108 DFXLOG_ERROR("pthread sigmask failed, err(%d)", errno); in RunThread() 126 DFXLOG_ERROR("Pid %d GetPipeFd Failed", pid); in RunThread() 131 DFXLOG_ERROR("Pid %d GetPipeResFd Failed", pid); in RunThread() 139 DFXLOG_ERROR("Pid %d Write Buf Pipe Failed(%d), nwrite(%zd)", pid, errno, nwrite); in RunThread() 146 DFXLOG_ERROR("Pid %d Write Res Pipe Failed(%d), nres(%zd)", pid, errno, nres); in RunThread()
|
/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/innerkits/dump_catcher/ |
H A D | dfx_dump_catcher.cpp | 113 … DFXLOG_ERROR("%s :: DoDumpLocalTid :: return false as param error.", DFXDUMPCATCHER_TAG.c_str()); in DoDumpLocalTid() 128 … DFXLOG_ERROR("%s :: DoDumpLocalPid :: return false as param error.", DFXDUMPCATCHER_TAG.c_str()); in DoDumpLocalPid() 205 DFXLOG_ERROR("%s::Failed to copy target process", DFXDUMPCATCHER_TAG.c_str()); in ReportDumpCatcherStats() 212 DFXLOG_ERROR("%s::Failed to copy dumpcatcher summary", DFXDUMPCATCHER_TAG.c_str()); in ReportDumpCatcherStats() 221 DFXLOG_ERROR("%s::Failed to copy caller elf info", DFXDUMPCATCHER_TAG.c_str()); in ReportDumpCatcherStats() 232 DFXLOG_ERROR("%s::Failed to copy caller cmdline", DFXDUMPCATCHER_TAG.c_str()); in ReportDumpCatcherStats() 258 DFXLOG_ERROR("%s :: dump_catch :: param error.", DFXDUMPCATCHER_TAG.c_str()); in DumpCatch() 264 DFXLOG_ERROR("DumpCatch:: the pid(%d) process has exited, errno(%d)", pid, errno); in DumpCatch() 409 DFXLOG_ERROR("Process(%d) Get Tids fail!", pid); in CollectKernelStack() 459 DFXLOG_ERROR("%s", "invalid bufFd or resFd"); in DoDumpRemotePoll() [all …]
|
/ohos5.0/base/hiviewdfx/faultloggerd/common/cutil/ |
H A D | musl_cutil.h | 97 DFXLOG_ERROR("GetRealPid:: open failed! pid:(%ld), errno:(%d).", pid, errno); in GetRealPid() 108 … DFXLOG_ERROR("GetRealPid:: read failed! pid:(%ld), errno:(%d), nRead(%zd), readchar(%02X).", in GetRealPid() 120 … DFXLOG_ERROR("GetRealPid:: sscanf failed! pid:(%ld), errno:(%d), buf(%s).", pid, errno, buf); in GetRealPid()
|
/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/innerkits/signal_handler/include/ |
H A D | musl_log.h | 79 #define DFXLOG_ERROR(...) DFXLOG_PRINT(LOG_ERROR, ##__VA_ARGS__) macro 89 #define DFXLOG_ERROR(...)
|
/ohos5.0/base/hiviewdfx/faultloggerd/common/dfxlog/ |
H A D | dfx_log.h | 62 #define DFXLOG_ERROR(fmt, ...) DFXLOG_PRINT(LOG_ERROR, fmt, ##__VA_ARGS__) macro 108 #define DFXLOG_ERROR(fmt, ...) DFXLOG_STD_ARRAY(LOG_ERROR, fmt, ##__VA_ARGS__) macro 118 #define DFXLOG_ERROR(fmt, ...)
|
/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/innerkits/backtrace/ |
H A D | backtrace_local.cpp | 138 DFXLOG_ERROR("%s", "Failed to get trace string"); in GetTrace()
|
/ohos5.0/base/hiviewdfx/faultloggerd/common/dfxutil/ |
H A D | dfx_util.cpp | 63 DFXLOG_ERROR("%s", "Source is empty"); in TrimAndDupStr()
|