From e35fab0d51588cf7dee704c1912d088b75dba6e9 Mon Sep 17 00:00:00 2001 From: "Eunki, Hong" Date: Wed, 17 Apr 2024 14:54:03 +0900 Subject: [PATCH] Ignore ttrace for TV profile Let we don't print trace log when we use TV profile. ttrace log print at HWC level log, which should have less logs. To avoid this log printing, let we just ignore ttrace only for TV profile. Change-Id: I7a35ba0a4253195972b3363799b083ff941cbb3d Signed-off-by: Eunki, Hong --- dali/internal/trace/tizen/trace-manager-impl-tizen.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dali/internal/trace/tizen/trace-manager-impl-tizen.cpp b/dali/internal/trace/tizen/trace-manager-impl-tizen.cpp index 0d2b2bd..8061215 100644 --- a/dali/internal/trace/tizen/trace-manager-impl-tizen.cpp +++ b/dali/internal/trace/tizen/trace-manager-impl-tizen.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2023 Samsung Electronics Co., Ltd. + * Copyright (c) 2024 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -58,7 +58,9 @@ void TraceManagerTizen::LogContext(bool start, const char* tag, const char* mess { if(start) { +#ifndef DALI_PROFILE_TV // Avoid HWC log printing in TV traceBegin(TTRACE_TAG_GRAPHICS, tag ? tag : EMPTY_TAG); +#endif // DALI_PROFILE_TV if(gTraceManagerEnablePrintLog) { @@ -67,7 +69,9 @@ void TraceManagerTizen::LogContext(bool start, const char* tag, const char* mess } else { +#ifndef DALI_PROFILE_TV // Avoid HWC log printing in TV traceEnd(TTRACE_TAG_GRAPHICS); +#endif // DALI_PROFILE_TV if(gTraceManagerEnablePrintLog) { -- 2.7.4