Implement the relayd live features
authorJulien Desfossez <jdesfossez@efficios.com>
Sun, 28 Jul 2013 22:57:41 +0000 (18:57 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Fri, 27 Sep 2013 17:57:10 +0000 (13:57 -0400)
commitd3e2ba59faddb31870e2ce29b6a881f7ad5ad883
tree5492d054717611d398b473acebcec4dda951c81d
parent7ce3675685dbbc7be9536eb9c2b5ff8d677dc0b5
Implement the relayd live features

The live-reading feature allows a user to read the trace while it is
being recorded. In order to work, this feature requires the trace to be
streamed to lttng-relayd. Then, a viewer can connect to the relayd, list
the sessions, attach to one, and start reading the data. The
live-reading protocol, enforces the viewer to read all the metadata
before trying to read the trace, and checks all the streams for new
activity at a user-defined rate (configured by the new --live parameter
during the session creation).

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
34 files changed:
src/bin/lttng-consumerd/lttng-consumerd.c
src/bin/lttng-relayd/Makefile.am
src/bin/lttng-relayd/cmd-2-4.c [new file with mode: 0644]
src/bin/lttng-relayd/cmd-2-4.h [new file with mode: 0644]
src/bin/lttng-relayd/cmd.h
src/bin/lttng-relayd/ctf-trace.c [new file with mode: 0644]
src/bin/lttng-relayd/ctf-trace.h [new file with mode: 0644]
src/bin/lttng-relayd/live.c [new file with mode: 0644]
src/bin/lttng-relayd/live.h [new file with mode: 0644]
src/bin/lttng-relayd/lttng-relayd.h
src/bin/lttng-relayd/lttng-viewer.h [new file with mode: 0644]
src/bin/lttng-relayd/main.c
src/bin/lttng-sessiond/cmd.c
src/bin/lttng-sessiond/consumer.c
src/bin/lttng-sessiond/consumer.h
src/bin/lttng-sessiond/session.c
src/bin/lttng-sessiond/session.h
src/common/consumer-timer.c
src/common/consumer-timer.h
src/common/consumer.c
src/common/consumer.h
src/common/defaults.h
src/common/kernel-consumer/kernel-consumer.c
src/common/kernel-consumer/kernel-consumer.h
src/common/kernel-ctl/kernel-ctl.c
src/common/kernel-ctl/kernel-ctl.h
src/common/kernel-ctl/kernel-ioctl.h
src/common/relayd/relayd.c
src/common/relayd/relayd.h
src/common/sessiond-comm/relayd.h
src/common/sessiond-comm/sessiond-comm.h
src/common/ust-consumer/ust-consumer.c
tests/regression/tools/tracefile-limits/test_tracefile_count
tests/unit/Makefile.am
This page took 0.028077 seconds and 4 git commands to generate.