diff --git a/frameworks/core/frame_aware_policy/src/intellisense_server.cpp b/frameworks/core/frame_aware_policy/src/intellisense_server.cpp index 2df393da028b1ee64daeeacb309d481a05e89903..ba039b533f0bed05a66fbe91fe1dff728f949a9f 100644 --- a/frameworks/core/frame_aware_policy/src/intellisense_server.cpp +++ b/frameworks/core/frame_aware_policy/src/intellisense_server.cpp @@ -386,7 +386,7 @@ int IntelliSenseServer::CreateNewRtgGrp(int prioType, int rtNum) char fileName[] = "/proc/self/sched_rtg_ctrl"; FILE* f = fopen(fileName, "r+"); if (f == nullptr) { - RME_LOGE("Open file /proc/self/sched_rth_ctrl, errno = %{public}d", errno); + RME_LOGE("[CreateNewRtgGrp]:fopen file failed, errno = %{public}d", errno); return -1; } int fd = fileno(f); @@ -409,7 +409,7 @@ int IntelliSenseServer::CreateNewRtgGrp(int prioType, int rtNum) } int fc = fclose(f); if (fc != 0) { - RME_LOGE("fclose file /proc/self/sched_rth_ctrl, errno = %{public}d (%{public}s)", errno, strerror(errno)); + RME_LOGE("[CreateNewRtgGrp]:fclose file failed, errno = %{public}d (%{public}s)", errno, strerror(errno)); } return ret; } diff --git a/frameworks/core/frame_aware_policy/src/para_config.cpp b/frameworks/core/frame_aware_policy/src/para_config.cpp index f6f806486aa377ddce1dd739e12fc681956dbc57..547cd8fca7899d3c6283e2deb07d56f58dbd9aaf 100644 --- a/frameworks/core/frame_aware_policy/src/para_config.cpp +++ b/frameworks/core/frame_aware_policy/src/para_config.cpp @@ -33,7 +33,6 @@ std::vector ParaConfig::m_renderTypeList; bool ParaConfig::IsXmlPrepared(const std::string& filePath) { xmlDocPtr docPtr = xmlReadFile(filePath.c_str(), nullptr, XML_PARSE_NOBLANKS); - RME_LOGI("[IsXmlPrepared]:filePath:%{public}s", filePath.c_str()); if (docPtr == nullptr) { RME_LOGE("[IsXmlPrepared]:load xml error!"); return false; diff --git a/interfaces/innerkits/frameintf/rtg_interface.cpp b/interfaces/innerkits/frameintf/rtg_interface.cpp index 9b7b6029ac66ecefd40110a215d830aff780cf0a..fa80ea6f6f8e4fe0f8bc71a570f6fbcd2593ae97 100644 --- a/interfaces/innerkits/frameintf/rtg_interface.cpp +++ b/interfaces/innerkits/frameintf/rtg_interface.cpp @@ -68,11 +68,12 @@ __attribute__((constructor)) void BasicOpenRtgNode() char fileName[] = "/proc/self/sched_rtg_ctrl"; g_f = fopen(fileName, "r+"); if (g_f == nullptr) { - RME_LOGI("rtg Open fail, errno = %{public}d(%{public}s), dev = %{public}s", errno, strerror(errno), fileName); + RME_LOGI("rtg fOpen fail, errno = %{public}d(%{public}s)", errno, strerror(errno)); return; } g_fd = fileno(g_f); if (g_fd < 0) { + RME_LOGI("rtg fileno fail, errno = %{public}d(%{public}s)", errno, strerror(errno)); return; } RME_LOGI("rtg Open success"); @@ -87,7 +88,7 @@ __attribute__((destructor)) void BasicCloseRtgNode() RME_LOGI("rtg Close g_fd ret is %{public}d", g_fd); int fc = fclose(g_f); if (fc != 0) { - RME_LOGE("rtg fclose file /proc/self/sched_rtg_ctrl, errno = %{public}d (%{public}s)", errno, strerror(errno)); + RME_LOGE("rtg fclose file, errno = %{public}d (%{public}s)", errno, strerror(errno)); } g_fd = -1; g_f = nullptr; @@ -308,7 +309,7 @@ int EndScene(int grpId) { int ret = 0; if (g_fd < 0) { - RME_LOGE("Open fail /proc/self/sched_rtg_ctrl"); + RME_LOGE("[EndScene]:Open file failed"); return g_fd; } struct proc_state_data state_data;