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