X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=src%2Fcommon%2Fconsumer.h;h=b3810e007bff678801b990061bea28deb482feae;hb=cb7c69091edf2394fc8a338c6e4dc504afd48844;hp=650397adaf6a6f815b14a9c50da5690565ef6c0e;hpb=f1dab979da8fc9a7ad198d84ef9fc18b60d5f8de;p=lttng-tools.git diff --git a/src/common/consumer.h b/src/common/consumer.h index 650397ada..b3810e007 100644 --- a/src/common/consumer.h +++ b/src/common/consumer.h @@ -102,6 +102,11 @@ struct lttng_consumer_channel { int refcount; /* Tracing session id on the session daemon side. */ uint64_t session_id; + /* + * Session id when requesting metadata to the session daemon for + * a session with per-PID buffers. + */ + uint64_t session_id_per_pid; /* Channel trace file path name. */ char pathname[PATH_MAX]; /* Channel name. */ @@ -472,7 +477,8 @@ struct lttng_consumer_channel *consumer_allocate_channel(uint64_t key, uint64_t relayd_id, enum lttng_event_output output, uint64_t tracefile_size, - uint64_t tracefile_count); + uint64_t tracefile_count, + uint64_t session_id_per_pid); void consumer_del_stream(struct lttng_consumer_stream *stream, struct lttng_ht *ht); void consumer_del_metadata_stream(struct lttng_consumer_stream *stream,