X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=lttng-abi.c;h=ab1e832b6ca6d2688a7cace9667615f33d4fe304;hb=492e35e1332fb484dddb9ac7dc06a54adaacc596;hp=f2b207cbac95aa9ced52b603242784ca90caaaf3;hpb=a752825464124b4b3bbefd2a2f59a379bf431b34;p=lttng-modules.git diff --git a/lttng-abi.c b/lttng-abi.c index f2b207cb..ab1e832b 100644 --- a/lttng-abi.c +++ b/lttng-abi.c @@ -705,18 +705,6 @@ long lttng_metadata_ring_buffer_ioctl(struct file *filp, return put_u64(stream->version, arg); } - case RING_BUFFER_SNAPSHOT: - { - /* - * Force the buffer to quiescent so the ring buffer - * don't attempt to perform a SWITCH_FLUSH, which would - * desynchronize the client accounting of the amount of - * data available in the buffer from the ring buffer - * view. - */ - buf->quiescent = true; - break; - } default: break; } @@ -793,18 +781,6 @@ long lttng_metadata_ring_buffer_compat_ioctl(struct file *filp, return put_u64(stream->version, arg); } - case RING_BUFFER_SNAPSHOT: - { - /* - * Force the buffer to quiescent so the ring buffer - * don't attempt to perform a SWITCH_FLUSH, which would - * desynchronize the client accounting of the amount of - * data available in the buffer from the ring buffer - * view. - */ - buf->quiescent = true; - break; - } default: break; }