<div dir="ltr">That's great to hear!<div><br></div><div>I was also about to suggest that, but unfortunately google docs doesn't export SVGs very well. For example text is exported as paths and not as text elements. Also some misalignment issues as you can see in the graphic.</div>
<div>If i have time left i will convert it manually to usable SVG file. Maybe for now push it to the repo as it is?</div><div><br></div><div>Updated version:</div><div><a href="http://tty32.org/Trace%20session.png">http://tty32.org/Trace%20session.png</a><br>
</div><div><a href="http://tty32.org/Trace%20session.svg">http://tty32.org/Trace%20session.svg</a><br></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><div>Greetings,</div><div>Randy Wijnants.<br></div><div>
"The good part about UDP jokes is that i don't have to worry if you get it or not"</div></div></div>
<br><br><div class="gmail_quote">On 27 May 2014 19:50, Alexandre Montplaisir <span dir="ltr"><<a href="mailto:alexmonthy@voxpopuli.im" target="_blank">alexmonthy@voxpopuli.im</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Nice work! These kind of high-level diagrams can be really helpful
    to new users.<br>
    <br>
    Just a side-note wouldn't it be interesting to also carry the
    original (inkscape?) file in the git tree? That way if we want to
    make changes or additions we don't have to start over.<br>
    <br>
    Cheers,<br>
    Alexandre<div><div class="h5"><br>
    <br>
    <br>
    <div>On 05/27/2014 01:40 PM, Randy Wijnants
      wrote:<br>
    </div>
    </div></div><blockquote type="cite"><div><div class="h5">
      <pre>Excelent! Used all of your improved syntaxes. Simplified /
restructured enable-event a
bit so that this is more readable in the drawing.

Also added lttng relayd / snapshot syntaxes.

Changed "Kernelspace specific" into "Kernel specific".

Added footnotes.

Excuse me for the SVG problem. I created this in google docs. I didn't
assume google's way of exporting SVGs was so poor, i have the same issue
using inkscape.
If i have time i will migrate it manually to inkscape. That might indeed
explain the misalignment issue you described.

Let me know what you think : )

<a href="http://tty32.org/Trace%20session.png" target="_blank">http://tty32.org/Trace%20session.png</a>


Greetings,
Randy Wijnants.
"The good part about UDP jokes is that i don't have to worry if you get it
or not"


On 27 May 2014 17:19, Thibault, Daniel <a href="mailto:Daniel.Thibault@drdc-rddc.gc.ca" target="_blank"><Daniel.Thibault@drdc-rddc.gc.ca></a>wrote:

</pre>
      <blockquote type="cite">
        <pre>----------------------------------------------------------------------
Date: Tue, 27 May 2014 13:34:20 +0200
From: Randy Wijnants <a href="mailto:dev@tty32.org" target="_blank"><dev@tty32.org></a>

</pre>
        <blockquote type="cite">
          <pre>In addition to the LTTng architecture diagram, I've drawn a diagram that
</pre>
        </blockquote>
        <pre>shows the relation between the command line options and how to configure a
trace session.
</pre>
        <blockquote type="cite">
          <pre>I hope it proves to be useful, if you have any suggestions let me know!

Originally posted on IRC. As suggested by Compudj i've released it under
</pre>
        </blockquote>
        <pre>CC license.
</pre>
        <blockquote type="cite">
          <pre><a href="http://tty32.org/Trace%20session.png" target="_blank">http://tty32.org/Trace%20session.png</a>
<a href="http://tty32.org/Trace%20session.svg" target="_blank">http://tty32.org/Trace%20session.svg</a>

Randy Wijnants.
</pre>
        </blockquote>
        <pre>----------------------------------------------------------------------

   Neither the png nor svg versions line up correctly the text and
coloured boxes with each other.  This may be a local rendering issue.  At
least the svg version has a proper white background (my png renders with a
very dark grey background, making it very hard to make out some of the
text).  However, the svg version is unusable because none of the text is
text: everything is svg:path with opaque d attributes (this may explain the
alignment problems).

   Here are improved (more accurate) expressions for the various command
syntaxes:

$ lttng create [NAME] [--ctrl-url URL --data-url URL | --output PATH |
--set-url URL | --no-output] [--snapshot]
   (the ctrl-url etc. options are in pre-emption order)

$ lttng enable-channel (-k | -u) [--session NAME] NAME[,NAME2,...]
[--discard | --overwrite] [--subbuf-size SIZE] [--num-subbuf NUM]
[--switch-timer USEC] [--read-timer USEC] \

                                      [--output (mmap | splice)]
[--buffers-uid | --buffers-pid | --buffers-global] [--tracefile-size SIZE
[--tracefile-count COUNT]]

$ lttng enable-event (-k | -u) [--session NAME] [--channel NAME] (--all
[--tracepoint | --syscall] | \
                                            NAME[,NAME2,...] [--tracepoint
[(--loglevel | --loglevel-only) LOGLEVEL] [--filter 'EXPRESSION'] |
(--probe | --function) (addr | symbol | symbol+offset)])

$ lttng add-context (-k | -u) [--session NAME] [--channel NAME] (--type
TYPE)+

$ lttng list (-k | -u)
   (not the full syntax, but rather the syntax that will get just a list
of event names)

$ lttng add-context --help
   (the only one that doesn't change!)

   Change "Kernelspace specific" into "Kernel specific".

   Add footnotes:
* --session NAME defaults to the current session
* --channel NAME in the enable-event case defaults to 'channel0', but only
if the domain is virgin
* --channel NAME in the add-context case defaults to all channels

Daniel U. Thibault
Protection des systèmes et contremesures (PSC) | Systems Protection &
Countermeasures (SPC)
Cyber sécurité pour les missions essentielles (CME) | Mission Critical
Cyber Security (MCCS)
R & D pour la défense Canada - Valcartier (RDDC Valcartier) | Defence R&D
Canada - Valcartier (DRDC Valcartier)
2459 route de la Bravoure
Québec QC  G3J 1X5
CANADA
Vox : <a href="tel:%28418%29%20844-4000%20x4245" value="+14188444000" target="_blank">(418) 844-4000 x4245</a>
Fax : <a href="tel:%28418%29%20844-4538" value="+14188444538" target="_blank">(418) 844-4538</a>
NAC : 918V QSDJ <a href="http://www.travelgis.com/map.asp?addr=918V%20QSDJ" target="_blank"><http://www.travelgis.com/map.asp?addr=918V%20QSDJ></a>
Gouvernement du Canada | Government of Canada
<a href="http://www.valcartier.drdc-rddc.gc.ca/" target="_blank"><http://www.valcartier.drdc-rddc.gc.ca/></a>

</pre>
      </blockquote>
      <pre></pre>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><pre>_______________________________________________
lttng-dev mailing list
<a href="mailto:lttng-dev@lists.lttng.org" target="_blank">lttng-dev@lists.lttng.org</a>
<a href="http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev" target="_blank">http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev</a>
</pre>
    </blockquote>
    <br>
  </div>

</blockquote></div><br></div></div>