output: using thread_cb
[platform/core/uifw/libtdm.git] / src / tdm_monitor_server.c
index 7dbdc3c..f1edee7 100644 (file)
  *
 **************************************************************************/
 
-#include <stdio.h>
-#include <string.h>
-#include <stdlib.h>
-#include <stdint.h>
-
-#include "tdm.h"
 #include "tdm_private.h"
-#include "tdm_helper.h"
-#include "tdm_log.h"
 
 #define TDM_DBG_SERVER_ARGS_MAX                32
 
@@ -189,10 +181,7 @@ _tdm_monitor_server_log_path(unsigned int pid, char *cwd, int argc, char *argv[]
                tdm_log_enable_color(0);
        }
 
-       if (tdm_display_enable_path((const char*)fd_name) != TDM_ERROR_NONE) {
-               TDM_SNPRINTF(reply, len, "failed: '%s'\n", path);
-               return;
-       }
+       tdm_log_set_path((const char*)fd_name);
 
 done:
        TDM_SNPRINTF(reply, len, "log path: '%s'\n", path);
@@ -513,7 +502,7 @@ static struct {
        },
        {
                "ttrace", _tdm_monitor_server_ttrace,
-               "enable/disable ttrace (module: none, vblank, client, layer, pp, capture, all",
+               "enable/disable ttrace (module: none,vsync,client_vblank,server_vblank,vblank,layer,pp,capture,all",
                "<module>[@<output_idx>]",
                NULL
        },