Add debug and remove useless fct prototype
authorDavid Goulet <david.goulet@polymtl.ca>
Thu, 26 May 2011 19:48:14 +0000 (15:48 -0400)
committerDavid Goulet <david.goulet@polymtl.ca>
Thu, 26 May 2011 19:48:14 +0000 (15:48 -0400)
Signed-off-by: David Goulet <david.goulet@polymtl.ca>
ltt-sessiond/kernel-ctl.h
ltt-sessiond/main.c

index cfcf2512806e776404be7dc7ebd114c66da4d68c..00388c7ddefaa76e5a98e834669c9a3a92767e7b 100644 (file)
@@ -19,7 +19,6 @@
 #ifndef _LTT_KERNEL_CTL_H
 #define _LTT_KERNEL_CTL_H
 
-#include "ltt-sessiond.h"
 #include "session.h"
 #include "trace.h"
 
@@ -31,6 +30,5 @@ int kernel_create_metadata_stream(struct ltt_kernel_session *session);
 int kernel_create_channel_stream(struct ltt_kernel_channel *channel);
 int kernel_start_session(struct ltt_kernel_session *session);
 int kernel_stop_session(struct ltt_kernel_session *session);
-pid_t kernel_start_consumer(void);
 
 #endif /* _LTT_KERNEL_CTL_H */
index 1c9c0dd4771af49ea039f5183f46b9dd9f6f1d4b..eb5d47f62bb6b9bab5e04c7f91524ce22c8c1b12 100644 (file)
@@ -666,6 +666,7 @@ static int create_trace_dir(struct ltt_kernel_session *session)
 
        /* Create all channel directories */
        cds_list_for_each_entry(chan, &session->channel_list.head, list) {
+               DBG("Creating trace directory at %s", chan->pathname);
                ret = mkdir(chan->pathname, S_IRWXU | S_IRWXG );
                if (ret < 0) {
                        perror("mkdir trace path");
@@ -680,7 +681,6 @@ error:
        return ret;
 }
 
-
 /*
  *     process_client_msg
  *
This page took 0.028074 seconds and 4 git commands to generate.