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 | >Getting started</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="Introduction" |
14 | HREF="c20.html"><LINK |
15 | REL="NEXT" |
16 | TITLE="Installing LTT kernel tracer" |
17 | HREF="x46.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="c20.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="x46.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="AEN25" |
73 | ></A |
74 | >Chapter 2. Getting started</H1 |
75 | ><DIV |
76 | CLASS="sect1" |
77 | ><H1 |
78 | CLASS="sect1" |
79 | ><A |
80 | NAME="install" |
81 | >2.1. Installing LTTV</A |
82 | ></H1 |
83 | ><P |
84 | > First, you must download the latests version of LTTV. You should get it from |
85 | this site : <A |
86 | HREF="http://ltt.polymtl.ca" |
87 | TARGET="_top" |
88 | >ltt.polymtl.ca</A |
89 | >. |
90 | I suggest that you get it from the "Packages" section. |
91 | </P |
92 | ><P |
93 | > You need a recent gcc compiler to compile the project. You might want to use gcc |
94 | 3.2 or newer. |
95 | You will also need some libraries in order to compile it. They are described in |
96 | the README of the LTTV package. These are GTK 2.0, GLIB 2.0, "popt" and Pango 1.0. |
97 | Install them if they are not on your system. Remember that if you use a package |
98 | manager from you favourite Linux distribution, you will need to specifically |
99 | install the librairies'development packages. |
100 | </P |
101 | ><P |
102 | > Then, you are ready to compile LTTV. Extract and untar the file you previously |
103 | downloaded : |
104 | </P |
105 | ><PRE |
106 | CLASS="screen" |
107 | > <SAMP |
108 | CLASS="prompt" |
109 | >$</SAMP |
110 | > <KBD |
111 | CLASS="userinput" |
112 | >tar -xvzof LinuxTraceToolkitViewer-x.x-dddddddd.tar.bz2</KBD |
113 | > |
114 | </PRE |
115 | ><P |
116 | > Then, go to the directory newly created, and type : |
117 | </P |
118 | ><PRE |
119 | CLASS="screen" |
120 | > <SAMP |
121 | CLASS="prompt" |
122 | >$</SAMP |
123 | > <KBD |
124 | CLASS="userinput" |
125 | >./configure</KBD |
126 | > |
127 | <SAMP |
128 | CLASS="prompt" |
129 | >$</SAMP |
130 | > <KBD |
131 | CLASS="userinput" |
132 | >make</KBD |
133 | > |
134 | <SAMP |
135 | CLASS="prompt" |
136 | >#</SAMP |
137 | > <KBD |
138 | CLASS="userinput" |
139 | >make install</KBD |
140 | > (as root) |
141 | </PRE |
142 | ><P |
143 | > At this point, LTTV is installed in the default directory. You may find the |
144 | lttv executable in /usr/local/bin and the librairies in /usr/local/lib. You will |
145 | also notice the presence of the convert executable in /usr/local/bin. This tool |
146 | will be used later to convert from the Linux Trace Toolkit trace format to the |
147 | LTTV format. |
148 | </P |
149 | ><P |
150 | > You are now ready to go to the next step : installing the LTT kernel tracer. |
151 | </P |
152 | ></DIV |
153 | ></DIV |
154 | ><DIV |
155 | CLASS="NAVFOOTER" |
156 | ><HR |
157 | ALIGN="LEFT" |
158 | WIDTH="100%"><TABLE |
159 | SUMMARY="Footer navigation table" |
160 | WIDTH="100%" |
161 | BORDER="0" |
162 | CELLPADDING="0" |
163 | CELLSPACING="0" |
164 | ><TR |
165 | ><TD |
166 | WIDTH="33%" |
167 | ALIGN="left" |
168 | VALIGN="top" |
169 | ><A |
170 | HREF="c20.html" |
171 | ACCESSKEY="P" |
172 | >Prev</A |
173 | ></TD |
174 | ><TD |
175 | WIDTH="34%" |
176 | ALIGN="center" |
177 | VALIGN="top" |
178 | ><A |
179 | HREF="index.html" |
180 | ACCESSKEY="H" |
181 | >Home</A |
182 | ></TD |
183 | ><TD |
184 | WIDTH="33%" |
185 | ALIGN="right" |
186 | VALIGN="top" |
187 | ><A |
188 | HREF="x46.html" |
189 | ACCESSKEY="N" |
190 | >Next</A |
191 | ></TD |
192 | ></TR |
193 | ><TR |
194 | ><TD |
195 | WIDTH="33%" |
196 | ALIGN="left" |
197 | VALIGN="top" |
198 | >Introduction</TD |
199 | ><TD |
200 | WIDTH="34%" |
201 | ALIGN="center" |
202 | VALIGN="top" |
203 | > </TD |
204 | ><TD |
205 | WIDTH="33%" |
206 | ALIGN="right" |
207 | VALIGN="top" |
208 | >Installing LTT kernel tracer</TD |
209 | ></TR |
210 | ></TABLE |
211 | ></DIV |
212 | ></BODY |
213 | ></HTML |
214 | > |