| 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 | >Using LTTV text modules</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="PREVIOUS" |
| 13 | TITLE="Control Flow View Colors" |
| 14 | HREF="x81.html"><LINK |
| 15 | REL="NEXT" |
| 16 | TITLE="The text dump module" |
| 17 | HREF="x125.html"></HEAD |
| 18 | ><BODY |
| 19 | CLASS="chapter" |
| 20 | BGCOLOR="#FFFFFF" |
| 21 | TEXT="#000000" |
| 22 | LINK="#0000FF" |
| 23 | VLINK="#840084" |
| 24 | ALINK="#0000FF" |
| 25 | ><DIV |
| 26 | CLASS="NAVHEADER" |
| 27 | ><TABLE |
| 28 | SUMMARY="Header navigation table" |
| 29 | WIDTH="100%" |
| 30 | BORDER="0" |
| 31 | CELLPADDING="0" |
| 32 | CELLSPACING="0" |
| 33 | ><TR |
| 34 | ><TH |
| 35 | COLSPAN="3" |
| 36 | ALIGN="center" |
| 37 | >Linux Trace Toolkit Viewer User Guide</TH |
| 38 | ></TR |
| 39 | ><TR |
| 40 | ><TD |
| 41 | WIDTH="10%" |
| 42 | ALIGN="left" |
| 43 | VALIGN="bottom" |
| 44 | ><A |
| 45 | HREF="x81.html" |
| 46 | ACCESSKEY="P" |
| 47 | >Prev</A |
| 48 | ></TD |
| 49 | ><TD |
| 50 | WIDTH="80%" |
| 51 | ALIGN="center" |
| 52 | VALIGN="bottom" |
| 53 | ></TD |
| 54 | ><TD |
| 55 | WIDTH="10%" |
| 56 | ALIGN="right" |
| 57 | VALIGN="bottom" |
| 58 | ><A |
| 59 | HREF="x125.html" |
| 60 | ACCESSKEY="N" |
| 61 | >Next</A |
| 62 | ></TD |
| 63 | ></TR |
| 64 | ></TABLE |
| 65 | ><HR |
| 66 | ALIGN="LEFT" |
| 67 | WIDTH="100%"></DIV |
| 68 | ><DIV |
| 69 | CLASS="chapter" |
| 70 | ><H1 |
| 71 | ><A |
| 72 | NAME="AEN115" |
| 73 | ></A |
| 74 | >Chapter 4. Using LTTV text modules</H1 |
| 75 | ><DIV |
| 76 | CLASS="sect1" |
| 77 | ><H1 |
| 78 | CLASS="sect1" |
| 79 | ><A |
| 80 | NAME="batchAnalysis" |
| 81 | >4.1. The batch analysis module</A |
| 82 | ></H1 |
| 83 | ><P |
| 84 | > This batch analysis module can be invoked like this : |
| 85 | </P |
| 86 | ><PRE |
| 87 | CLASS="screen" |
| 88 | > <SAMP |
| 89 | CLASS="prompt" |
| 90 | >$</SAMP |
| 91 | > <KBD |
| 92 | CLASS="userinput" |
| 93 | >lttv -L path/to/lib/plugins -m batchAnalysis\ |
| 94 | -t trace1 -t trace2 ...</KBD |
| 95 | > |
| 96 | </PRE |
| 97 | ><P |
| 98 | > It permits to call any registered action to perform in batch mode on all the |
| 99 | trace set, which consists of the traces loaded on the command line. Actions that |
| 100 | are built in the batchAnalysis module are statistics computation. They can be |
| 101 | triggered by using the -s (--stats) switch. |
| 102 | </P |
| 103 | ><P |
| 104 | > However, the batchAnalysis module is mostly a backend for every other text |
| 105 | module that does batch computation over a complete trace set. |
| 106 | </P |
| 107 | ></DIV |
| 108 | ></DIV |
| 109 | ><DIV |
| 110 | CLASS="NAVFOOTER" |
| 111 | ><HR |
| 112 | ALIGN="LEFT" |
| 113 | WIDTH="100%"><TABLE |
| 114 | SUMMARY="Footer navigation table" |
| 115 | WIDTH="100%" |
| 116 | BORDER="0" |
| 117 | CELLPADDING="0" |
| 118 | CELLSPACING="0" |
| 119 | ><TR |
| 120 | ><TD |
| 121 | WIDTH="33%" |
| 122 | ALIGN="left" |
| 123 | VALIGN="top" |
| 124 | ><A |
| 125 | HREF="x81.html" |
| 126 | ACCESSKEY="P" |
| 127 | >Prev</A |
| 128 | ></TD |
| 129 | ><TD |
| 130 | WIDTH="34%" |
| 131 | ALIGN="center" |
| 132 | VALIGN="top" |
| 133 | ><A |
| 134 | HREF="index.html" |
| 135 | ACCESSKEY="H" |
| 136 | >Home</A |
| 137 | ></TD |
| 138 | ><TD |
| 139 | WIDTH="33%" |
| 140 | ALIGN="right" |
| 141 | VALIGN="top" |
| 142 | ><A |
| 143 | HREF="x125.html" |
| 144 | ACCESSKEY="N" |
| 145 | >Next</A |
| 146 | ></TD |
| 147 | ></TR |
| 148 | ><TR |
| 149 | ><TD |
| 150 | WIDTH="33%" |
| 151 | ALIGN="left" |
| 152 | VALIGN="top" |
| 153 | >Control Flow View Colors</TD |
| 154 | ><TD |
| 155 | WIDTH="34%" |
| 156 | ALIGN="center" |
| 157 | VALIGN="top" |
| 158 | > </TD |
| 159 | ><TD |
| 160 | WIDTH="33%" |
| 161 | ALIGN="right" |
| 162 | VALIGN="top" |
| 163 | >The text dump module</TD |
| 164 | ></TR |
| 165 | ></TABLE |
| 166 | ></DIV |
| 167 | ></BODY |
| 168 | ></HTML |
| 169 | > |