X-Git-Url: https://git.lttng.org/?p=lttngtop.git;a=blobdiff_plain;f=README-LIVE;h=7e9119e4463cc5009aec489d6738279d81ab3ac4;hp=d7b65576047a96a57a0cf9a95f14dd27b797ecec;hb=d0377b66378da2660b1d015fda9d968e686d2f6e;hpb=62895477c7e60525e63e9e5117f92b34d467d0e6;ds=sidebyside diff --git a/README-LIVE b/README-LIVE index d7b6557..7e9119e 100644 --- a/README-LIVE +++ b/README-LIVE @@ -1,4 +1,28 @@ -In order to use the (beta) live tracing features of LttngTop, you need these +As of LTTng v2.4, we can now process traces while they are being recorded +(called live-tracing). LTTngtop can read live traces either in the ncurses GUI +or in text mode. + +In order to use this feature, start by creating a live session with at least +the events and contexts required for LTTngtop (see the manpage for that). A +simple script to do the basic setup is available in +utils/create-live-session.sh + +Once the session is created, you can list the sessions established on the +relay with : +$ lttngtop -r net://relaydhostname + +And attach to a session with +$ lttngtop -r net://relaydhostname/host/ + +A few seconds later, you should begin to see your live trace being displayed in +lttngtop gui. +To use the textdump feature, use the -t (and see --help for more options). You +can also use the new lttngtoptrace provided by lttngtop which does all the setup +for a live trace in textdump on localhost. + + +EXPERIMENTAL : +In order to use the (beta) MMAP live tracing features of LttngTop, you need these branches : git clone -b lttngtop-live git://git.dorsal.polymtl.ca/~jdesfossez/lttng-tools