update compat
[lttv.git] / tags / lttv-0.10.0-pre15-12082008 / doc / developer / developer_guide / html / x46.html
CommitLineData
5750899b 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>Why an event driven trace reader ?</TITLE
6><META
7NAME="GENERATOR"
8CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
9REL="HOME"
10TITLE="Linux Trace Toolkit Viewer Developer Guide"
11HREF="index.html"><LINK
12REL="UP"
13TITLE="How to use the Linux Trace Toolkit Viewer's Reading Context"
14HREF="c40.html"><LINK
15REL="PREVIOUS"
16TITLE="How to use the Linux Trace Toolkit Viewer's Reading Context"
17HREF="c40.html"><LINK
18REL="NEXT"
19TITLE="Using the reading context"
20HREF="x50.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 Developer Guide</TH
41></TR
42><TR
43><TD
44WIDTH="10%"
45ALIGN="left"
46VALIGN="bottom"
47><A
48HREF="c40.html"
49ACCESSKEY="P"
50>Prev</A
51></TD
52><TD
53WIDTH="80%"
54ALIGN="center"
55VALIGN="bottom"
56>Chapter 2. How to use the Linux Trace Toolkit Viewer's Reading Context</TD
57><TD
58WIDTH="10%"
59ALIGN="right"
60VALIGN="bottom"
61><A
62HREF="x50.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="AEN46"
77>2.2. Why an event driven trace reader ?</A
78></H1
79><P
80>&#13;The complexity of synchronizing the tracesets is then hidden to the viewer. Some
81future plans involve to be able to put many traces together in a trace set.
82Before this becomes possible, the time of each trace must be synchronized in
83some way. Some work is actually done to create a module that uses the network
84traffic shared by different computers to synchronize the time of different
85traces.
86</P
87><P
88>&#13;In order to make each module integrate well with each other, we made the trace
89reader a simple hook caller. For each event it reads, it just calls the hook
90lists for this event. For each event, it calls the by_id specific hooks
91registered for this event and also the "main" hooks, registered for all events.
92Note that the two hook lists are merged when called so the priority of the
93hooks of each list is respected. For example, a hook of higher priority (20) in
94the main list will be called before a hook of lower priority (40) from the
95by_id specific list.
96</P
97></DIV
98><DIV
99CLASS="NAVFOOTER"
100><HR
101ALIGN="LEFT"
102WIDTH="100%"><TABLE
103SUMMARY="Footer navigation table"
104WIDTH="100%"
105BORDER="0"
106CELLPADDING="0"
107CELLSPACING="0"
108><TR
109><TD
110WIDTH="33%"
111ALIGN="left"
112VALIGN="top"
113><A
114HREF="c40.html"
115ACCESSKEY="P"
116>Prev</A
117></TD
118><TD
119WIDTH="34%"
120ALIGN="center"
121VALIGN="top"
122><A
123HREF="index.html"
124ACCESSKEY="H"
125>Home</A
126></TD
127><TD
128WIDTH="33%"
129ALIGN="right"
130VALIGN="top"
131><A
132HREF="x50.html"
133ACCESSKEY="N"
134>Next</A
135></TD
136></TR
137><TR
138><TD
139WIDTH="33%"
140ALIGN="left"
141VALIGN="top"
142>How to use the Linux Trace Toolkit Viewer's Reading Context</TD
143><TD
144WIDTH="34%"
145ALIGN="center"
146VALIGN="top"
147><A
148HREF="c40.html"
149ACCESSKEY="U"
150>Up</A
151></TD
152><TD
153WIDTH="33%"
154ALIGN="right"
155VALIGN="top"
156>Using the reading context</TD
157></TR
158></TABLE
159></DIV
160></BODY
161></HTML
162>
This page took 0.029443 seconds and 4 git commands to generate.