-int ustctl_flush_buffer(int sock, struct lttng_ust_object_data *channel_data)
-{
- struct ustcomm_ust_msg lum;
- struct ustcomm_ust_reply lur;
-
- memset(&lum, 0, sizeof(lum));
- lum.handle = channel_data->handle;
- lum.cmd = LTTNG_UST_FLUSH_BUFFER;
- return ustcomm_send_app_cmd(sock, &lum, &lur);
-}
-