The stub of ust_app_snapshot_record() used when building without
lttng-ust support does not match the actual prototype defined
in ust-app.h. The consumer_output pointer parameter must be
marked as const.
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
}
static inline
enum lttng_error_code ust_app_snapshot_record(struct ltt_ust_session *usess,
- struct consumer_output *output, int wait, uint64_t max_stream_size)
+ const struct consumer_output *output, int wait, uint64_t max_stream_size)
{
return 0;
}