Metadata cache and multiple metadata channels
authorJulien Desfossez <jdesfossez@efficios.com>
Thu, 6 Jun 2013 20:38:48 +0000 (16:38 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 6 Jun 2013 20:39:46 +0000 (16:39 -0400)
commitd83004aa718065e5221d8ef4b99e4302b70b3df9
tree422fdbc346c101da97ff12ff230664a59045936e
parent217f66c6128e0804dcafc87870977a9b13c27419
Metadata cache and multiple metadata channels

Implement a cache for the kernel metadata and a list of metadata
channels.

When new metadata is appended, all metadata channels are awakened so
they can return from poll and get the newly added metadata
This allows to request the metadata multiple times by creating multiple
metadata channels (useful for snapshots).

With this new feature, the poll and get_subbuf ring buffer operations
are now overridden by lttng-abi for the metadata channels, to check the
cache before doing these operations.

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lib/ringbuffer/backend.h
lib/ringbuffer/iterator.h
lib/ringbuffer/ring_buffer_iterator.c
lib/ringbuffer/ring_buffer_mmap.c
lib/ringbuffer/ring_buffer_splice.c
lib/ringbuffer/ring_buffer_vfs.c
lib/ringbuffer/vfs.h
lttng-abi.c
lttng-events.c
lttng-events.h
This page took 0.026276 seconds and 4 git commands to generate.