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 | >Installing LTT kernel tracer</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="Installing LTT trace recording daemon" |
20 | HREF="x54.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="x54.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="install-tracer" |
77 | >2.2. Installing LTT kernel tracer</A |
78 | ></H1 |
79 | ><P |
80 | > The goal of this guide is not to describe the Linux Trace Toolkit project in |
81 | details, as it is a |
82 | seperate project for now. It just gives pointers to the basic steps you must |
83 | take in order to generate a trace suitable for conversion. |
84 | </P |
85 | ><P |
86 | > First, go to the <A |
87 | HREF="http://ltt.polymtl.ca" |
88 | TARGET="_top" |
89 | >ltt.polymtl.ca</A |
90 | > |
91 | website, in the "Patches for the Official LTT" section. Use the latest version |
92 | of patches available. The file name convention used goes like this : |
93 | aaaaaa-x.x--bbbbb-y.y.patch. That means a patch made for aaaaa, release x.x, |
94 | that adds bbbbb, release y.y to it. Notice the presence of the -- sign that |
95 | separates the "from" field from the name of the patch applied. This way, it's |
96 | impossible to be mixed up on the specific sequence of patch application. I |
97 | suggest that you use the "relayfs", "ltt" and then "md" patches. The "md" patch |
98 | adds events useful to LTTV that are not in the official LTT. |
99 | </P |
100 | ><P |
101 | > Once you have the patches you need, get the matching Linux kernel version, apply |
102 | the patches on it, configure it, install it, reboot with the new kernel. You then |
103 | have an instrumented kernel ready for tracing. If you have problems during this phase, |
104 | please refer to <A |
105 | HREF="http://www.opersys.com/ltt" |
106 | TARGET="_top" |
107 | >www.opersys.com/ltt</A |
108 | >. If you need |
109 | instructions about how to recompile a kernel, see |
110 | <A |
111 | HREF="http://www.tldp.org/HOWTO/Kernel-HOWTO/" |
112 | TARGET="_top" |
113 | >Kernel-HOWTO</A |
114 | >. |
115 | </P |
116 | ></DIV |
117 | ><DIV |
118 | CLASS="NAVFOOTER" |
119 | ><HR |
120 | ALIGN="LEFT" |
121 | WIDTH="100%"><TABLE |
122 | SUMMARY="Footer navigation table" |
123 | WIDTH="100%" |
124 | BORDER="0" |
125 | CELLPADDING="0" |
126 | CELLSPACING="0" |
127 | ><TR |
128 | ><TD |
129 | WIDTH="33%" |
130 | ALIGN="left" |
131 | VALIGN="top" |
132 | ><A |
133 | HREF="c25.html" |
134 | ACCESSKEY="P" |
135 | >Prev</A |
136 | ></TD |
137 | ><TD |
138 | WIDTH="34%" |
139 | ALIGN="center" |
140 | VALIGN="top" |
141 | ><A |
142 | HREF="index.html" |
143 | ACCESSKEY="H" |
144 | >Home</A |
145 | ></TD |
146 | ><TD |
147 | WIDTH="33%" |
148 | ALIGN="right" |
149 | VALIGN="top" |
150 | ><A |
151 | HREF="x54.html" |
152 | ACCESSKEY="N" |
153 | >Next</A |
154 | ></TD |
155 | ></TR |
156 | ><TR |
157 | ><TD |
158 | WIDTH="33%" |
159 | ALIGN="left" |
160 | VALIGN="top" |
161 | >Getting started</TD |
162 | ><TD |
163 | WIDTH="34%" |
164 | ALIGN="center" |
165 | VALIGN="top" |
166 | ><A |
167 | HREF="c25.html" |
168 | ACCESSKEY="U" |
169 | >Up</A |
170 | ></TD |
171 | ><TD |
172 | WIDTH="33%" |
173 | ALIGN="right" |
174 | VALIGN="top" |
175 | >Installing LTT trace recording daemon</TD |
176 | ></TR |
177 | ></TABLE |
178 | ></DIV |
179 | ></BODY |
180 | ></HTML |
181 | > |