Add consumer-stream.c/.h in libconsumer
authorDavid Goulet <dgoulet@efficios.com>
Mon, 27 May 2013 19:17:19 +0000 (15:17 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Thu, 27 Jun 2013 15:29:08 +0000 (11:29 -0400)
commit51230d709a394904ee9c449c26d645e737c4af94
treeaff9d83245ed30ccb41d0c71610dd6bbf2278475
parentbc89445574c5bef2a905f213c3a615ea559bd4c8
Add consumer-stream.c/.h in libconsumer

These new files contain relevant calls to a lttng_consumer_stream object
and for now breaks down consumer_del_stream() from consumer.c that got
out of hand in terms of size and can not be used if the stream was not
previously successfully sent to a thread making difficult the deletion
of a stream in some error path or in no monitor mode (future mode for
streams with snapshots) outside of this use case.

It helps also modularize the consumer object and makes the code easier
to maintain and to better evolve.

At this commit, no components use this yet. Future work will
incrementaly move every consumer stream specific actions to that
seperate API.

Signed-off-by: David Goulet <dgoulet@efficios.com>
src/common/Makefile.am
src/common/consumer-stream.c [new file with mode: 0644]
src/common/consumer-stream.h [new file with mode: 0644]
src/common/consumer.c
src/common/consumer.h
This page took 0.027205 seconds and 5 git commands to generate.