From 704ceb88b007919fa60d932555c7b4b9388d5ee5 Mon Sep 17 00:00:00 2001 From: SooChan Lim Date: Thu, 11 Apr 2013 15:05:18 +0900 Subject: [PATCH] make the symbols to gather the log be internal Change-Id: If7aa2ddcab1f9557371c6f1a1222c6a8ffac0e6e --- lib/xdbg_log_drmevent.c | 1 + lib/xdbg_log_drmevent.h | 3 --- lib/xdbg_log_fpsdebug.c | 2 +- lib/xdbg_log_fpsdebug.h | 2 -- lib/xdbg_log_int.h | 39 +++++++++++++++++++++++++++++++++++++++ lib/xdbg_log_plist.c | 2 +- lib/xdbg_log_plist.h | 2 -- module/xdbg_module_drmevent.c | 1 + module/xdbg_module_fpsdebug.c | 1 + module/xdbg_module_plist.c | 1 + 10 files changed, 45 insertions(+), 9 deletions(-) create mode 100755 lib/xdbg_log_int.h diff --git a/lib/xdbg_log_drmevent.c b/lib/xdbg_log_drmevent.c index 3f1ae3b..5219a87 100755 --- a/lib/xdbg_log_drmevent.c +++ b/lib/xdbg_log_drmevent.c @@ -44,6 +44,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include #include "xdbg.h" +#include "xdbg_log_int.h" #include diff --git a/lib/xdbg_log_drmevent.h b/lib/xdbg_log_drmevent.h index 89364b7..83d777f 100755 --- a/lib/xdbg_log_drmevent.h +++ b/lib/xdbg_log_drmevent.h @@ -41,7 +41,4 @@ void xDbgLogDrmEventRemoveVblank (void *vblank_data); void *xDbgLogDrmEventAddPageflip (int crtc_pipe, unsigned int client_idx, unsigned int draw_id); void xDbgLogDrmEventRemovePageflip (void *pageflip_data); -void xDbgLogDrmEventPendingLists ( char *reply, int *len); - - #endif /* __XDBG_LOG_DRMEVENT_H__ */ diff --git a/lib/xdbg_log_fpsdebug.c b/lib/xdbg_log_fpsdebug.c index d2a3b5d..2d06795 100755 --- a/lib/xdbg_log_fpsdebug.c +++ b/lib/xdbg_log_fpsdebug.c @@ -39,7 +39,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include #include "xorg-server.h" #include "xdbg.h" -#include "xdbg_log_fpsdebug.h" +#include "xdbg_log_int.h" #ifndef API #define API __attribute__ ((visibility("default"))) diff --git a/lib/xdbg_log_fpsdebug.h b/lib/xdbg_log_fpsdebug.h index 8a5520c..a7bcdba 100755 --- a/lib/xdbg_log_fpsdebug.h +++ b/lib/xdbg_log_fpsdebug.h @@ -38,7 +38,5 @@ FpsDebugPtr xDbgLogFpsDebugCreate (void); void xDbgLogFpsDebugDestroy (FpsDebugPtr pFpsDebug); void xDbgLogFpsDebugCount (FpsDebugPtr pFpsDebug, int connector_type); -void xDbgLogFpsDebug (char *reply, int *len, int on); - #endif /* __XDBG_LOG_FPSDEBUG_H__ */ diff --git a/lib/xdbg_log_int.h b/lib/xdbg_log_int.h new file mode 100755 index 0000000..dccfd8f --- /dev/null +++ b/lib/xdbg_log_int.h @@ -0,0 +1,39 @@ +/************************************************************************** + +xdbg + +Copyright (c) 2013 Samsung Electronics Co., Ltd All Rights Reserved + +Contact: Boram Park + Sangjin LEE + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sub license, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice (including the +next paragraph) shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. +IN NO EVENT SHALL PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR +ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +**************************************************************************/ + +#ifndef __XDBG_LOG_INT_H__ +#define __XDBG_LOG_INT_H__ + +void xDbgLogDrmEventPendingLists ( char *reply, int *len); +void xDbgLogFpsDebug (char *reply, int *len, int on); +void xDbgLogPList (char *reply, int *len); + +#endif /* __XDBG_LOG_INT_H__ */ diff --git a/lib/xdbg_log_plist.c b/lib/xdbg_log_plist.c index d86e1ae..6d265e2 100755 --- a/lib/xdbg_log_plist.c +++ b/lib/xdbg_log_plist.c @@ -42,7 +42,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include #include #include "xdbg.h" -#include "xdbg_log_plist.h" +#include "xdbg_log_int.h" /* for debug message */ #define MMEM XDBG_M('M','E','M',0) diff --git a/lib/xdbg_log_plist.h b/lib/xdbg_log_plist.h index 06a8bf9..16c6174 100755 --- a/lib/xdbg_log_plist.h +++ b/lib/xdbg_log_plist.h @@ -60,6 +60,4 @@ void xDbgLogPListDeInit (ScreenPtr pScreen); void xDbgLogPListDrawAddRefPixmap (DrawablePtr pDraw, PixmapPtr pRefPixmap); void xDbgLogPListDrawRemoveRefPixmap (DrawablePtr pDraw, PixmapPtr pRefPixmap); -void xDbgLogPList (char *reply, int *len); - #endif /* __XDBG_LOG_PLIST_H__ */ diff --git a/module/xdbg_module_drmevent.c b/module/xdbg_module_drmevent.c index 14ad6db..3a55b45 100755 --- a/module/xdbg_module_drmevent.c +++ b/module/xdbg_module_drmevent.c @@ -34,6 +34,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #endif #include "xdbg.h" +#include "xdbg_log_int.h" #include "xdbg_module_types.h" diff --git a/module/xdbg_module_fpsdebug.c b/module/xdbg_module_fpsdebug.c index da8b1c4..af83741 100755 --- a/module/xdbg_module_fpsdebug.c +++ b/module/xdbg_module_fpsdebug.c @@ -34,6 +34,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #endif #include "xdbg.h" +#include "xdbg_log_int.h" #include "xdbg_module_types.h" void diff --git a/module/xdbg_module_plist.c b/module/xdbg_module_plist.c index 008096d..27e5e85 100755 --- a/module/xdbg_module_plist.c +++ b/module/xdbg_module_plist.c @@ -34,6 +34,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #endif #include "xdbg.h" +#include "xdbg_log_int.h" #include "xdbg_module_types.h" void -- 2.7.4