X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=doc%2Flive-reading-protocol.txt;h=251f27c2c347f90a1558ca774c1ae69f6d189b32;hp=7bf230f50dce7dd2804c6c9255bd243e2ed9a54f;hb=0c6349626e82044473ea0b3f1ff5456d9a0cd53f;hpb=6e92aae66f50ea02a78aecc72bead32bcd3dbac4 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.