X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=libust%2Fbuffers.h;h=a2ad83efca42884b1bba21e1674d14f304b52135;hb=bc237fab2306223e429c43ff003ac06c3777be99;hp=9fedc487f1847c65a707981016023c7c4ee9e655;hpb=578e232ab4e234294d03fb7022863b45c801eaa1;p=ust.git diff --git a/libust/buffers.h b/libust/buffers.h index 9fedc48..a2ad83e 100644 --- a/libust/buffers.h +++ b/libust/buffers.h @@ -82,6 +82,11 @@ struct ust_buffer { int data_ready_fd_write; /* the reading end of the pipe */ int data_ready_fd_read; + /* + * List of buffers with an open pipe, used for fork and forced subbuffer + * switch. + */ + struct list_head open_buffers_list; unsigned int finalized; //ust// struct timer_list switch_timer; /* timer for periodical switch */ @@ -96,7 +101,7 @@ struct ust_buffer { unsigned int cpu; /* commit count per subbuffer; must be at end of struct */ - long commit_seq[0] ____cacheline_aligned; /* ATOMIC */ + long commit_seq[0]; /* ATOMIC */ } ____cacheline_aligned; /*