convert from svn repository: remove tags directory
[lttv.git] / trunk / lttng-xenomai / LinuxTraceToolkitViewer-0.8.61-xenoltt / doc / user / user_guide / html / x125.html
CommitLineData
b1053af5 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>The text dump module</TITLE
6><META
7NAME="GENERATOR"
8CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
9REL="HOME"
10TITLE="Linux Trace Toolkit Viewer User Guide"
11HREF="index.html"><LINK
12REL="UP"
13TITLE="Using LTTV text modules"
54bfc655 14HREF="c115.html"><LINK
b1053af5 15REL="PREVIOUS"
16TITLE="Using LTTV text modules"
54bfc655 17HREF="c115.html"></HEAD
b1053af5 18><BODY
19CLASS="sect1"
20BGCOLOR="#FFFFFF"
21TEXT="#000000"
22LINK="#0000FF"
23VLINK="#840084"
24ALINK="#0000FF"
25><DIV
26CLASS="NAVHEADER"
27><TABLE
28SUMMARY="Header navigation table"
29WIDTH="100%"
30BORDER="0"
31CELLPADDING="0"
32CELLSPACING="0"
33><TR
34><TH
35COLSPAN="3"
36ALIGN="center"
37>Linux Trace Toolkit Viewer User Guide</TH
38></TR
39><TR
40><TD
41WIDTH="10%"
42ALIGN="left"
43VALIGN="bottom"
44><A
54bfc655 45HREF="c115.html"
b1053af5 46ACCESSKEY="P"
47>Prev</A
48></TD
49><TD
50WIDTH="80%"
51ALIGN="center"
52VALIGN="bottom"
53>Chapter 4. Using LTTV text modules</TD
54><TD
55WIDTH="10%"
56ALIGN="right"
57VALIGN="bottom"
58>&nbsp;</TD
59></TR
60></TABLE
61><HR
62ALIGN="LEFT"
63WIDTH="100%"></DIV
64><DIV
65CLASS="sect1"
66><H1
67CLASS="sect1"
68><A
69NAME="textDump"
70>4.2. The text dump module</A
71></H1
72><P
73>&#13; The goal of this module is to convert the binary data of the traces into
74a formatted text file.
75</P
76><P
77>&#13;The text dump module is a good example of a usage of the batch analysis module
78backend. In fact, the text dump module depends on it. You don't need to
79explicitly load the batchAnalysis module though, as lttv offers a rich module
80backend that deals with the dependencies, loading the module automatically if
81needed.
82</P
83><P
84>&#13;The text dump module is invoked just like the batchAnalysis module. It adds more
85options that can be specified in argument. You may specify the -o switch for the
86output file name of the text dump. You can enable the output of the field names
87(the identifier of the fields) with the -l switch. The -s switch, for process
88states, is very useful to indicate the state in which the process is when the
89event happens.
90</P
91><P
92>&#13;If you use the --help option on the textDump module, you will see all the detail
93about the switches that can be used to show per cpu statistics and per process
94statistics. You will notice that you can use both the switches for the
95batchAnalysis module and those for textDump. You will also notice that the
96options --process_state (from textDump) and --stats (from batchAnalysis) has the
97same short name "-s". If you choose to invoke this option using the short name,
98it will use the option of the last module loaded just before the -s switch.
99</P
100><P
101>&#13;For exemple, if you load the textDump module with -m textDump, it will first
102load the batchAnalysis module, and then load itself. As it is the last module
103loaded, the -s switch used after it will signify --process_stats. On the other
104hand, if you choose to specify explicitly the loading of both modules like this
105:
106</P
107><PRE
108CLASS="screen"
109>&#13;<SAMP
110CLASS="prompt"
111>$</SAMP
112> <KBD
113CLASS="userinput"
114>lttv -L path/to/lib/plugins -m batchAnalysis -s\
115-m textDump -s -t trace</KBD
116>
117</PRE
118><P
119>&#13;The first "-s" will invoke batchAnalysis --stats and the second "-s" will invoke
120textDump --process_state. The list of options generated by --help follows the
121order of registration of the options by the modules, therefore the invocation
122order of the modules.
123</P
124></DIV
125><DIV
126CLASS="NAVFOOTER"
127><HR
128ALIGN="LEFT"
129WIDTH="100%"><TABLE
130SUMMARY="Footer navigation table"
131WIDTH="100%"
132BORDER="0"
133CELLPADDING="0"
134CELLSPACING="0"
135><TR
136><TD
137WIDTH="33%"
138ALIGN="left"
139VALIGN="top"
140><A
54bfc655 141HREF="c115.html"
b1053af5 142ACCESSKEY="P"
143>Prev</A
144></TD
145><TD
146WIDTH="34%"
147ALIGN="center"
148VALIGN="top"
149><A
150HREF="index.html"
151ACCESSKEY="H"
152>Home</A
153></TD
154><TD
155WIDTH="33%"
156ALIGN="right"
157VALIGN="top"
158>&nbsp;</TD
159></TR
160><TR
161><TD
162WIDTH="33%"
163ALIGN="left"
164VALIGN="top"
165>Using LTTV text modules</TD
166><TD
167WIDTH="34%"
168ALIGN="center"
169VALIGN="top"
170><A
54bfc655 171HREF="c115.html"
b1053af5 172ACCESSKEY="U"
173>Up</A
174></TD
175><TD
176WIDTH="33%"
177ALIGN="right"
178VALIGN="top"
179>&nbsp;</TD
180></TR
181></TABLE
182></DIV
183></BODY
184></HTML
185>
This page took 0.053052 seconds and 4 git commands to generate.