From: Julien Desfossez Date: Tue, 26 Mar 2013 02:27:05 +0000 (-0400) Subject: UST periodical metadata flush X-Git-Tag: v2.2.0-rc1~13 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=331744e34f56a5aec69b05d356d6901e67926acc;hp=331744e34f56a5aec69b05d356d6901e67926acc UST periodical metadata flush Add a socket between the sessiond and the ust-consumer to allow periodical flush of the metadata channel. If enabled (by specifying the --switch-timer option on the metadata channel), a new timer thread in the consumer asks the session daemon for new metadata for a specific session. All the metadata collected is written into a metadata cache in the consumer, this mechanism is useful for synchronisation (to avoid race conditions between two metadata updates) and will also be useful when we implement the snapshots. Acked-by: Mathieu Desnoyers Signed-off-by: Julien Desfossez Signed-off-by: David Goulet ---