userspace tracing arch
[lttv.git] / ltt / branches / poly / doc / user / user_guide / html / x64.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>Conversion from LTT to LTTV trace format</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="Getting started"
14HREF="c25.html"><LINK
15REL="PREVIOUS"
16TITLE="Installing LTT trace recording daemon"
17HREF="x54.html"><LINK
18REL="NEXT"
19TITLE="Running the executable with basic libraries"
20HREF="x81.html"></HEAD
21><BODY
22CLASS="sect1"
23BGCOLOR="#FFFFFF"
24TEXT="#000000"
25LINK="#0000FF"
26VLINK="#840084"
27ALINK="#0000FF"
28><DIV
29CLASS="NAVHEADER"
30><TABLE
31SUMMARY="Header navigation table"
32WIDTH="100%"
33BORDER="0"
34CELLPADDING="0"
35CELLSPACING="0"
36><TR
37><TH
38COLSPAN="3"
39ALIGN="center"
40>Linux Trace Toolkit Viewer User Guide</TH
41></TR
42><TR
43><TD
44WIDTH="10%"
45ALIGN="left"
46VALIGN="bottom"
47><A
48HREF="x54.html"
49ACCESSKEY="P"
50>Prev</A
51></TD
52><TD
53WIDTH="80%"
54ALIGN="center"
55VALIGN="bottom"
56>Chapter 2. Getting started</TD
57><TD
58WIDTH="10%"
59ALIGN="right"
60VALIGN="bottom"
61><A
62HREF="x81.html"
63ACCESSKEY="N"
64>Next</A
65></TD
66></TR
67></TABLE
68><HR
69ALIGN="LEFT"
70WIDTH="100%"></DIV
71><DIV
72CLASS="sect1"
73><H1
74CLASS="sect1"
75><A
76NAME="convert"
77>2.4. Conversion from LTT to LTTV trace format</A
78></H1
79><P
80>&#13;If you used the default directory for installation, you should find the
81conversion tool in /usr/local/bin/convert. Before using it, some other files are
82necessary. You will find them in
83/usr/local/share/LinuxTraceToolkitViewer/convert/. Those are sysInfo and
84core.xml.
85</P
86><P
87>&#13;sysInfo is a script that get informations about the traced computer. It should
88be invoked like this :
89</P
90><PRE
91CLASS="screen"
92>&#13;<SAMP
93CLASS="prompt"
94>$</SAMP
95> <KBD
96CLASS="userinput"
97>sh /usr/local/LinuxTraceToolkitViewer/convert/sysInfo</KBD
98>
99</PRE
100><P
101>&#13;It creates a file named sysInfo.out. This file has to be present in the current
102directory where the convert tool will be executed. I suggest that you choose a
103destination directory where will be written converted traces right now, put sysInfo.out in it, at
104use it as current directory for running the convert tool.
105</P
106><P
107>&#13;Once the sysInfo.out file is ready and you have a trace ready for conversion,
108you should invoke convert like the following example. This is for a uniprocessor
109computer. If you whish to get detailed explanation on the parameters, simply
110execute the convert tool without any option. You may also wish to see the
111/usr/local/LinuxTraceToolkitViewer/convert/README file.
112</P
113><PRE
114CLASS="screen"
115>&#13;<SAMP
116CLASS="prompt"
117>$</SAMP
118> <KBD
119CLASS="userinput"
120>/usr/local/bin/convert sample.proc 1 sample.trace sample.converted</KBD
121>
122</PRE
123><P
124>&#13;You must then copy the core event definition file to the converted trace directory :
125</P
126><PRE
127CLASS="screen"
128>&#13;<SAMP
129CLASS="prompt"
130>$</SAMP
131> <KBD
132CLASS="userinput"
133>cp /usr/local/share/LinuxTraceToolkitViewer/convert/core.xml sample.converted/</KBD
134>
135</PRE
136><P
137>&#13;You now have a converted trace ready for visualization in LTTV. Congratulations!
138</P
139></DIV
140><DIV
141CLASS="NAVFOOTER"
142><HR
143ALIGN="LEFT"
144WIDTH="100%"><TABLE
145SUMMARY="Footer navigation table"
146WIDTH="100%"
147BORDER="0"
148CELLPADDING="0"
149CELLSPACING="0"
150><TR
151><TD
152WIDTH="33%"
153ALIGN="left"
154VALIGN="top"
155><A
156HREF="x54.html"
157ACCESSKEY="P"
158>Prev</A
159></TD
160><TD
161WIDTH="34%"
162ALIGN="center"
163VALIGN="top"
164><A
165HREF="index.html"
166ACCESSKEY="H"
167>Home</A
168></TD
169><TD
170WIDTH="33%"
171ALIGN="right"
172VALIGN="top"
173><A
174HREF="x81.html"
175ACCESSKEY="N"
176>Next</A
177></TD
178></TR
179><TR
180><TD
181WIDTH="33%"
182ALIGN="left"
183VALIGN="top"
184>Installing LTT trace recording daemon</TD
185><TD
186WIDTH="34%"
187ALIGN="center"
188VALIGN="top"
189><A
190HREF="c25.html"
191ACCESSKEY="U"
192>Up</A
193></TD
194><TD
195WIDTH="33%"
196ALIGN="right"
197VALIGN="top"
198>Running the executable with basic libraries</TD
199></TR
200></TABLE
201></DIV
202></BODY
203></HTML
204>
This page took 0.048079 seconds and 4 git commands to generate.