struct lttng_ust_lib_ring_buffer *buf,
int producer_active)
{
lib_ring_buffer_switch_slow(buf,
producer_active ? SWITCH_ACTIVE : SWITCH_FLUSH,
handle);
struct lttng_ust_lib_ring_buffer *buf,
int producer_active)
{
lib_ring_buffer_switch_slow(buf,
producer_active ? SWITCH_ACTIVE : SWITCH_FLUSH,
handle);