+static inline
+void lttng_ustconsumer_close_metadata(
+ struct lttng_consumer_channel *metadata __attribute__((unused)))
+{
+}
+static inline
+void lttng_ustconsumer_close_stream_wakeup(
+ struct lttng_consumer_stream *stream __attribute__((unused)))
+{
+}
+
+static inline
+int lttng_ustconsumer_recv_metadata(int sock __attribute__((unused)),
+ uint64_t key __attribute__((unused)),
+ uint64_t offset __attribute__((unused)),
+ uint64_t len __attribute__((unused)),
+ uint64_t version __attribute__((unused)),
+ struct lttng_consumer_channel *channel __attribute__((unused)),
+ int timer __attribute__((unused)))
+{
+ return -ENOSYS;
+}
+
+static inline
+int lttng_ustconsumer_request_metadata(
+ struct lttng_consumer_local_data *ctx __attribute__((unused)),
+ struct lttng_consumer_channel *channel __attribute__((unused)),
+ int timer __attribute__((unused)),
+ int wait __attribute__((unused)))
+{
+ return -ENOSYS;
+}
+
+static inline
+enum sync_metadata_status lttng_ustconsumer_sync_metadata(
+ struct lttng_consumer_local_data *ctx __attribute__((unused)),
+ struct lttng_consumer_stream *metadata __attribute__((unused)))
+{
+ return SYNC_METADATA_STATUS_ERROR;
+}
+
+static inline
+int lttng_ustconsumer_flush_buffer(
+ struct lttng_consumer_stream *stream __attribute__((unused)),
+ int producer __attribute__((unused)))
+{
+ return -ENOSYS;
+}
+
+static inline
+int lttng_ustconsumer_clear_buffer(
+ struct lttng_consumer_stream *stream __attribute__((unused)))
+{
+ return -ENOSYS;
+}
+
+static inline
+int lttng_ustconsumer_get_current_timestamp(
+ struct lttng_consumer_stream *stream __attribute__((unused)),
+ uint64_t *ts __attribute__((unused)))
+{
+ return -ENOSYS;
+}
+
+static inline
+int lttng_ustconsumer_get_sequence_number(
+ struct lttng_consumer_stream *stream __attribute__((unused)),
+ uint64_t *seq __attribute__((unused)))
+{
+ return -ENOSYS;
+}
+
+static inline
+int lttng_ustconsumer_get_stream_id(
+ struct lttng_consumer_stream *stream __attribute__((unused)),
+ uint64_t *stream_id __attribute__((unused)))
+{
+ return -ENOSYS;
+}
+
+static inline
+void lttng_ustconsumer_sigbus_handle(
+ void *addr __attribute__((unused)))
+{
+}