summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEunji, Lee <eunjieji.lee@samsung.com>2016-02-24 19:38:50 +0900
committerEunji, Lee <eunjieji.lee@samsung.com>2016-02-24 19:38:50 +0900
commit2e451decb0003122681559f2bd60e46535893701 (patch)
treea1ee20e4a03c357a1f8e68f7c19567b26a6f0727
parent50fbdee54836b77a1194b1728153977e8dbe09fc (diff)
downloadttrace-2e451decb0003122681559f2bd60e46535893701.tar.gz
ttrace-2e451decb0003122681559f2bd60e46535893701.tar.bz2
ttrace-2e451decb0003122681559f2bd60e46535893701.zip
Change-Id: Idf74de606ca6a1d7977512d631ae4eeda1f9c73c Signed-off-by: Eunji, Lee <eunjieji.lee@samsung.com>
-rwxr-xr-xsrc/atrace/atrace.cpp1
-rwxr-xr-xsrc/ttrace.c1
-rwxr-xr-xttrace.h.in7
3 files changed, 6 insertions, 3 deletions
diff --git a/src/atrace/atrace.cpp b/src/atrace/atrace.cpp
index 146e99b..2ac43cf 100755
--- a/src/atrace/atrace.cpp
+++ b/src/atrace/atrace.cpp
@@ -144,6 +144,7 @@ static const TracingCategory k_categories[] = {
{ "mc", "Multimedia content", TTRACE_TAG_MEDIA_CONTENT, { } },
{ "mdb", "Multimedia database", TTRACE_TAG_MEDIA_DB, { } },
{ "scmirroring", "Screen mirroring", TTRACE_TAG_SCREEN_MIRRORING, { } },
+ { "efl", "EFL", TTRACE_TAG_EFL, { } },
{ "app", "Application", TTRACE_TAG_APP, { } },
#else // Android tags
{ "gfx", "Graphics", ATRACE_TAG_GRAPHICS, { } },
diff --git a/src/ttrace.c b/src/ttrace.c
index 12c953d..7b62bb7 100755
--- a/src/ttrace.c
+++ b/src/ttrace.c
@@ -40,6 +40,7 @@
#endif
#include <errno.h>
+#include <stdio.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/types.h>
diff --git a/ttrace.h.in b/ttrace.h.in
index cfd6890..8cf061b 100755
--- a/ttrace.h.in
+++ b/ttrace.h.in
@@ -22,7 +22,7 @@
#cmakedefine TTRACE_PROFILE_TV
#cmakedefine TTRACE_PROFILE_WEARABLE
-#include <stdio.h>
+
#include "stdint.h"
#ifdef __cplusplus
@@ -46,13 +46,14 @@ extern "C" {
#define TTRACE_TAG_MEDIA_CONTENT (1<<12)
#define TTRACE_TAG_MEDIA_DB (1<<13)
#define TTRACE_TAG_SCREEN_MIRRORING (1<<14)
-#define TTRACE_TAG_APP (1<<15)
+#define TTRACE_TAG_EFL (1<<15)
+#define TTRACE_TAG_APP (1<<20)
#ifdef TTRACE_PROFILE_MOBILE
//define TAGs belonging to mobile profile only
#elif defined TTRACE_PROFILE_TV
//define TAGs belonging to tv profile only
-#define TTRACE_TAG_SYSTEM (1<<16)
+#define TTRACE_TAG_SYSTEM (1<<21)
#elif defined TTRACE_PROFILE_WEARABLE
//define TAGs belonging to wearable profile only
#endif