X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=kconsumerd%2Fkconsumerd.h;h=2aff4ef5011218c9d319884797f18aeab38d8b15;hp=f5ec288bc62a9fd177d433a19a1453c90579a52b;hb=da561c94285dbd2079662ae8982a7aecac9b245b;hpb=d4a1283e471c152cedf6cb5ebcc74d509009145d diff --git a/kconsumerd/kconsumerd.h b/kconsumerd/kconsumerd.h index f5ec288bc..2aff4ef50 100644 --- a/kconsumerd/kconsumerd.h +++ b/kconsumerd/kconsumerd.h @@ -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 */ };