/developtools/profiler/device/plugins/native_daemon/native_memory_profiler_sa/util/include/ |
D | define_macro.h | 35 PROFILER_LOG_ERROR(LOG_CORE, "WriteBool "#data" failed"); \ 43 PROFILER_LOG_ERROR(LOG_CORE, "WriteInt32 "#data" failed"); \ 51 PROFILER_LOG_ERROR(LOG_CORE, "WriteInt64 "#data" failed"); \ 59 PROFILER_LOG_ERROR(LOG_CORE, "WriteUint8 "#data" failed"); \ 67 PROFILER_LOG_ERROR(LOG_CORE, "WriteUint32 "#data" failed"); \ 75 PROFILER_LOG_ERROR(LOG_CORE, "WriteUint64 "#data" failed"); \ 83 PROFILER_LOG_ERROR(LOG_CORE, "WriteString "#data" failed"); \ 91 PROFILER_LOG_ERROR(LOG_CORE, "ReadBool "#data" failed"); \ 99 PROFILER_LOG_ERROR(LOG_CORE, "ReadInt32 "#data" failed"); \ 107 PROFILER_LOG_ERROR(LOG_CORE, "ReadInt64 "#data" failed"); \ [all …]
|
/developtools/profiler/device/plugins/xpower_plugin/src/ |
D | xpower_plugin.cpp | 59 PROFILER_LOG_ERROR(LOG_CORE, "XpowerPlugin error : bundle name is empty!"); in Start() 76 PROFILER_LOG_ERROR(LOG_CORE, "the bundle name %s is not supported", bundleName.c_str()); in Start() 84 … PROFILER_LOG_ERROR(LOG_CORE, "%s:the process %s does not exist.", __func__, bundleName.c_str()); in Start() 91 PROFILER_LOG_ERROR(LOG_CORE, "start power manager failed!"); in Start() 104 PROFILER_LOG_ERROR(LOG_CORE, "%s :fail to open libxpower_manager_client.z.so", __func__); in StartPowerManager() 110 PROFILER_LOG_ERROR(LOG_CORE, "Failed to dlsy startOptimizeMode"); in StartPowerManager() 119 PROFILER_LOG_ERROR(LOG_CORE, "Failed to startOptimizeMode"); in StartPowerManager() 128 PROFILER_LOG_ERROR(LOG_CORE, "the power message is invalid !"); in OptimizeCallback() 137 PROFILER_LOG_ERROR(LOG_CORE, "The buffer queue is full,discard message"); in OptimizeCallback() 144 PROFILER_LOG_ERROR(LOG_CORE, "memcpy_s raw powerdata failed!"); in OptimizeCallback() [all …]
|
/developtools/profiler/device/plugins/native_daemon/native_memory_profiler_sa/src/ |
D | native_memory_profiler_sa_proxy.cpp | 29 PROFILER_LOG_ERROR(LOG_CORE, "Start failed to write descriptor"); in Start() 41 PROFILER_LOG_ERROR(LOG_CORE, "Start failed"); in Start() 51 PROFILER_LOG_ERROR(LOG_CORE, "DumpData failed to write descriptor"); in DumpData() 55 PROFILER_LOG_ERROR(LOG_CORE, "DumpData failed to write fd"); in DumpData() 67 PROFILER_LOG_ERROR(LOG_CORE, "DumpData failed"); in DumpData() 77 PROFILER_LOG_ERROR(LOG_CORE, "Stop failed to write descriptor"); in Stop() 88 PROFILER_LOG_ERROR(LOG_CORE, "Stop failed"); in Stop() 98 PROFILER_LOG_ERROR(LOG_CORE, "Stop failed to write descriptor"); in Stop() 109 PROFILER_LOG_ERROR(LOG_CORE, "Stop failed"); in Stop()
|
D | native_memory_profiler_sa_service.cpp | 45 PROFILER_LOG_ERROR(LOG_CORE, "Start IPC Service FAIL"); in NativeMemoryProfilerSaService() 66 PROFILER_LOG_ERROR(LOG_CORE, "Service native memory failed to start"); in StartServiceAbility() 75 PROFILER_LOG_ERROR(LOG_CORE, "AddDeathRecipient failed"); in StartServiceAbility() 88 PROFILER_LOG_ERROR(LOG_CORE, "No profiling permission, please check!"); in HasProfilingPermission() 128 PROFILER_LOG_ERROR(LOG_CORE, "StopHook failed, no profiling permission!"); in StopHook() 179 PROFILER_LOG_ERROR(LOG_CORE, "StartHook failed, no profiling permission!"); in StartHook() 222 PROFILER_LOG_ERROR(LOG_CORE, "NativeMemoryProfilerSaService Start Schedule Task failed"); in StartHook() 275 PROFILER_LOG_ERROR(LOG_CORE, "The PID and process name are not configured"); in CheckConfig() 285 PROFILER_LOG_ERROR(LOG_CORE, in CheckConfig() 290 PROFILER_LOG_ERROR(LOG_CORE, "The file path are not configured"); in CheckConfig() [all …]
|
D | native_memory_profiler_sa_client_manager.cpp | 34 …PROFILER_LOG_ERROR(LOG_CORE, "NativeMemoryProfilerSaClientManager: start GetRemoteService failed"); in Start() 45 PROFILER_LOG_ERROR(LOG_CORE, "NativeMemoryProfilerSaClientManager: pid cannot be 0"); in Start() 66 … PROFILER_LOG_ERROR(LOG_CORE, "NativeMemoryProfilerSaClientManager: stop GetRemoteService failed"); in Stop() 78 … PROFILER_LOG_ERROR(LOG_CORE, "NativeMemoryProfilerSaClientManager: stop GetRemoteService failed"); in Stop() 93 … PROFILER_LOG_ERROR(LOG_CORE, "NativeMemoryProfilerSaClientManager: stop GetRemoteService failed"); in DumpData() 113 PROFILER_LOG_ERROR(LOG_CORE, "NativeMemoryProfilerSaClientManager: duration cannot be 0"); in CheckConfig() 133 … PROFILER_LOG_ERROR(LOG_CORE, "NativeMemoryProfilerSaClientManager: stop GetRemoteService failed"); in GetMallocStats()
|
D | native_memory_profiler_sa_stub.cpp | 29 PROFILER_LOG_ERROR(LOG_CORE, "Get unexpect descriptor:%s", Str16ToStr8(descriptor).c_str()); in OnRemoteRequest() 47 PROFILER_LOG_ERROR(LOG_CORE, "Unknown code:%u", code); in OnRemoteRequest()
|
/developtools/profiler/device/plugins/arkts_plugin/src/ |
D | arkts_plugin.cpp | 79 PROFILER_LOG_ERROR(LOG_CORE, "%s:parseFromArray failed!", __func__); in Start() 94 PROFILER_LOG_ERROR(LOG_CORE, "%s: pid is less than or equal to 0", __func__); in Start() 112 PROFILER_LOG_ERROR(LOG_CORE, "arkts plugin cpu profiler start failed"); in Start() 129 PROFILER_LOG_ERROR(LOG_CORE, "arkts plugin start type error"); in Start() 149 PROFILER_LOG_ERROR(LOG_CORE, "%s:scheduleTask interval == 0 error!", __func__); in EnableSnapshot() 156 PROFILER_LOG_ERROR(LOG_CORE, "%s:scheduleTask failed!", __func__); in EnableSnapshot() 201 PROFILER_LOG_ERROR(LOG_CORE, "arkts plugin stop type error"); in Stop() 254 PROFILER_LOG_ERROR(LOG_CORE, "%s: recv is empty", __func__); in FlushData() 285 PROFILER_LOG_ERROR(LOG_CORE, "client has inited"); in ClientConnectUnixWebSocket() 291 …PROFILER_LOG_ERROR(LOG_CORE, "client socket failed, error = %d, , desc = %s", errno, strerror(errn… in ClientConnectUnixWebSocket() [all …]
|
/developtools/profiler/device/plugins/network_profiler/service/src/ |
D | network_profiler_handle.cpp | 51 PROFILER_LOG_ERROR(LOG_CORE, "%s: get RandomWriteCtx FAILED!", __func__); in SetWriter() 61 PROFILER_LOG_ERROR(LOG_CORE, "%s the size=%d is too small", __FUNCTION__, size); in SerializeData() 73 PROFILER_LOG_ERROR(LOG_CORE, "%s the size=%d is too small", __FUNCTION__, size); in SerializeDataImpl() 79 PROFILER_LOG_ERROR(LOG_CORE, "%s type is invalid", __FUNCTION__); in SerializeDataImpl() 117 PROFILER_LOG_ERROR(LOG_CORE, "Flush src is nullptr"); in FlushData() 122 PROFILER_LOG_ERROR(LOG_CORE, "Flush writer_ is nullptr"); in FlushData() 144 PROFILER_LOG_ERROR(LOG_CORE, "%s: get RandomWriteCtx FAILED!", __func__); in FlushData()
|
D | network_profiler_manager.cpp | 68 PROFILER_LOG_ERROR(LOG_CORE, "%s: hook process does not exist", __func__); in CheckConfig() 88 … PROFILER_LOG_ERROR(LOG_CORE, "NetworkProfilerManager Process %s already exists", name.c_str()); in CheckConfig() 106 PROFILER_LOG_ERROR(LOG_CORE, in CheckConfig() 114 … PROFILER_LOG_ERROR(LOG_CORE, "NetworkProfilerManager Process %s does not exist", name.c_str()); in CheckConfig() 124 PROFILER_LOG_ERROR(LOG_CORE, "NetworkProfilerManager clock_id is unknow"); in CheckConfig() 147 PROFILER_LOG_ERROR(LOG_CORE, "StartNetworkProfiler CheckConfig failed"); in StartNetworkProfiler() 151 PROFILER_LOG_ERROR(LOG_CORE, "StartNetworkProfiler ctx is empty"); in StartNetworkProfiler() 166 PROFILER_LOG_ERROR(LOG_CORE, "StartNetworkProfiler set parameter failed"); in StartNetworkProfiler() 178 PROFILER_LOG_ERROR(LOG_CORE, "StopNetworkProfiler set parameter failed"); in StopNetworkProfiler() 217 PROFILER_LOG_ERROR(LOG_CORE, "HandleHookContext context error, pid: %d, process name: %s", in HandleNetworkProfilerContext() [all …]
|
/developtools/profiler/device/services/ipc/src/ |
D | unix_socket_client.cpp | 35 PROFILER_LOG_ERROR(LOG_CORE, "UnixSocketClient connect"); in Connect() 43 PROFILER_LOG_ERROR(LOG_CORE, "memset_s error!"); in Connect() 47 PROFILER_LOG_ERROR(LOG_CORE, "strncpy_s error!"); in Connect() 57 PROFILER_LOG_ERROR(LOG_CORE, "strncpy_s error!"); in Connect()
|
D | socket_context.cpp | 44 PROFILER_LOG_ERROR(LOG_CORE, "SocketContext socketHandle_ = %d", socketHandle_); in ~SocketContext() 51 PROFILER_LOG_ERROR(LOG_CORE, "shutdown socket err = %d %s", errno, buf); in ~SocketContext() 58 PROFILER_LOG_ERROR(LOG_CORE, "close socket err = %d %s", errno, buf); in ~SocketContext() 65 PROFILER_LOG_ERROR(LOG_CORE, "~SocketContext recvThread join success"); in ~SocketContext() 115 … PROFILER_LOG_ERROR(LOG_CORE, "buffer size out of range %d/%d", pph->protoSize, PROTO_SIZE_MAX); in UnixSocketRecv() 139 PROFILER_LOG_ERROR(LOG_CORE, "unknown protocol %d", pph->protoType); in UnixSocketRecv() 228 PROFILER_LOG_ERROR(LOG_CORE, "Peer Process Exceptionally Disconnected"); in IsConnected() 245 PROFILER_LOG_ERROR(LOG_CORE, "memset_s error!"); in SendFileDescriptor() 257 PROFILER_LOG_ERROR(LOG_CORE, "memcpy_s error"); in SendFileDescriptor()
|
D | unix_socket_server.cpp | 76 … PROFILER_LOG_ERROR(LOG_CORE, "UnixSocketServer epoll_wait failed, errno: %s", strerror(errno)); in UnixSocketAccept() 94 PROFILER_LOG_ERROR(LOG_CORE, "Client %d exist", clientSocket); in UnixSocketAccept() 106 PROFILER_LOG_ERROR(LOG_CORE, "Client %d not exist", events[i].data.fd); in UnixSocketAccept() 124 PROFILER_LOG_ERROR(LOG_CORE, "memset_s error!"); in StartServer() 128 PROFILER_LOG_ERROR(LOG_CORE, "strncpy_s error!"); in StartServer() 153 PROFILER_LOG_ERROR(LOG_CORE, "StartServer FAIL pthread_create ERR : %s", buf); in StartServer()
|
/developtools/profiler/device/plugins/ffrt_profiler/service/src/ |
D | ffrt_profiler_manager.cpp | 67 PROFILER_LOG_ERROR(LOG_CORE, "%s: hook process does not exist", __func__); in CheckConfig() 87 … PROFILER_LOG_ERROR(LOG_CORE, "FfrtProfilerManager Process %s already exists", name.c_str()); in CheckConfig() 105 PROFILER_LOG_ERROR(LOG_CORE, in CheckConfig() 113 … PROFILER_LOG_ERROR(LOG_CORE, "FfrtProfilerManager Process %s does not exist", name.c_str()); in CheckConfig() 123 PROFILER_LOG_ERROR(LOG_CORE, "FfrtProfilerManager clock_id is unknow"); in CheckConfig() 146 PROFILER_LOG_ERROR(LOG_CORE, "StartFfrtProfiler CheckConfig failed"); in StartFfrtProfiler() 150 PROFILER_LOG_ERROR(LOG_CORE, "StartFfrtProfiler ctx is empty"); in StartFfrtProfiler() 165 PROFILER_LOG_ERROR(LOG_CORE, "StartFfrtProfiler set parameter failed"); in StartFfrtProfiler() 177 PROFILER_LOG_ERROR(LOG_CORE, "StopFfrtProfiler set parameter failed"); in StopFfrtProfiler() 216 PROFILER_LOG_ERROR(LOG_CORE, "HandleHookContext context error, pid: %d, process name: %s", in HandleFfrtProfilerContext() [all …]
|
D | ffrt_profiler_handle.cpp | 49 PROFILER_LOG_ERROR(LOG_CORE, "%s: get RandomWriteCtx FAILED!", __func__); in SetWriter() 59 PROFILER_LOG_ERROR(LOG_CORE, "%s the size=%d is too small", __FUNCTION__, size); in SerializeData() 71 PROFILER_LOG_ERROR(LOG_CORE, "%s the size=%d is too small", __FUNCTION__, size); in SerializeDataImpl() 76 PROFILER_LOG_ERROR(LOG_CORE, "%s type is invalid", __FUNCTION__); in SerializeDataImpl() 165 PROFILER_LOG_ERROR(LOG_CORE, "Flush src is nullptr"); in FlushData() 170 PROFILER_LOG_ERROR(LOG_CORE, "Flush writer_ is nullptr"); in FlushData() 192 PROFILER_LOG_ERROR(LOG_CORE, "%s: get RandomWriteCtx FAILED!", __func__); in FlushData()
|
/developtools/profiler/device/base/src/ |
D | common.cpp | 90 …PROFILER_LOG_ERROR(LOG_CORE, "%s:failed to open(%s), errno(%d:%s)", __func__, fileName.c_str(), er… in IsProcessRunning() 96 PROFILER_LOG_ERROR(LOG_CORE, "%s: get fd flags failed!", __func__); in IsProcessRunning() 102 PROFILER_LOG_ERROR(LOG_CORE, "%s: set fd_cloexec failed!", __func__); in IsProcessRunning() 109 … PROFILER_LOG_ERROR(LOG_CORE, "%s is running, please don't start it again.", processName.c_str()); in IsProcessRunning() 247 PROFILER_LOG_ERROR(LOG_CORE, "%s: param invalid", __func__); in CustomPopen() 286 PROFILER_LOG_ERROR(LOG_CORE, "execve failed {%s:%s}", __func__, strerror(errno)); in CustomPopen() 327 PROFILER_LOG_ERROR(LOG_CORE, "%s: %s.", __func__, strerror(errno)); in CustomPclose() 394 PROFILER_LOG_ERROR(LOG_CORE, "The string splited is empty!"); in SplitString() 422 PROFILER_LOG_ERROR(LOG_CORE, "Get process name by pid failed!"); in CheckApplicationPermission() 531 PROFILER_LOG_ERROR(LOG_CORE, "QueryActiveOsAccountIds failed ret:%d", ret); in GetCurrentUserId() [all …]
|
D | schedule_task_manager.cpp | 68 PROFILER_LOG_ERROR(LOG_CORE, "ScheduleTaskManager timerfd create failed"); in ScheduleTask() 76 … PROFILER_LOG_ERROR(LOG_CORE, "the interval parameters of a single execution cannot be 0"); in ScheduleTask() 94 PROFILER_LOG_ERROR(LOG_CORE, "ScheduleTaskManager timerfd settime failed"); in ScheduleTask()
|
/developtools/profiler/device/plugins/diskio_plugin/src/ |
D | diskio_data_plugin.cpp | 125 …PROFILER_LOG_ERROR(LOG_CORE, "%s:failed to open(%s), errno=%d", __func__, fileName.c_str(), errno); in ReadFile() 130 PROFILER_LOG_ERROR(LOG_CORE, "%s:empty address, buffer_ is NULL", __func__); in ReadFile() 138 …PROFILER_LOG_ERROR(LOG_CORE, "%s:failed to read(%s), errno=%d", __func__, fileName.c_str(), errno); in ReadFile() 174 PROFILER_LOG_ERROR(LOG_CORE, "%s:failed to get pgpgin, CurWord() = %s", in SetDiskioData() 182 PROFILER_LOG_ERROR(LOG_CORE, "%s:failed to get pgpgout, CurWord() = %s", in SetDiskioData()
|
/developtools/profiler/device/services/shared_memory/src/ |
D | share_memory_block.cpp | 71 PROFILER_LOG_ERROR(LOG_CORE, "CreateBlockWithFd mmap ERR : %s", buf); in CreateBlockWithFd() 112 PROFILER_LOG_ERROR(LOG_CORE, "OHOS::AshmemSetProt ERR : %s", buf); in CreateBlock() 122 PROFILER_LOG_ERROR(LOG_CORE, "CreateBlock mmap ERR : %s", buf); in CreateBlock() 236 PROFILER_LOG_ERROR(LOG_CORE, "PutRaw not enough space [%d]", size); in PutRaw() 240 PROFILER_LOG_ERROR(LOG_CORE, "memcpy_s error"); in PutRaw() 258 PROFILER_LOG_ERROR(LOG_CORE, "PutRawTimeout failed %d", errno); in PutRawTimeout() 264 PROFILER_LOG_ERROR(LOG_CORE, "PutRaw not enough space [%d]", size); in PutRawTimeout() 269 PROFILER_LOG_ERROR(LOG_CORE, "memcpy_s error"); in PutRawTimeout() 326 … PROFILER_LOG_ERROR(LOG_CORE, "%s: PutMessage not enough space [%zu]", pluginName.c_str(), size); in PutMessage() 332 …PROFILER_LOG_ERROR(LOG_CORE, "%s: SerializeToArray failed with %d, size: %zu", __func__, ret, size… in PutMessage() [all …]
|
/developtools/profiler/device/plugins/native_daemon/src/ |
D | hook_manager.cpp | 85 PROFILER_LOG_ERROR(LOG_CORE, "%s: hook process does not exist", __func__); in CheckProcess() 104 PROFILER_LOG_ERROR(LOG_CORE, "%s: The maximum allowed is to set %d PIDs.", in CheckProcess() 110 …PROFILER_LOG_ERROR(LOG_CORE, "%s: The maximum allowed is to set %d PIDs.", __func__, MAX_PID_COUNT… in CheckProcess() 131 … PROFILER_LOG_ERROR(LOG_CORE, "set param failed, please manually set param and start process(%s)", in CheckProcessName() 148 PROFILER_LOG_ERROR(LOG_CORE, "The startup mode parameter is not set, name: %s", in CheckProcessName() 241 PROFILER_LOG_ERROR(LOG_CORE, "memcpy_s filter_napi_name fail"); in GetClientConfig() 255 PROFILER_LOG_ERROR(LOG_CORE, "HandleHookContext context error, pid: %d, process name: %s", in HandleHookContext() 320 PROFILER_LOG_ERROR(LOG_CORE, "%s: ParseFromArray failed", __func__); in CreatePluginSession() 375 PROFILER_LOG_ERROR(LOG_CORE, "HookManager no task"); in CreatePluginSession() 477 PROFILER_LOG_ERROR(LOG_CORE, "eventPoller unset!"); in DestroyPluginSession() [all …]
|
D | hook_service.cpp | 69 PROFILER_LOG_ERROR(LOG_CORE, "Get process name by pid failed!, pid: %d", peerConfig); in ProtocolProc() 96 …PROFILER_LOG_ERROR(LOG_CORE, "Get eventFd and smbFd failed!, name: %s, pid: %d", procName.c_str(),… in ProtocolProc()
|
/developtools/profiler/device/base/test/unittest/ |
D | common_test.cpp | 37 …PROFILER_LOG_ERROR(LOG_CORE, "WriteFile: fopen() fail, %s, %s", filePath.c_str(), errorMsg.c_str()… in WriteFile() 44 PROFILER_LOG_ERROR(LOG_CORE, "WriteFile: fwrite() fail, %s", errorMsg.c_str()); in WriteFile() 51 PROFILER_LOG_ERROR(LOG_CORE, "WriteFile: fflush() error = %s", errorMsg.c_str()); in WriteFile() 59 PROFILER_LOG_ERROR(LOG_CORE, "CreateConfigFile: fclose() error = %s", errorMsg.c_str()); in WriteFile()
|
/developtools/profiler/device/plugins/hidump_plugin/src/ |
D | hidump_plugin.cpp | 78 …PROFILER_LOG_ERROR(LOG_CORE, "HidumpPlugin: CustomPopen(%s) Failed, errno(%d:%s)", FPS_FORMAT, err… in Start() 151 PROFILER_LOG_ERROR(LOG_CORE, "parse hidump info failed!"); in Loop() 168 PROFILER_LOG_ERROR(LOG_CORE, "HidumpPlugin: fps command not found!"); in ParseHidumpInfo() 170 PROFILER_LOG_ERROR(LOG_CORE, "format error. %s", buf); in ParseHidumpInfo() 254 … PROFILER_LOG_ERROR(LOG_CORE, "HidumpPlugin:%s fclose failed! errno(%d:%s)", __func__, errno, buf); in CustomPclose()
|
/developtools/profiler/device/plugins/gpu_plugin/src/ |
D | gpu_data_plugin.cpp | 36 PROFILER_LOG_ERROR(LOG_CORE, "%s:failed to open(%s)", __func__, GPU_PATH.c_str()); in Start() 82 PROFILER_LOG_ERROR(LOG_CORE, "invalid file content for (%s)", GPU_PATH.c_str()); in ReadFile()
|
/developtools/profiler/device/plugins/api/test/unittest/ |
D | buffer_write_test.cpp | 47 PROFILER_LOG_ERROR(LOG_CORE, "CreateBlock ftruncate ERR : %s", buf); in InitShareMemory1() 57 PROFILER_LOG_ERROR(LOG_CORE, "CreateBlock g_smbAddr1 mmap ERR : %s", buf); in InitShareMemory1() 84 PROFILER_LOG_ERROR(LOG_CORE, "CreateBlock ftruncate ERR : %s", buf); in InitShareMemory2() 94 PROFILER_LOG_ERROR(LOG_CORE, "CreateBlock g_smbAddr2 mmap ERR : %s", buf); in InitShareMemory2()
|
/developtools/profiler/device/plugins/hilog_plugin/src/ |
D | hilog_plugin.cpp | 224 PROFILER_LOG_ERROR(LOG_CORE, in Run() 271 PROFILER_LOG_ERROR(LOG_CORE, "HilogPlugin:%s param invalid", __func__); in ParseLogLineInfo() 349 PROFILER_LOG_ERROR(LOG_CORE, "HilogPlugin: log context include invalid UTF-8 data"); in SetHilogLineDetails() 424 … PROFILER_LOG_ERROR(LOG_CORE, "HilogPlugin: get localtime failed!, errno(%d:%s)", errno, buf); in TimeStringToNS() 446 PROFILER_LOG_ERROR(LOG_CORE, "%s:snprintf_s error", __func__); in TimeStringToNS() 470 … PROFILER_LOG_ERROR(LOG_CORE, "HilogPlugin: get localtime failed!, errno(%d:%s)", errno, buf); in GetDateTime() 476 PROFILER_LOG_ERROR(LOG_CORE, "%s:snprintf_s error", __func__); in GetDateTime()
|