todo update
[lttv.git] / ltt / branches / poly / doc / developer / ltt-experimental-rewrite.html
1 <html>
2 <body>
3 <center><big><big>LTTV & LTTng roadmap<small><small></center>
4 <br>
5 <br>
6 Here are roadmaps for the LTTV and LTTng development. I use a priority indice
7 for the TODO items :<br>
8 1 : very high priority<br>
9 10: lowest priority<br>
10 <br>
11 <br>
12 <big>LTTV Roadmap<small><br>
13 <br>
14 * TODO<br>
15 migrate align to lttv parser.<br>
16 create a event rate graphical view : Will be useful in conjonction with the
17 filter.<br>
18 create an analysis of function time (like a precise gprof)<br>
19 -> with gcc -f inline-functions<br>
20 <br>
21 <br>
22 * Done<br>
23 Buffer aligned on page boundary -> use valloc.<br>
24 per struct (struct align=x) support added to genevent (partial).<br>
25 Add offset align generation for structs to genevent.<br>
26 make lttv aware of the per facility long, void* and size_t types.<br>
27 Read current trace header and buffer header.<br>
28 <br>
29 <big>LTT Next Generation Roadmap<small><br>
30 <br>
31 * TODO<br>
32 make LTT tracing code completely atomic (thus remove locks)<br>
33 add efficient and secure user space tracing. (1 month)<br>
34 integrate LTTng State Dump : missing irq and process state.<br>
35 add genevent full functionnality : alignment, array, sequences, nested
36 structures.<br>
37 add gcc -finstrument-functions instrumentation<br>
38 <br>
39 <br>
40 * Done<br>
41 remove ltt-headers.h<br>
42 remove ltt-log.h<br>
43 Put trace->active later in _ltt_trace_start()<br>
44 ltt_trace_create() remove sleep in spinlock use GFP_ATOMIC kmalloc<br>
45 Fix the locking of module hooks.<br>
46 Fix the traps -> disable nested logging for now.<br>
47 Use per cpu spinlock on trace list.<br>
48 Finish the control module, libltt and lttctl : netlink interface<br>
49 Finish integrating lttctl with lttd.<br>
50 fix lttctl signal waiting : use a flag.<br>
51 Add ltt_write_commit_counter call to genevent.<br>
52 Add information in the buffer header : buffer size, etc etc...<br>
53 -> this information is so small that we can repeat it. Makes flight recorder
54 easier to decode.<br>
55 Add trace start structure to buffer start header.<br>
56 fix genevent : take no lock if num traces active is 0.<br>
57 Add type information per facility : it will help having a standard way
58 to understand information coming from both kernel space and user space, and deal
59 easily with 64 bits kernel with 64 and 32 bits processes (and with size_t know
60 at compile time which can differ inside the same process from one library to
61 another).<br>
62 fix structures alignment, array and sequences too. -> trace dynamic.<br>
63 add per facility alignment (inside structures).<br>
64 add control of alignment.<br>
65 add control for subbuffer size and number of subbuffers.<br>
66 Add reserve - get TSC - alignment atomicity through the use of cmpxchg.<br>
67 Add configurable alignment (LTT_ALIGNMENT).<br>
68 <br>
69 <br>
70 <br>
71 * TODO (low priority)<br>
72 Integrate header generation (genevent) in kernel build system.<br>
73 Multithreaded lttd.<br>
74 Find a different way to printk from instrumentation : forbidden from schedule
75 and wakeup (causes a deadlock).<br>
76 <br>
77 * Need to be discussed<br>
78 Drop ltt-module-register and ltt-module-unregister, use exported variables.<br>
79 RelayFS ioctl interface vs control through LTT netlink interface.<br>
80 drop ltt_filter_control, use functions pointers instead.<br>
81 Merge facilities headers into one big header.<br>
82 Change the name of XML files from XML to something else.<br>
83 Remove ltt-base.c.<br>
84 <br>
85 * Not planned for integration<br>
86 Remove the callback struct from the trace struct.<br>
87 <br>
88 <br>
89 <br>
90 * lttng patch division (0.4.2+) :<br>
91 <br>
92 ltt-instrumentation.diff<br>
93 ltt-facilities-headers.diff<br>
94 ltt-facilities-loader.diff<br>
95 ltt-facilities.diff<br>
96 ltt-relayfs.diff<br>
97 ltt-core.diff<br>
98 <br>
99 <br>
100 Mathieu Desnoyers<br>
101
102
103 </body>
104 </html>
This page took 0.030547 seconds and 4 git commands to generate.