Performance: disable event counting by default
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 9 Sep 2016 20:54:20 +0000 (16:54 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 9 Sep 2016 20:56:14 +0000 (16:56 -0400)
commit9c995331b51a9b9a8c85457a897fa89e770de111
treefe5788d431b1358d0febbfa8214a1d8f9f1ff68f
parent40745074477e85361af72620a85ccf7945079d68
Performance: disable event counting by default

Disable event counting in the ring buffer, which can count the number of
events produced per ring-buffer, as well as the number of events
overwritten in overwrite mode.

This feature is currently unused anyway: it is not saved in the ring
buffer header, nor made available to lttng-tools.

This saves 70 ns/event in lttng-ust on the ARM32 Cubietruck.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
libringbuffer/backend_internal.h
libringbuffer/ring_buffer_frontend.c
This page took 0.028917 seconds and 4 git commands to generate.