X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=include%2Flttng%2Flttng-ustconsumer.h;h=217c592d7c9adebaa22892d38c3a20e7b171586c;hb=81afa345f8c652911c0684bcaa854ca8a1429947;hp=90d6588b90e7a75a5da244b4f13f9f8bd5b3438b;hpb=d41f73b7cb50d57974bd1fad22342abaf9718566;p=lttng-tools.git diff --git a/include/lttng/lttng-ustconsumer.h b/include/lttng/lttng-ustconsumer.h index 90d6588b9..217c592d7 100644 --- a/include/lttng/lttng-ustconsumer.h +++ b/include/lttng/lttng-ustconsumer.h @@ -70,6 +70,8 @@ int lttng_ustconsumer_read_subbuffer(struct lttng_consumer_stream *stream, struct lttng_consumer_local_data *ctx); int lttng_ustconsumer_on_recv_stream(struct lttng_consumer_stream *stream); +void lttng_ustconsumer_on_stream_hangup(struct lttng_consumer_stream *stream); + #else /* HAVE_LIBLTTNG_UST_CTL */ static inline @@ -146,6 +148,11 @@ int lttng_ustconsumer_on_recv_stream(struct lttng_consumer_stream *stream) return -ENOSYS; } +static inline +void lttng_ustconsumer_on_stream_hangup(struct lttng_consumer_stream *stream) +{ +} + #endif /* HAVE_LIBLTTNG_UST_CTL */ #endif /* _LTTNG_USTCONSUMER_H */