projects
/
adaptation
/
xorg
/
driver
/
xserver-xorg-module-xdbg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc24c38
)
Fix bug of printing duplicate logs
author
Heebum Kwak
<heebum0.kwak@samsung.com>
Tue, 16 Apr 2013 07:55:23 +0000
(16:55 +0900)
committer
Boram Park
<boram1288.park@samsung.com>
Mon, 17 Jun 2013 08:44:33 +0000
(17:44 +0900)
Change-Id: Ie3cb6951bd4cb3559d4dc4e85fa445c6bd847e5c
module/xdbg_module_evlog.c
patch
|
blob
|
history
diff --git
a/module/xdbg_module_evlog.c
b/module/xdbg_module_evlog.c
index
ae47b28
..
0f5f94a
100644
(file)
--- a/
module/xdbg_module_evlog.c
+++ b/
module/xdbg_module_evlog.c
@@
-239,6
+239,7
@@
static void evtPrint (EvlogType type, ClientPtr client, xEvent *ev)
evtRecord (xev_trace_record_fd, &evinfo);
else
evtPrintF (xev_trace_fd, &evinfo);
+
}
static const char*
@@
-495,6
+496,10
@@
xDbgModuleEvlogPrintEvents (XDbgModule *pMod, Bool on, const char * client_name,
{
int ret = TRUE;
+ on = (on)?TRUE:FALSE;
+ if (xev_trace_on == on)
+ return;
+
xev_trace_on = on;
if (xev_trace_on)