Move UST registry into sessiond and implement notifiers
authorDavid Goulet <dgoulet@efficios.com>
Tue, 19 Feb 2013 20:17:09 +0000 (15:17 -0500)
committerDavid Goulet <dgoulet@efficios.com>
Fri, 1 Mar 2013 18:05:29 +0000 (13:05 -0500)
commitd0b96690836f4b876096f3dc14801f8e25281a77
treea5dd32d58aaca04404ffd3ca17fd19b0f75f99db
parent785d2d0dc3aec3a4e44fcf677155dd07e8e4cc1f
Move UST registry into sessiond and implement notifiers

Notify now comes from the UST tracer to register event in a new registry
in the session daemon storing UST channel and events. This registry is
used to send back event and channel IDs to the tracer and the session
UUID. It will also be used later on to generate metadata which will
completely remove metadata generation from the application.

This introduces a new thread in the session daemon being the thread
managing application notification using a new socket (notify socket).
This thread is in ust-thread.c/.h and spawned at startup.

Needs to be use in locked-step with LTTng-UST commit:
"Move UST registry into sessiond and implement notifiers"

Acked-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
18 files changed:
src/bin/lttng-sessiond/Makefile.am
src/bin/lttng-sessiond/lttng-sessiond.h
src/bin/lttng-sessiond/main.c
src/bin/lttng-sessiond/ust-app.c
src/bin/lttng-sessiond/ust-app.h
src/bin/lttng-sessiond/ust-clock.h [new file with mode: 0644]
src/bin/lttng-sessiond/ust-consumer.c
src/bin/lttng-sessiond/ust-metadata.c [new file with mode: 0644]
src/bin/lttng-sessiond/ust-registry.c [new file with mode: 0644]
src/bin/lttng-sessiond/ust-registry.h [new file with mode: 0644]
src/bin/lttng-sessiond/ust-thread.c [new file with mode: 0644]
src/bin/lttng-sessiond/ust-thread.h [new file with mode: 0644]
src/common/compat/uuid.h
src/common/consumer.c
src/common/defaults.h
src/common/sessiond-comm/sessiond-comm.h
src/lib/lttng-ctl/filter/filter-visitor-generate-bytecode.c
src/lib/lttng-ctl/lttng-ctl.c
This page took 0.027869 seconds and 4 git commands to generate.