Home
last modified time | relevance | path

Searched refs:PROFILER_LOG_ERROR (Results 1 – 25 of 65) sorted by relevance

123

/developtools/profiler/device/plugins/native_daemon/native_memory_profiler_sa/util/include/
Ddefine_macro.h35 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/
Dxpower_plugin.cpp59 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()
84PROFILER_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/
Dnative_memory_profiler_sa_proxy.cpp29 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()
Dnative_memory_profiler_sa_service.cpp45 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 …]
Dnative_memory_profiler_sa_client_manager.cpp34PROFILER_LOG_ERROR(LOG_CORE, "NativeMemoryProfilerSaClientManager: start GetRemoteService failed"); in Start()
45 PROFILER_LOG_ERROR(LOG_CORE, "NativeMemoryProfilerSaClientManager: pid cannot be 0"); in Start()
66PROFILER_LOG_ERROR(LOG_CORE, "NativeMemoryProfilerSaClientManager: stop GetRemoteService failed"); in Stop()
78PROFILER_LOG_ERROR(LOG_CORE, "NativeMemoryProfilerSaClientManager: stop GetRemoteService failed"); in Stop()
93PROFILER_LOG_ERROR(LOG_CORE, "NativeMemoryProfilerSaClientManager: stop GetRemoteService failed"); in DumpData()
113 PROFILER_LOG_ERROR(LOG_CORE, "NativeMemoryProfilerSaClientManager: duration cannot be 0"); in CheckConfig()
133PROFILER_LOG_ERROR(LOG_CORE, "NativeMemoryProfilerSaClientManager: stop GetRemoteService failed"); in GetMallocStats()
Dnative_memory_profiler_sa_stub.cpp29 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/
Darkts_plugin.cpp79 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()
291PROFILER_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/
Dnetwork_profiler_handle.cpp51 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()
Dnetwork_profiler_manager.cpp68 PROFILER_LOG_ERROR(LOG_CORE, "%s: hook process does not exist", __func__); in CheckConfig()
88PROFILER_LOG_ERROR(LOG_CORE, "NetworkProfilerManager Process %s already exists", name.c_str()); in CheckConfig()
106 PROFILER_LOG_ERROR(LOG_CORE, in CheckConfig()
114PROFILER_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/
Dunix_socket_client.cpp35 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()
Dsocket_context.cpp44 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()
115PROFILER_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()
Dunix_socket_server.cpp76PROFILER_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/
Dffrt_profiler_manager.cpp67 PROFILER_LOG_ERROR(LOG_CORE, "%s: hook process does not exist", __func__); in CheckConfig()
87PROFILER_LOG_ERROR(LOG_CORE, "FfrtProfilerManager Process %s already exists", name.c_str()); in CheckConfig()
105 PROFILER_LOG_ERROR(LOG_CORE, in CheckConfig()
113PROFILER_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 …]
Dffrt_profiler_handle.cpp49 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/
Dcommon.cpp90PROFILER_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()
109PROFILER_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 …]
Dschedule_task_manager.cpp68 PROFILER_LOG_ERROR(LOG_CORE, "ScheduleTaskManager timerfd create failed"); in ScheduleTask()
76PROFILER_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/
Ddiskio_data_plugin.cpp125PROFILER_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()
138PROFILER_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/
Dshare_memory_block.cpp71 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()
326PROFILER_LOG_ERROR(LOG_CORE, "%s: PutMessage not enough space [%zu]", pluginName.c_str(), size); in PutMessage()
332PROFILER_LOG_ERROR(LOG_CORE, "%s: SerializeToArray failed with %d, size: %zu", __func__, ret, size… in PutMessage()
[all …]
/developtools/profiler/device/plugins/native_daemon/src/
Dhook_manager.cpp85 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()
110PROFILER_LOG_ERROR(LOG_CORE, "%s: The maximum allowed is to set %d PIDs.", __func__, MAX_PID_COUNT… in CheckProcess()
131PROFILER_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 …]
Dhook_service.cpp69 PROFILER_LOG_ERROR(LOG_CORE, "Get process name by pid failed!, pid: %d", peerConfig); in ProtocolProc()
96PROFILER_LOG_ERROR(LOG_CORE, "Get eventFd and smbFd failed!, name: %s, pid: %d", procName.c_str(),… in ProtocolProc()
/developtools/profiler/device/base/test/unittest/
Dcommon_test.cpp37PROFILER_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/
Dhidump_plugin.cpp78PROFILER_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()
254PROFILER_LOG_ERROR(LOG_CORE, "HidumpPlugin:%s fclose failed! errno(%d:%s)", __func__, errno, buf); in CustomPclose()
/developtools/profiler/device/plugins/gpu_plugin/src/
Dgpu_data_plugin.cpp36 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/
Dbuffer_write_test.cpp47 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/
Dhilog_plugin.cpp224 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()
424PROFILER_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()
470PROFILER_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()

123