ttrace: pass variable arguments to traceBegin 27/73627/2
authorGwanglim Lee <gl77.lee@samsung.com>
Thu, 9 Jun 2016 02:45:57 +0000 (11:45 +0900)
committerGwanglim Lee <gl77.lee@samsung.com>
Thu, 9 Jun 2016 02:46:23 +0000 (19:46 -0700)
Change-Id: I870fd4e9fd9ad12bef1d5e74c2c85c64a85052c1

src/bin/e.h

index 6d134e0a52771865dc5d1188eb2ae8afa8ae8b50..6b9bb4ce38935ecdeb1f6e0338f8c07e7cc1514b 100644 (file)
@@ -102,9 +102,9 @@ void *alloca (size_t);
 #  undef TRACE_DS_END
 #  undef TRACE_INPUT_BEGIN
 #  undef TRACE_INPUT_END
-#  define TRACE_DS_BEGIN(NAME, ...) traceBegin(TTRACE_TAG_WINDOW_MANAGER, "DS:"#NAME)
+#  define TRACE_DS_BEGIN(NAME, ...) traceBegin(TTRACE_TAG_WINDOW_MANAGER, "DS:"#NAME, ##__VA_ARGS__)
 #  define TRACE_DS_END() traceEnd(TTRACE_TAG_WINDOW_MANAGER)
-#  define TRACE_INPUT_BEGIN(NAME, ...) traceBegin(TTRACE_TAG_INPUT, "INPUT:SERVER:"#NAME)
+#  define TRACE_INPUT_BEGIN(NAME, ...) traceBegin(TTRACE_TAG_INPUT, "INPUT:SERVER:"#NAME, ##__VA_ARGS__)
 #  define TRACE_INPUT_END() traceEnd(TTRACE_TAG_INPUT)
 # else
 #  define TRACE_DS_BEGIN(NAME, ...)