Skip to content
Snippets Groups Projects
Commit 72e5630c authored by Esben Haabendal's avatar Esben Haabendal
Browse files

openharmony-standard: Comment out noisy vsync/vblank hilog messags


This happens at least 60 times a second, totalling at least 120 lines per
second. We are disabling them completely, so we don't even flood the debug
log.

Signed-off-by: default avatarEsben Haabendal <esben@geanix.com>
parent bb1b37a8
No related branches found
No related tags found
1 merge request!100openharmony-standard: Comment out noisy vsync/vblank hilog messags
Pipeline #15038 passed
# SPDX-FileCopyrightText: Huawei Inc.
#
# SPDX-License-Identifier: Apache-2.0
graphic-standard: Comment out some very noisy log messages
Signed-off-by: Esben Haabendal <esben@geanix.com>
Upstream-Status: Inappropriate [configuration]
diff --git a/frameworks/vsync/src/vsync_manager.cpp b/frameworks/vsync/src/vsync_manager.cpp
index 56071849488d..2d8782ca1bb4 100644
--- a/frameworks/vsync/src/vsync_manager.cpp
+++ b/frameworks/vsync/src/vsync_manager.cpp
@@ -97,7 +97,7 @@ VsyncError VsyncManager::GetVsyncFrequency(uint32_t &freq)
void VsyncManager::Callback(int64_t timestamp)
{
- VLOGI("call callback");
+ //VLOGI("call callback");
std::lock_guard<std::mutex> lock(callbacksMutex_);
using sptrIVsyncCallback = sptr<IVsyncCallback>;
diff --git a/frameworks/vsync/src/vsync_module_impl.cpp b/frameworks/vsync/src/vsync_module_impl.cpp
index db87aebf5356..4f33ff62fa67 100644
--- a/frameworks/vsync/src/vsync_module_impl.cpp
+++ b/frameworks/vsync/src/vsync_module_impl.cpp
@@ -64,7 +64,7 @@ VsyncError VsyncModuleImpl::Trigger()
return VSYNC_ERROR_INVALID_OPERATING;
}
- VLOG_SUCCESS("Trigger");
+ //VLOG_SUCCESS("Trigger");
const auto &now = std::chrono::steady_clock::now().time_since_epoch();
int64_t occurTimestamp = std::chrono::duration_cast<std::chrono::nanoseconds>(now).count();
......@@ -57,6 +57,7 @@ SRC_URI += "file://ivi-input-controller.c-Fix-g_ctx-declaration-causing-segfault
SRC_URI += "file://xf86drm.c-Add-drmWaitVBlank-hack.patch;patchdir=${S}/third_party/libdrm"
SRC_URI += "file://graphic-standard-Add-missing-entry-for-libwms_client.patch;patchdir=${S}/foundation/graphic/standard"
SRC_URI += "file://graphic-standard-vsync-log-spam.patch;patchdir=${S}/foundation/graphic/standard"
SRC_URI += "file://appspawn-procps.patch;patchdir=${S}/base/startup/appspawn_standard"
SRC_URI += "file://base_startup_appspawn_standard-disable-longProcName-resetting.patch;patchdir=${S}/base/startup/appspawn_standard"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment