Signed-off-by: David Goulet <david.goulet@polymtl.ca>
#ifndef _LTT_KERNEL_CTL_H
#define _LTT_KERNEL_CTL_H
-#include "ltt-sessiond.h"
#include "session.h"
#include "trace.h"
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 */
/* 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");
return ret;
}
-
/*
* process_client_msg
*