Performance: cache the backend pages pointer in context
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sun, 25 Sep 2016 16:02:25 +0000 (12:02 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sun, 25 Sep 2016 16:02:25 +0000 (12:02 -0400)
commit85a07c33f3b180d9c1be38832961d0feef66be66
tree10a595c3fa61be18b04aa250f9eeebefc7f77398
parentfbe84fd748b6fde1f773da8e44d61235f8d4c232
Performance: cache the backend pages pointer in context

Getting the backend pages pointer requires pointer chasing through the
ring buffer backend tables. Cache the current value so it can be re-used
for all backend write operations writing fields for the same event.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lib/ringbuffer/backend.h
lib/ringbuffer/backend_internal.h
lib/ringbuffer/config.h
lttng-ring-buffer-client.h
lttng-ring-buffer-metadata-client.h
This page took 0.026622 seconds and 4 git commands to generate.