X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=include%2Flttng%2Flttng-consumer.h;h=7751570efef38cfde7319b97bb3f114381c7b793;hb=74d0b6427faafd5f5d59b7e9d5f78ac52924a7a2;hp=2587b3b1807b8749224ebfd6bc1bc93d47861a98;hpb=1316184615e422526ef4fae68f980443414969c1;p=lttng-tools.git diff --git a/include/lttng/lttng-consumer.h b/include/lttng/lttng-consumer.h index 2587b3b18..7751570ef 100644 --- a/include/lttng/lttng-consumer.h +++ b/include/lttng/lttng-consumer.h @@ -28,8 +28,8 @@ /* * When the receiving thread dies, we need to have a way to make the polling * thread exit eventually. If all FDs hang up (normal case when the - * ltt-sessiond stops), we can exit cleanly, but if there is a problem and for - * whatever reason some FDs remain open, the consumer should still exit + * lttng-sessiond stops), we can exit cleanly, but if there is a problem and + * for whatever reason some FDs remain open, the consumer should still exit * eventually. * * If the timeout is reached, it means that during this period no events @@ -83,6 +83,8 @@ struct lttng_consumer_channel { size_t mmap_len; struct lttng_ust_shm_handle *handle; int nr_streams; + int shm_fd_is_copy; + int wait_fd_is_copy; }; /* Forward declaration for UST. */ @@ -110,6 +112,8 @@ struct lttng_consumer_stream { void *mmap_base; size_t mmap_len; enum lttng_event_output output; /* splice or mmap */ + int shm_fd_is_copy; + int wait_fd_is_copy; /* For UST */ struct lttng_ust_lib_ring_buffer *buf; int cpu;