Add extra tag TTRACE_TAG_DEBUG for TV profile. 72/84372/1 accepted/tizen/common/20160819.131040 submit/tizen/20160819.010811
authorJonghwa Lee <jonghwa3.lee@samsung.com>
Thu, 18 Aug 2016 08:04:37 +0000 (17:04 +0900)
committerJonghwa Lee <jonghwa3.lee@samsung.com>
Thu, 18 Aug 2016 08:17:32 +0000 (17:17 +0900)
For some specific demands, it adds extra tag 'DEBUG' for TV profile.
The tag will be used for logging miscellaneous stuff.

This tag is only avaliable on TV profile.

Change-Id: I81575e9bd0ebaaeb073bc1c6b48774f656a4a27a
Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com>
src/atrace/atrace.cpp
ttrace.h.in

index dad1fa640c7200132f4e791db95eb17500ed4b95..7142eea3d4e9341c499c84f60fb85d2684510dc0 100755 (executable)
@@ -199,6 +199,7 @@ static const TracingCategory k_categories[] = {
 #ifdef TTRACE_PROFILE_MOBILE
 #elif defined TTRACE_PROFILE_TV
     { "system",       "System",                TTRACE_TAG_SYSTEM, { } },
+    { "debug",       "For extra debugging purpose",    TTRACE_TAG_DEBUG, { } },
 #elif defined TTRACE_PROFILE_WEARABLE
 #endif
 };
index 057a2df84574e764054f0a3c8b0d83ccf0fd0be6..7941c27fa49248d9d75b005dab3b14959ff3b946 100755 (executable)
@@ -56,6 +56,7 @@ extern "C" {
 #elif defined TTRACE_PROFILE_TV
 //define TAGs belonging to tv profile only
 #define TTRACE_TAG_SYSTEM              (1<<21)
+#define TTRACE_TAG_DEBUG               (1<<22)
 #elif defined TTRACE_PROFILE_WEARABLE
 //define TAGs belonging to wearable profile only
 #endif