Fix segfault on free() pointer
[lttng-tools.git] / kconsumerd / kconsumerd.h
index f5ec288bc62a9fd177d433a19a1453c90579a52b..2aff4ef5011218c9d319884797f18aeab38d8b15 100644 (file)
@@ -19,8 +19,7 @@
 #ifndef _LTT_KCONSUMERD_H
 #define _LTT_KCONSUMERD_H
 
-/* timeout of 1s on poll to ensure the fd list is updated when needed */
-#define POLL_TIMEOUT 1000
+#include "lttng-kconsumerd.h"
 
 struct ltt_kconsumerd_fd_list {
        struct cds_list_head head;
@@ -37,7 +36,7 @@ struct ltt_kconsumerd_fd {
        int out_fd; /* output file to write the data */
        off_t out_fd_offset; /* write position in the output file descriptor */
        char path_name[PATH_MAX]; /* tracefile name */
-       enum lttcomm_kconsumerd_fd_state state;
+       enum kconsumerd_fd_state state;
        unsigned long max_sb_size; /* the subbuffer size for this channel */
 };
 
This page took 0.023301 seconds and 4 git commands to generate.