| 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"> |
| 2 | <HTML |
| 3 | ><HEAD |
| 4 | ><TITLE |
| 5 | >Running the executable with basic libraries</TITLE |
| 6 | ><META |
| 7 | NAME="GENERATOR" |
| 8 | CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK |
| 9 | REL="HOME" |
| 10 | TITLE="Linux Trace Toolkit Viewer User Guide" |
| 11 | HREF="index.html"><LINK |
| 12 | REL="UP" |
| 13 | TITLE="Getting started" |
| 14 | HREF="c25.html"><LINK |
| 15 | REL="PREVIOUS" |
| 16 | TITLE="Getting started" |
| 17 | HREF="c25.html"><LINK |
| 18 | REL="NEXT" |
| 19 | TITLE="Using LTTV graphical interface" |
| 20 | HREF="c42.html"></HEAD |
| 21 | ><BODY |
| 22 | CLASS="sect1" |
| 23 | BGCOLOR="#FFFFFF" |
| 24 | TEXT="#000000" |
| 25 | LINK="#0000FF" |
| 26 | VLINK="#840084" |
| 27 | ALINK="#0000FF" |
| 28 | ><DIV |
| 29 | CLASS="NAVHEADER" |
| 30 | ><TABLE |
| 31 | SUMMARY="Header navigation table" |
| 32 | WIDTH="100%" |
| 33 | BORDER="0" |
| 34 | CELLPADDING="0" |
| 35 | CELLSPACING="0" |
| 36 | ><TR |
| 37 | ><TH |
| 38 | COLSPAN="3" |
| 39 | ALIGN="center" |
| 40 | >Linux Trace Toolkit Viewer User Guide</TH |
| 41 | ></TR |
| 42 | ><TR |
| 43 | ><TD |
| 44 | WIDTH="10%" |
| 45 | ALIGN="left" |
| 46 | VALIGN="bottom" |
| 47 | ><A |
| 48 | HREF="c25.html" |
| 49 | ACCESSKEY="P" |
| 50 | >Prev</A |
| 51 | ></TD |
| 52 | ><TD |
| 53 | WIDTH="80%" |
| 54 | ALIGN="center" |
| 55 | VALIGN="bottom" |
| 56 | >Chapter 2. Getting started</TD |
| 57 | ><TD |
| 58 | WIDTH="10%" |
| 59 | ALIGN="right" |
| 60 | VALIGN="bottom" |
| 61 | ><A |
| 62 | HREF="c42.html" |
| 63 | ACCESSKEY="N" |
| 64 | >Next</A |
| 65 | ></TD |
| 66 | ></TR |
| 67 | ></TABLE |
| 68 | ><HR |
| 69 | ALIGN="LEFT" |
| 70 | WIDTH="100%"></DIV |
| 71 | ><DIV |
| 72 | CLASS="sect1" |
| 73 | ><H1 |
| 74 | CLASS="sect1" |
| 75 | ><A |
| 76 | NAME="running" |
| 77 | >2.2. Running the executable with basic libraries</A |
| 78 | ></H1 |
| 79 | ><P |
| 80 | > Starting the graphical mode with the basic viewer activated is as simple as : |
| 81 | </P |
| 82 | ><PRE |
| 83 | CLASS="screen" |
| 84 | > <SAMP |
| 85 | CLASS="prompt" |
| 86 | >$</SAMP |
| 87 | > <KBD |
| 88 | CLASS="userinput" |
| 89 | >lttv-gui</KBD |
| 90 | > |
| 91 | </PRE |
| 92 | ><P |
| 93 | > Using the text mode is very simple too. Look in /usr/local/lib/lttv/plugins for |
| 94 | the list of modules. You may use the --help switch to get basic help on the |
| 95 | command line parameters of every loaded modules. To simply output the events of |
| 96 | a trace in a text file, try the textDump module. The batchAnalysis module |
| 97 | permits to do batch mode analysis (state and statistics calculation ) on a |
| 98 | trace. |
| 99 | </P |
| 100 | ><PRE |
| 101 | CLASS="screen" |
| 102 | > <SAMP |
| 103 | CLASS="prompt" |
| 104 | >$</SAMP |
| 105 | > <KBD |
| 106 | CLASS="userinput" |
| 107 | >lttv -L /usr/local/lib/lttv/plugins -m textDump --help</KBD |
| 108 | > |
| 109 | </PRE |
| 110 | ></DIV |
| 111 | ><DIV |
| 112 | CLASS="NAVFOOTER" |
| 113 | ><HR |
| 114 | ALIGN="LEFT" |
| 115 | WIDTH="100%"><TABLE |
| 116 | SUMMARY="Footer navigation table" |
| 117 | WIDTH="100%" |
| 118 | BORDER="0" |
| 119 | CELLPADDING="0" |
| 120 | CELLSPACING="0" |
| 121 | ><TR |
| 122 | ><TD |
| 123 | WIDTH="33%" |
| 124 | ALIGN="left" |
| 125 | VALIGN="top" |
| 126 | ><A |
| 127 | HREF="c25.html" |
| 128 | ACCESSKEY="P" |
| 129 | >Prev</A |
| 130 | ></TD |
| 131 | ><TD |
| 132 | WIDTH="34%" |
| 133 | ALIGN="center" |
| 134 | VALIGN="top" |
| 135 | ><A |
| 136 | HREF="index.html" |
| 137 | ACCESSKEY="H" |
| 138 | >Home</A |
| 139 | ></TD |
| 140 | ><TD |
| 141 | WIDTH="33%" |
| 142 | ALIGN="right" |
| 143 | VALIGN="top" |
| 144 | ><A |
| 145 | HREF="c42.html" |
| 146 | ACCESSKEY="N" |
| 147 | >Next</A |
| 148 | ></TD |
| 149 | ></TR |
| 150 | ><TR |
| 151 | ><TD |
| 152 | WIDTH="33%" |
| 153 | ALIGN="left" |
| 154 | VALIGN="top" |
| 155 | >Getting started</TD |
| 156 | ><TD |
| 157 | WIDTH="34%" |
| 158 | ALIGN="center" |
| 159 | VALIGN="top" |
| 160 | ><A |
| 161 | HREF="c25.html" |
| 162 | ACCESSKEY="U" |
| 163 | >Up</A |
| 164 | ></TD |
| 165 | ><TD |
| 166 | WIDTH="33%" |
| 167 | ALIGN="right" |
| 168 | VALIGN="top" |
| 169 | >Using LTTV graphical interface</TD |
| 170 | ></TR |
| 171 | ></TABLE |
| 172 | ></DIV |
| 173 | ></BODY |
| 174 | ></HTML |
| 175 | > |