From: Eunji, Lee Date: Wed, 24 Feb 2016 10:38:50 +0000 (+0900) Subject: add TTRACE_TAG_EFL X-Git-Tag: accepted/tizen/ivi/20160225.081753^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2e451decb0003122681559f2bd60e46535893701;p=tools%2Fttrace.git add TTRACE_TAG_EFL Change-Id: Idf74de606ca6a1d7977512d631ae4eeda1f9c73c Signed-off-by: Eunji, Lee --- 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 +#include #include #include #include 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 + #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