From: David Goulet Date: Thu, 26 May 2011 19:48:14 +0000 (-0400) Subject: Add debug and remove useless fct prototype X-Git-Tag: v2.0-pre1~109 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=1b6083d908666ac98359cd8fc1b32158196db18d;p=lttng-tools.git Add debug and remove useless fct prototype Signed-off-by: David Goulet --- diff --git a/ltt-sessiond/kernel-ctl.h b/ltt-sessiond/kernel-ctl.h index cfcf25128..00388c7dd 100644 --- a/ltt-sessiond/kernel-ctl.h +++ b/ltt-sessiond/kernel-ctl.h @@ -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 */ diff --git a/ltt-sessiond/main.c b/ltt-sessiond/main.c index 1c9c0dd47..eb5d47f62 100644 --- a/ltt-sessiond/main.c +++ b/ltt-sessiond/main.c @@ -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 *