From: Vitaliy Cherepanov Date: Thu, 10 Jul 2014 09:21:01 +0000 (+0400) Subject: [FEATURE] add PRINTWRN support X-Git-Tag: Tizen_SDK_2.3~60 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F11%2F24311%2F1;p=platform%2Fcore%2Fsystem%2Fswap-probe.git [FEATURE] add PRINTWRN support Change-Id: I202bc5669f249ade1a7e8eab54c94546d37e83c3 Signed-off-by: Vitaliy Cherepanov --- diff --git a/include/daprobe.h b/include/daprobe.h index 4c84992..1c01249 100644 --- a/include/daprobe.h +++ b/include/daprobe.h @@ -140,6 +140,7 @@ int getBacktraceString(log_t* log, int bufsize); // ========================= print log ===================================== #define PRINTMSG(...) print_log_fmt(MSG_MSG, __FUNCTION__, __LINE__, __VA_ARGS__) +#define PRINTWRN(...) print_log_fmt(MSG_WARNING, __FUNCTION__, __LINE__, __VA_ARGS__) #define PRINTERR(...) print_log_fmt(MSG_ERROR, __FUNCTION__, __LINE__, __VA_ARGS__) #define INIT_INFO \ diff --git a/include/probeinfo.h b/include/probeinfo.h index b53c509..98d7111 100755 --- a/include/probeinfo.h +++ b/include/probeinfo.h @@ -178,6 +178,7 @@ enum MessageType MSG_MSG = 9, MSG_ALLOC = 10, MSG_ERROR = 11, + MSG_WARNING = 12, MSG_STOP = 101, MSG_CONFIG = 103, MSG_CAPTURE_SCREEN= 108