Rename consumer threads and spawn them in daemon
authorDavid Goulet <dgoulet@efficios.com>
Thu, 11 Oct 2012 17:10:29 +0000 (13:10 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Fri, 19 Oct 2012 16:49:01 +0000 (12:49 -0400)
commit7d980def5ddfddbaa6b8d3c7c1acee3537ae80bb
treededd99722f4c6d1e8a15d0f7ad9823cab4d3718a
parent8e2583a4ffe165a71656746848ae92ea8ee4d818
Rename consumer threads and spawn them in daemon

The metadata thread is now created in the lttng-consumerd daemon so all
thread could be controlled inside the daemon.

This is the first step of a consumer thread refactoring which aims at
moving data and metadata stream operations inside a dedicated thread so
the session daemon thread does not block and is more efficient at adding
streams.

The most important concept is that a stream file descriptor MUST be
opened as quickly as we can then passed to the right thread (for UST
since they are already opened by the session daemon for the kernel).

Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-consumerd/lttng-consumerd.c
src/common/consumer.c
src/common/consumer.h
This page took 0.024666 seconds and 4 git commands to generate.