Performance: cache the backend pages pointer in context
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 19 Sep 2016 02:52:39 +0000 (22:52 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sat, 24 Sep 2016 15:00:46 +0000 (11:00 -0400)
commita3492932cffa2c9dfbc9416792b20ce763708fc1
tree52c913baeb68480acd4c38d08ec8975994c35ea1
parent82cd0cfd74e2e7fe71d9ff68a9e521d989f72d99
Performance: cache the backend pages pointer in context

Getting the backend pages pointer requires walking through the ring
buffer backend tables through multiple shmp operations. 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>
include/lttng/ringbuffer-config.h
liblttng-ust/lttng-ring-buffer-client.h
liblttng-ust/lttng-ring-buffer-metadata-client.h
libringbuffer/backend.h
libringbuffer/backend_internal.h
This page took 0.025649 seconds and 4 git commands to generate.