X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=lttv%2Flttv%2Fsync%2FREADME;h=6310db875e28efdfd43cdf82658ce670b0ee7ba0;hb=9a9ca632e32af79f5f77894ef6e981ac0138102a;hp=78b09b595a216a188e1e1e27a07b9429d70b949f;hpb=add1904384e2728db726da04c7824c1596400d9d;p=lttv.git diff --git a/lttv/lttv/sync/README b/lttv/lttv/sync/README index 78b09b59..6310db87 100644 --- a/lttv/lttv/sync/README +++ b/lttv/lttv/sync/README @@ -34,6 +34,8 @@ to make sure the following markers are enabled: * dev_xmit_extended * tcpv4_rcv_extended * udpv4_rcv_extended +You can use the 'ltt-armall' and 'ltt-armnetsync' scripts for this. + You also have to make sure there is some TCP traffic between the traced nodes. ++ Viewing traces @@ -135,7 +137,7 @@ Communication is done via objects specialized from Event. At the moment, all be in separate files. This way, adding a new set of modules would require shipping extra data_structures* files instead of modifying the existing one. For this to work, Event.type couldn't be an enum, it could be an int and use -#defines or constants defined the specialized data_structures* files. +#defines or constants defined in the specialized data_structures* files. Event.event could be a void*. ++ Stage 2: Event matching @@ -146,9 +148,10 @@ these can have different types of relation ("one to one", "one to many", or a mix) and it will influence the overall behavior of the module. eg. TCP, UDP, MPI -matchEvent() takes an Event pointer. An actual matching module doesn't have -to be able to process every type of event. It has to check that the passed -event is of a type it can process. +matchEvent() takes an Event pointer. An actual matching module doesn't have to +be able to process every type of event. It will only be passed events of a +type it can process (according to the .canMatch field of its MatchingModule +struct). ++ Communication between stages 2 and 3: event groups Communication consists of events grouped in Message, Exchange or Broadcast