X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fust-consumer%2Fust-consumer.h;h=2c3c0e8703427fba29c37695d7e7d6b02c6b493f;hp=009fa5e5901bcfaa6cd3d3b3d59ba354cb05f06a;hb=d88aee689d5bd0067f362a323cb69c37717df59f;hpb=d0b96690836f4b876096f3dc14801f8e25281a77 diff --git a/src/common/ust-consumer/ust-consumer.h b/src/common/ust-consumer/ust-consumer.h index 009fa5e59..2c3c0e870 100644 --- a/src/common/ust-consumer/ust-consumer.h +++ b/src/common/ust-consumer/ust-consumer.h @@ -49,6 +49,7 @@ int lttng_ustctl_get_mmap_read_offset(struct lttng_consumer_stream *stream, unsigned long *off); void *lttng_ustctl_get_mmap_base(struct lttng_consumer_stream *stream); int lttng_ustconsumer_data_pending(struct lttng_consumer_stream *stream); +void lttng_ustconsumer_close_metadata(struct lttng_ht *ht); #else /* HAVE_LIBLTTNG_UST_CTL */ @@ -146,6 +147,10 @@ void *lttng_ustctl_get_mmap_base(struct lttng_consumer_stream *stream) { return NULL; } +static inline +void lttng_ustconsumer_close_metadata(struct lttng_ht *ht) +{ +} #endif /* HAVE_LIBLTTNG_UST_CTL */ #endif /* _LTTNG_USTCONSUMER_H */