Performance: disable event counting by default
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 9 Sep 2016 21:01:18 +0000 (17:01 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 9 Sep 2016 21:01:18 +0000 (17:01 -0400)
commit25337cb556cedb95ff65c1e91aab0dea6a3e77b4
treea3ce5bf96b0c2cf8ca613416d0a4498fccda0bd8
parentdf388b78db6422e49c9f628a8fa36d60092b35e1
Performance: disable event counting by default

Performance improvement changelog from lttng-ust, ported back to
lttng-modules:

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>
lib/ringbuffer/backend_internal.h
lib/ringbuffer/ring_buffer_frontend.c
This page took 0.025947 seconds and 4 git commands to generate.