Add data structure for the data available command
authorDavid Goulet <dgoulet@efficios.com>
Tue, 16 Oct 2012 18:08:08 +0000 (14:08 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Fri, 19 Oct 2012 16:49:01 +0000 (12:49 -0400)
commit536322299f7fc9ef136a0d7e50ba8e1b5d7a754b
tree4929b97ff0233d992f6b9d02eeb793ac3dd7fb9c
parent3cc2f24a5cdabfbcb1022c0798f6b4845f72b498
Add data structure for the data available command

The new stream hash table indexed by session id is added. The per
consumer stream mutex used for the synchronization between threads
accessing the stream which will be indexed in two hash tables.

Also, the data available command is added to both UST and kernel
consumer but for now returns ENOSYS. Just set the skeleton for the
implementation.

Finally, the session id is added to the trace-kernel (where it already
exists for UST) so it could be used later on for the data available
command.

This session id is also added in the consumer data structure for the
same purpose.

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