/base/hiviewdfx/faultloggerd/test/unittest/unwind/ |
H A D | elf_imitate.cpp | 71 DFXLOGE("fgets() failed"); in GetNextLine() 109 DFXLOGE("fopen(EHDR_32, \"r\") failed"); in ParseAllHeaders() 113 DFXLOGE("fopen(SHDRS_32, \"r\") failed"); in ParseAllHeaders() 117 DFXLOGE("fopen(PHDRS_32, \"r\") failed"); in ParseAllHeaders() 121 DFXLOGE("fopen(SYMS_32, \"r\") failed"); in ParseAllHeaders() 126 DFXLOGE("fopen(EHDR_64, \"r\") failed"); in ParseAllHeaders() 130 DFXLOGE("fopen(SHDRS_64, \"r\") failed"); in ParseAllHeaders() 134 DFXLOGE("fopen(PHDRS_64, \"r\") failed"); in ParseAllHeaders() 138 DFXLOGE("fopen(SYMS_64, \"r\") failed"); in ParseAllHeaders() 165 DFXLOGE("para in ParseElfHeaders() [all...] |
/base/hiviewdfx/faultloggerd/interfaces/innerkits/faultloggerd_client/ |
H A D | faultloggerd_socket.cpp | 37 DFXLOGE("%{public}s :: Failed to socket, errno(%{public}d)", __func__, errno); in StartConnect() 50 DFXLOGE("setsockopt(%{public}d) SO_RCVTIMEO error, errno(%{public}d).", sockfd, errno); in StartConnect() 54 DFXLOGE("setsockopt(%{public}d) SO_SNDTIMEO error, errno(%{public}d).", sockfd, errno); in StartConnect() 65 DFXLOGE("%{public}s :: strncpy failed, err = %{public}d.", __func__, (int)err); in StartConnect() 72 DFXLOGE("%{public}s :: connect failed, errno = %{public}d.", __func__, errno); in StartConnect() 89 DFXLOGE("%{public}s :: Failed to create socket, errno(%{public}d)", __func__, errno); in GetServerSocket() 98 DFXLOGE("%{public}s :: strncpy failed.", __func__); in GetServerSocket() 108 DFXLOGE("%{public}s :: Failed to set socket option, errno(%{public}d)", __func__, errno); in GetServerSocket() 114 DFXLOGE("%{public}s :: Failed to bind socket, errno(%{public}d)", __func__, errno); in GetServerSocket() 130 DFXLOGE(" in StartListen() [all...] |
H A D | faultloggerd_client.cpp | 62 DFXLOGE("[%{public}d]: nullptr request", __LINE__); in RequestLogFileDescriptor() 72 DFXLOGE("[%{public}d]: nullptr request", __LINE__); in RequestFileDescriptorEx() 79 DFXLOGE("[%{public}d]: StartConnect(%{public}d) failed", __LINE__, sockfd); in RequestFileDescriptorEx() 95 DFXLOGE("nread: %{public}zd.", nread); in CheckReadResp() 105 DFXLOGE("[%{public}d]: nullptr request", __LINE__); in RequestFileDescriptorByCheck() 113 DFXLOGE("[%{public}d]: StartConnect(%{public}d) failed", __LINE__, sockfd); in RequestFileDescriptorByCheck() 125 DFXLOGE("%{public}s :: Failed to sendmsg.", __func__); in RequestFileDescriptorByCheck() 142 DFXLOGE("%{public}s :: Failed to sendmsg.", __func__); in SendUidToServer() 149 DFXLOGE("%{public}s :: Failed to recv.", __func__); in SendUidToServer() 179 DFXLOGE("[ in SendRequestToServer() [all...] |
/base/hiviewdfx/faultloggerd/test/benchmarktest/unwindstack/ |
H A D | pid_utils.cpp | 48 DFXLOGE("%{public}d died: Process exited with code %{public}d", pid, WEXITSTATUS(status)); in Exited() 50 DFXLOGE("%{public}d died: Process exited due to signal %{public}d", pid, WTERMSIG(status)); in Exited() 52 DFXLOGE("%{public}d died: Process finished for unknown reason", pid); in Exited() 67 DFXLOGE("ptrace getsiginfo failed"); in Quiesce() 78 DFXLOGE("%{public}d: Did not quiesce in 10 seconds", pid); in Quiesce() 90 DFXLOGE("Failed to attach"); in Attach() 101 DFXLOGE("Failed to detach"); in Attach() 109 DFXLOGE("ptrace detach failed"); in Detach() 135 DFXLOGE("Timed out waiting for pid %{public}d to be ready", pid); in WaitForPidState() 155 DFXLOGE("Time in WaitForPidStateAfterAttach() [all...] |
/base/hiviewdfx/faultloggerd/interfaces/innerkits/signal_handler/ |
H A D | dfx_dumprequest.c | 122 DFXLOGE("strcpy exception message fail"); in FillCrashExceptionAndReport() 137 DFXLOGE("Failed to get origin cap data"); in InheritCapabilities() 144 DFXLOGE("Failed to set cap data, errno(%{public}d)", errno); in InheritCapabilities() 153 DFXLOGE("Failed to change the ambient capability set, errno(%{public}d)", errno); in InheritCapabilities() 196 DFXLOGE("Failed to open dev/null."); in DFX_SetUpEnvironment() 226 DFXLOGE("Failed to create pipe for transfering context, errno(%{public}d)", errno); in DFX_ExecDump() 236 DFXLOGE("Failed to set pipe buffer size, errno(%{public}d).", errno); in DFX_ExecDump() 247 DFXLOGE("Failed to write pipe, errno(%{public}d)", errno); in DFX_ExecDump() 257 DFXLOGE("Failed to inherit Capabilities from parent."); in DFX_ExecDump() 267 DFXLOGE("Faile in DFX_ExecDump() [all...] |
H A D | dfx_signalhandler_exception.c | 54 DFXLOGE("Failed to create a socket, errno(%{public}d).", errno); in ConnectSocket() 67 DFXLOGE("setsockopt SO_RCVTIMEO error, errno(%{public}d).", errno); in ConnectSocket() 80 DFXLOGE("Failed to connect to faultloggerd socket, errno = %{public}d.", errno); in ConnectSocket() 94 DFXLOGE("Failed to read expected length, nread: %{public}zd, errno(%{public}d).", nread, errno); in CheckReadResp() 110 DFXLOGE("Failed to connect socket."); in ReportException() 115 DFXLOGE("Failed to write request message to socket, errno(%{public}d).", errno); in ReportException() 120 DFXLOGE("Failed to receive socket responces."); in ReportException() 126 DFXLOGE("Failed to write exception message to socket, errno(%{public}d).", errno); in ReportException()
|
H A D | dfx_signal_handler.c | 214 DFXLOGE("Last message is longer than MAX_FATAL_MSG_SIZE"); in FillLastFatalMessageLocked() 229 DFXLOGE("The event has timed out since it was triggered"); in FillMessageBodyLocked() 368 DFXLOGE("Failed to reset sig(%{public}d).", sig); in ResetAndRethrowSignalIfNeed() 373 DFXLOGE("Failed to rethrow sig(%{public}d), errno(%{public}d).", sig, errno); in ResetAndRethrowSignalIfNeed() 397 DFXLOGE("Failed to send SIGQUIT to main thread, errno(%{public}d).", errno); in BlockMainThreadIfNeed() 408 DFXLOGE("DumpRequest fail, the DfxDumpRequest is NULL"); in DumpRequest() 443 DFXLOGE("DFX_SigchainHandler :: signal(%{public}d) in %{public}d:%{public}d fill dump request faild.", in DFX_SigchainHandler() 470 DFXLOGE("Failed to register signal(%{public}d)", sig); in InstallSigActionHandler() 485 DFXLOGE("[%{public}d]: Failed to alloc memory for child stack.", __LINE__); in DFX_InstallSignalHandler() 525 DFXLOGE("para in DFX_SetAppRunningUniqueId() [all...] |
/base/hiviewdfx/faultloggerd/test/benchmarktest/unwind/ |
H A D | unwind_remote_benchmark.cpp | 36 DFXLOGE("Not be run here!!!");
in TestFunc6() 67 DFXLOGE("as is nullptr");
in UnwindRemote() 73 DFXLOGE("_UPT_create");
in UnwindRemote() 80 DFXLOGE("unw_init_remote");
in UnwindRemote() 112 DFXLOGE("Failed to attach pid: %{public}d", pid);
in Run() 155 DFXLOGE("Failed to attach pid: %{public}d", pid);
in RunCache()
|
/base/hiviewdfx/faultloggerd/tools/process_dump/ |
H A D | process_dumper.cpp | 123 DFXLOGE("failed to open directory %{public}s: %{public}s", fdDirName.c_str(), strerror(errno)); in CollectOpenFiles() 140 DFXLOGE("failed to readlink %{public}s: %{public}s", path.c_str(), strerror(errno)); in CollectOpenFiles() 153 DFXLOGE("[%{public}d]: read nsPid mem error %{public}s", __LINE__, strerror(errno)); in FillFdsaninfo() 185 DFXLOGE("[%{public}d]: read nsPid mem error %{public}s", __LINE__, strerror(errno)); in FillFdsaninfo() 276 DFXLOGE("dump remain time is invalid, not set timer"); in SetProcessdumpTimeout() 287 DFXLOGE("start processdump timer fail %{public}d", errno); in SetProcessdumpTimeout() 304 DFXLOGE("Dump process failed, please check permission and whether pid is valid."); in Dump() 315 DFXLOGE("send signal stop to nsPid %{public}d fail %{public}s", request->nsPid, strerror(errno)); in Dump() 352 DFXLOGE("request is nullptr."); in Report() 379 DFXLOGE("Faile in ReadRequestAndCheck() [all...] |
H A D | cppcrash_reporter.cpp | 122 DFXLOGE("the size of json string is greater than max pipe size, do not report"); in WriteCppCrashInfoByPipe() 127 DFXLOGE("Failed to create pipe."); in WriteCppCrashInfoByPipe() 132 DFXLOGE("[%{public}d]: failed to set pipe size.", __LINE__); in WriteCppCrashInfoByPipe() 136 DFXLOGE("[%{public}d]: failed to set pipe size.", __LINE__); in WriteCppCrashInfoByPipe() 142 DFXLOGE("Failed to set pipe flag."); in WriteCppCrashInfoByPipe() 150 DFXLOGE("Failed to write pipe. realWriteSize %{public}zd, json size %{public}zd", realWriteSize, sz); in WriteCppCrashInfoByPipe()
|
H A D | dfx_logger.cpp | 41 DFXLOGE("WriteLog :: write msg(%{public}s) to fd(%{public}d) failed, ret(%{public}d).", buf, fd, ret); in WriteLog() 60 DFXLOGE("DfxLogToSocket :: request print msg(%{public}s) failed, ret(%{public}d).", msg, ret); in DfxLogToSocket()
|
/base/hiviewdfx/faultloggerd/test/funchook/ |
H A D | dfx_hook_utils.h | 25 DFXLOGE("Failed to find hooked %{public}s use RTLD_NEXT\n", FuncName); \ 30 DFXLOGE("Failed to find hooked %{public}s use RTLD_DEFAULT\n", FuncName); \
|
H A D | dfx_signal_hook.c | 89 DFXLOGE("hooked procmask is NULL?\n"); in pthread_sigmask() 106 DFXLOGE("hooked procmask is NULL?\n"); in sigprocmask() 120 DFXLOGE("hooked signal is NULL?\n"); in signal() 175 DFXLOGE("hooked sigaction is NULL?"); in sigaction()
|
/base/hiviewdfx/faultloggerd/frameworks/allocator/ |
H A D | dfx_allocator.c | 106 DFXLOGE("MempoolAddPage Invalid mempool!"); in MempoolAddPage() 115 DFXLOGE("MempoolRemovePage Invalid mempool!"); in MempoolRemovePage() 126 DFXLOGE("Mempool AllocPage mmap failed!"); in MempoolAllocPage() 134 DFXLOGE("Mempool AllocPage fill tag failed!"); in MempoolAllocPage() 153 DFXLOGE("MempoolFreePage Invalid Page free cnt!"); in MempoolFreePage() 172 DFXLOGE("MempoolAlloc Alloc Page Failed or Invalid blocklist!"); in MempoolAlloc() 212 DFXLOGE("MempoolFree Invalid mempool or address!"); in MempoolFree() 272 DFXLOGE("GetPage untagged address!"); in GetPage() 286 DFXLOGE("Invalid mmap size!"); in AllocMmap() 293 DFXLOGE("AllocMma in AllocMmap() [all...] |
/base/hiviewdfx/faultloggerd/interfaces/innerkits/async_stack/ |
H A D | async_stack.cpp | 34 DFXLOGE("failed to init async stack, could not find SetAsyncStackCallbackFunc."); in InitAsyncStackInner() 40 DFXLOGE("failed to init unique stack table?."); in InitAsyncStackInner() 47 DFXLOGE("failed to create key for stackId."); in InitAsyncStackInner()
|
/base/hiviewdfx/faultloggerd/interfaces/innerkits/sigdump_handler/ |
H A D | dfx_sigdump_handler.cpp | 108 DFXLOGE("pthread sigmask failed, err(%{public}d)", errno); in RunThread() 126 DFXLOGE("Pid %{public}d GetPipeFd Failed", pid); in RunThread() 131 DFXLOGE("Pid %{public}d GetPipeResFd Failed", pid); in RunThread() 139 DFXLOGE("Pid %{public}d Write Buf Pipe Failed(%{public}d), nwrite(%{public}zd)", pid, errno, nwrite); in RunThread() 146 DFXLOGE("Pid %{public}d Write Res Pipe Failed(%{public}d), nres(%{public}zd)", pid, errno, nres); in RunThread()
|
/base/hiviewdfx/faultloggerd/frameworks/localhandler/ |
H A D | dfx_signal_local_handler.cpp | 63 DFXLOGE("[%{public}d]: Failed to alloc memory for child stack.", __LINE__); in ReserveChildThreadSignalStack() 111 DFXLOGE("memcpy_s siginfo fail, ret=%{public}d", ret); in DFX_SignalLocalHandler() 115 DFXLOGE("memcpy_s context fail, ret=%{public}d", ret); in DFX_SignalLocalHandler() 125 DFXLOGE("Failed to create thread for crash local handler"); in DFX_SignalLocalHandler() 161 DFXLOGE("Failed to register signal(%{public}d)", sig); in DFX_InstallLocalSignalHandler()
|
H A D | dfx_crash_local_handler.cpp | 74 DFXLOGE("%{public}s", buf); in PrintLog() 123 DFXLOGE("snprintf timestamp fail"); in PrintTimeStamp() 138 DFXLOGE("strcpy exception msg fail"); in ReportToHiview() 164 DFXLOGE("snprintf logFileName fail"); in CrashLocalHandlerFd()
|
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/ |
H A D | dfx_instructions.cpp | 55 DFXLOGE("Illegal register location"); in Flush() 72 DFXLOGE("Failed to save register."); in Flush() 88 DFXLOGE("Failed to update cfa."); in Apply() 92 DFXLOGE("no cfa info exist?"); in Apply() 118 DFXLOGE("returnAddressRegister: %{public}d error", (int)rsState.returnAddressRegister); in Apply()
|
H A D | dfx_mmap.cpp | 43 DFXLOGE("Failed to mmap, errno(%{public}d)", errno); in Init() 88 DFXLOGE("Failed to memcpy_s"); in Read()
|
H A D | dwarf_section.cpp | 122 DFXLOGE("Failed to parse fde?");
in Step() 134 DFXLOGE("Failed to parse dwarf instructions?");
in Step() 149 DFXLOGE("Failed to Parse CIE?");
in GetCieOrFde() 155 DFXLOGE("Failed to Parse FDE?");
in GetCieOrFde() 216 DFXLOGE("ParseFde error, is Cie Entry?");
in ParseFde() 221 DFXLOGE("ParseFde error, failed to fill FDE?");
in ParseFde() 232 DFXLOGE("Failed to parse CIE?");
in FillInFde() 282 DFXLOGE("ParseCie error, is not Cie Entry?");
in ParseCie() 288 DFXLOGE("ParseCie error, failed to fill Cie?");
in ParseCie() 302 DFXLOGE("Invali in FillInCie() [all...] |
/base/hiviewdfx/faultloggerd/services/ |
H A D | fault_logger_daemon.cpp | 159 DFXLOGE("%{public}s :: Failed to create faultloggerd sockets.", FAULTLOGGERD_TAG.c_str()); in StartServer() 165 DFXLOGE("%{public}s :: Failed to init environment.", FAULTLOGGERD_TAG.c_str()); in StartServer() 171 DFXLOGE("%{public}s :: Failed to create eventFd.", FAULTLOGGERD_TAG.c_str()); in StartServer() 231 DFXLOGE("%{public}s :: Failed to read message", FAULTLOGGERD_TAG.c_str()); in CheckReadRequest() 234 DFXLOGE("%{public}s :: Read null from request socket", FAULTLOGGERD_TAG.c_str()); in CheckReadRequest() 267 DFXLOGE("%{public}s :: unknown clientType(%{public}d).\n", FAULTLOGGERD_TAG.c_str(), request->clientType); in HandleRequestByClientType() 275 DFXLOGE("%{public}s :: HandleRequest recieved invalid fd parmeters.", FAULTLOGGERD_TAG.c_str()); in HandleRequest() 307 DFXLOGE("%{public}s :: Failed to ForceCreateDirectory GetLogFilePath", FAULTLOGGERD_TAG.c_str()); in InitEnvironment() 321 DFXLOGE("[%{public}d]: %{public}s :: Failed to create log file, errno(%{public}d)", __LINE__, in HandleDefaultClientRequest() 335 DFXLOGE("[ in HandleLogFileDesClientRequest() [all...] |
/base/hiviewdfx/faultloggerd/common/dfxlog/ |
H A D | dfx_log.h | 43 #define DFXLOGE(fmt, ...) HILOG_BASE_ERROR(LOG_CORE, fmt, ##__VA_ARGS__) macro 65 #define DFXLOGE(fmt, ...) HILOG_ERROR(LOG_CORE, fmt, ##__VA_ARGS__) macro 83 #define DFXLOGE(fmt, ...) macro
|
/base/hiviewdfx/faultloggerd/interfaces/innerkits/signal_handler/include/ |
H A D | musl_log.h | 73 #define DFXLOGE(...) DFXMUSL_PRINT(LOG_ERROR, __VA_ARGS__) macro 82 #define DFXLOGE(...) macro
|
/base/hiviewdfx/faultloggerd/common/cutil/ |
H A D | musl_cutil.h | 97 DFXLOGE("GetRealPid:: open failed! pid:(%{public}ld), errno:(%{public}d).", pid, errno); in GetRealPid() 108 DFXLOGE("GetRealPid:: read failed! pid:(%{public}ld), errno:(%{public}d), " \ in GetRealPid() 121 DFXLOGE("GetRealPid:: sscanf failed! pid:(%{public}ld), errno:(%{public}d), buf(%{public}s).", in GetRealPid()
|