summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonghwa Lee <jonghwa3.lee@samsung.com>2016-08-18 17:04:37 +0900
committerJonghwa Lee <jonghwa3.lee@samsung.com>2016-08-18 17:17:32 +0900
commite20832fbd44cc8211e4b42b510bd911603cb355c (patch)
tree7d374a551a771834e8932a6ba9254048f14fb5ef
parent94b5ed42497a3c6136f62541327590c27d40bc70 (diff)
downloadttrace-e20832fbd44cc8211e4b42b510bd911603cb355c.tar.gz
ttrace-e20832fbd44cc8211e4b42b510bd911603cb355c.tar.bz2
ttrace-e20832fbd44cc8211e4b42b510bd911603cb355c.zip
Add extra tag TTRACE_TAG_DEBUG for TV profile.submit/tizen/20160819.010811accepted/tizen/common/20160819.131040
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>
-rwxr-xr-xsrc/atrace/atrace.cpp1
-rwxr-xr-xttrace.h.in1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/atrace/atrace.cpp b/src/atrace/atrace.cpp
index dad1fa6..7142eea 100755
--- a/src/atrace/atrace.cpp
+++ b/src/atrace/atrace.cpp
@@ -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
};
diff --git a/ttrace.h.in b/ttrace.h.in
index 057a2df..7941c27 100755
--- a/ttrace.h.in
+++ b/ttrace.h.in
@@ -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