projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6396ee
)
ecs LOGS: replace from __TIME__ to get_timeofday() to print time for
24/14324/1
author
Jinhyung Choi
<jinhyung2.choi@samsung.com>
Fri, 3 Jan 2014 03:23:27 +0000
(12:23 +0900)
committer
Jinhyung Choi
<jinhyung2.choi@samsung.com>
Fri, 3 Jan 2014 03:23:27 +0000
(12:23 +0900)
logging
Change-Id: Ieeb88fa14cd817ff3b16efee4264503232eba215
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
tizen/src/ecs/ecs.h
patch
|
blob
|
history
diff --git
a/tizen/src/ecs/ecs.h
b/tizen/src/ecs/ecs.h
index 7be06d85face3e11e9139651777116c254ff83cd..f27734c82ca2327f2a9568bd124c58b2a8219111 100644
(file)
--- a/
tizen/src/ecs/ecs.h
+++ b/
tizen/src/ecs/ecs.h
@@
-40,6
+40,7
@@
#include "ecs-json-streamer.h"
#include "genmsg/ecs.pb-c.h"
#include "genmsg/ecs_ids.pb-c.h"
+#include "../osutil.h"
#define ECS_VERSION "1.0"
@@
-48,7
+49,7
@@
#ifdef ECS_DEBUG
#define LOG(fmt, arg...) \
do { \
- fprintf(stdout,"[%s-%s:%d] "fmt"\n",
__TIME__
, __FUNCTION__, __LINE__, ##arg); \
+ fprintf(stdout,"[%s-%s:%d] "fmt"\n",
get_timeofday()
, __FUNCTION__, __LINE__, ##arg); \
} while (0)
#else
#define LOG(fmt, arg...)