| 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 | >Linux Trace Toolkit Viewer Developer Guide</TITLE |
| 6 | ><META |
| 7 | NAME="GENERATOR" |
| 8 | CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK |
| 9 | REL="NEXT" |
| 10 | TITLE="Linux Trace Toolkit Viewer Text Module Tutorial" |
| 11 | HREF="c18.html"><META |
| 12 | NAME="KEYWORD" |
| 13 | CONTENT="Linux Trace Toolkit Viewer"><META |
| 14 | NAME="KEYWORD" |
| 15 | CONTENT="text"><META |
| 16 | NAME="KEYWORD" |
| 17 | CONTENT="module"><META |
| 18 | NAME="KEYWORD" |
| 19 | CONTENT="context"></HEAD |
| 20 | ><BODY |
| 21 | CLASS="book" |
| 22 | BGCOLOR="#FFFFFF" |
| 23 | TEXT="#000000" |
| 24 | LINK="#0000FF" |
| 25 | VLINK="#840084" |
| 26 | ALINK="#0000FF" |
| 27 | ><DIV |
| 28 | CLASS="BOOK" |
| 29 | ><A |
| 30 | NAME="AEN1" |
| 31 | ></A |
| 32 | ><DIV |
| 33 | CLASS="TITLEPAGE" |
| 34 | ><H1 |
| 35 | CLASS="title" |
| 36 | ><A |
| 37 | NAME="AEN2" |
| 38 | >Linux Trace Toolkit Viewer Developer Guide</A |
| 39 | ></H1 |
| 40 | ><H3 |
| 41 | CLASS="author" |
| 42 | ><A |
| 43 | NAME="AEN5" |
| 44 | ></A |
| 45 | >Mathieu Desnoyers</H3 |
| 46 | ><DIV |
| 47 | ><DIV |
| 48 | CLASS="abstract" |
| 49 | ><P |
| 50 | ></P |
| 51 | ><A |
| 52 | NAME="AEN10" |
| 53 | ></A |
| 54 | ><P |
| 55 | > This document describes the basic steps necessary to develop within the |
| 56 | <SPAN |
| 57 | CLASS="application" |
| 58 | >Linux Trace Toolkit Viewer</SPAN |
| 59 | > project. |
| 60 | |
| 61 | </P |
| 62 | ><P |
| 63 | ></P |
| 64 | ></DIV |
| 65 | ></DIV |
| 66 | ><HR></DIV |
| 67 | ><DIV |
| 68 | CLASS="TOC" |
| 69 | ><DL |
| 70 | ><DT |
| 71 | ><B |
| 72 | >Table of Contents</B |
| 73 | ></DT |
| 74 | ><DT |
| 75 | >1. <A |
| 76 | HREF="c18.html" |
| 77 | >Linux Trace Toolkit Viewer Text Module Tutorial</A |
| 78 | ></DT |
| 79 | ><DD |
| 80 | ><DL |
| 81 | ><DT |
| 82 | >1.1. <A |
| 83 | HREF="c18.html#AEN20" |
| 84 | >Introduction</A |
| 85 | ></DT |
| 86 | ><DT |
| 87 | >1.2. <A |
| 88 | HREF="x23.html" |
| 89 | >A typical module</A |
| 90 | ></DT |
| 91 | ><DT |
| 92 | >1.3. <A |
| 93 | HREF="x33.html" |
| 94 | >The hooks</A |
| 95 | ></DT |
| 96 | ></DL |
| 97 | ></DD |
| 98 | ><DT |
| 99 | >2. <A |
| 100 | HREF="c40.html" |
| 101 | >How to use the Linux Trace Toolkit Viewer's Reading Context</A |
| 102 | ></DT |
| 103 | ><DD |
| 104 | ><DL |
| 105 | ><DT |
| 106 | >2.1. <A |
| 107 | HREF="c40.html#AEN42" |
| 108 | >Introduction</A |
| 109 | ></DT |
| 110 | ><DT |
| 111 | >2.2. <A |
| 112 | HREF="x46.html" |
| 113 | >Why an event driven trace reader ?</A |
| 114 | ></DT |
| 115 | ><DT |
| 116 | >2.3. <A |
| 117 | HREF="x50.html" |
| 118 | >Using the reading context</A |
| 119 | ></DT |
| 120 | ></DL |
| 121 | ></DD |
| 122 | ><DT |
| 123 | >3. <A |
| 124 | HREF="c67.html" |
| 125 | >Linux Trace Toolkit Viewer Graphical Module Tutorial</A |
| 126 | ></DT |
| 127 | ><DD |
| 128 | ><DL |
| 129 | ><DT |
| 130 | >3.1. <A |
| 131 | HREF="c67.html#AEN69" |
| 132 | >Introduction</A |
| 133 | ></DT |
| 134 | ><DT |
| 135 | >3.2. <A |
| 136 | HREF="x72.html" |
| 137 | >The static part of a module</A |
| 138 | ></DT |
| 139 | ><DT |
| 140 | >3.3. <A |
| 141 | HREF="x77.html" |
| 142 | >The dynamic part of a module : the viewer</A |
| 143 | ></DT |
| 144 | ><DT |
| 145 | >3.4. <A |
| 146 | HREF="x81.html" |
| 147 | >How to request background computation</A |
| 148 | ></DT |
| 149 | ><DT |
| 150 | >3.5. <A |
| 151 | HREF="x84.html" |
| 152 | >How to handle events and use the graphical trace reading service</A |
| 153 | ></DT |
| 154 | ><DD |
| 155 | ><DL |
| 156 | ><DT |
| 157 | >3.5.1. <A |
| 158 | HREF="x84.html#AEN87" |
| 159 | >Module Related API</A |
| 160 | ></DT |
| 161 | ><DT |
| 162 | >3.5.2. <A |
| 163 | HREF="x84.html#AEN91" |
| 164 | >Main Window</A |
| 165 | ></DT |
| 166 | ><DT |
| 167 | >3.5.3. <A |
| 168 | HREF="x84.html#AEN97" |
| 169 | >Viewer Instance Related API</A |
| 170 | ></DT |
| 171 | ><DT |
| 172 | >3.5.4. <A |
| 173 | HREF="x84.html#AEN100" |
| 174 | >Notices from Main Window</A |
| 175 | ></DT |
| 176 | ><DT |
| 177 | >3.5.5. <A |
| 178 | HREF="x84.html#AEN123" |
| 179 | >Reporting Changes to the Main Window</A |
| 180 | ></DT |
| 181 | ><DT |
| 182 | >3.5.6. <A |
| 183 | HREF="x84.html#AEN134" |
| 184 | >Requesting Events to Main Window</A |
| 185 | ></DT |
| 186 | ><DT |
| 187 | >3.5.7. <A |
| 188 | HREF="x84.html#AEN152" |
| 189 | >GTK Events</A |
| 190 | ></DT |
| 191 | ></DL |
| 192 | ></DD |
| 193 | ></DL |
| 194 | ></DD |
| 195 | ></DL |
| 196 | ></DIV |
| 197 | ></DIV |
| 198 | ><DIV |
| 199 | CLASS="NAVFOOTER" |
| 200 | ><HR |
| 201 | ALIGN="LEFT" |
| 202 | WIDTH="100%"><TABLE |
| 203 | SUMMARY="Footer navigation table" |
| 204 | WIDTH="100%" |
| 205 | BORDER="0" |
| 206 | CELLPADDING="0" |
| 207 | CELLSPACING="0" |
| 208 | ><TR |
| 209 | ><TD |
| 210 | WIDTH="33%" |
| 211 | ALIGN="left" |
| 212 | VALIGN="top" |
| 213 | > </TD |
| 214 | ><TD |
| 215 | WIDTH="34%" |
| 216 | ALIGN="center" |
| 217 | VALIGN="top" |
| 218 | > </TD |
| 219 | ><TD |
| 220 | WIDTH="33%" |
| 221 | ALIGN="right" |
| 222 | VALIGN="top" |
| 223 | ><A |
| 224 | HREF="c18.html" |
| 225 | ACCESSKEY="N" |
| 226 | >Next</A |
| 227 | ></TD |
| 228 | ></TR |
| 229 | ><TR |
| 230 | ><TD |
| 231 | WIDTH="33%" |
| 232 | ALIGN="left" |
| 233 | VALIGN="top" |
| 234 | > </TD |
| 235 | ><TD |
| 236 | WIDTH="34%" |
| 237 | ALIGN="center" |
| 238 | VALIGN="top" |
| 239 | > </TD |
| 240 | ><TD |
| 241 | WIDTH="33%" |
| 242 | ALIGN="right" |
| 243 | VALIGN="top" |
| 244 | >Linux Trace Toolkit Viewer Text Module Tutorial</TD |
| 245 | ></TR |
| 246 | ></TABLE |
| 247 | ></DIV |
| 248 | ></BODY |
| 249 | ></HTML |
| 250 | > |