From 2bedf84846826ef5c4e1c198ea04d7ebd96201f8 Mon Sep 17 00:00:00 2001 From: Julien Desfossez Date: Mon, 7 Mar 2016 14:21:30 -0500 Subject: [PATCH] Document the live detach command MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Julien Desfossez Signed-off-by: Jérémie Galarneau --- doc/live-reading-protocol.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/live-reading-protocol.txt b/doc/live-reading-protocol.txt index 7bf230f50..251f27c2c 100644 --- a/doc/live-reading-protocol.txt +++ b/doc/live-reading-protocol.txt @@ -145,3 +145,9 @@ When new metadata is added during a session, the GET_NEXT_INDEX will succeed but it will have the flag LTTNG_VIEWER_FLAG_NEW_METADATA, but the GET_DATA_PACKET will fail with the same flag as long as the metadata is not downloaded. + +Detach from a session: +Closing the network connection detaches a client from all the sessions it is +currently attached to. It is also possible to detach from a specific session +without disconnecting by sending the LTTNG_VIEWER_DETACH_SESSION command. The +payload of this command is the session ID. -- 2.34.1