902f60bb5e0f785b87a79355b1c893088792146e
[lttv.git] / ltt / branches / poly / doc / developer / lttng-lttv-roadmap.html
1 <html>
2 <body>
3 <center><big><big>LTTV & LTTng roadmap<small><small></center>
4 <br>
5 <br>
6 Here are the 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 (4) create a event rate graphical view : Will be useful in conjonction with the
16 filter.<br>
17 (6) migrate align to lttv parser.<br>
18 (7) 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 redo lib tracefile : too much problems in there.<br>
29 modify the rest of LTTV to match the API changes.<br>
30 debian package<br>
31 RPM package<br>
32 <br>
33 <big>LTT Next Generation Roadmap<small><br>
34 <br>
35 * TODO<br>
36 (1) create RPM packages for lttng kernel<br>
37 (1) make LTT tracing code completely atomic (thus remove locks)<br>
38 (2) add efficient and secure user space tracing. (1 month)<br>
39 (3) integrate LTTng State Dump : missing irq and process state.<br>
40 (9) add genevent full functionnality : alignment, array, sequences, nested
41 structures.<br>
42 (7) add gcc -finstrument-functions instrumentation<br>
43 <br>
44 <br>
45 * Done<br>
46 remove ltt-headers.h<br>
47 remove ltt-log.h<br>
48 Put trace->active later in _ltt_trace_start()<br>
49 ltt_trace_create() remove sleep in spinlock use GFP_ATOMIC kmalloc<br>
50 Fix the locking of module hooks.<br>
51 Fix the traps -> disable nested logging for now.<br>
52 Use per cpu spinlock on trace list.<br>
53 Finish the control module, libltt and lttctl : netlink interface<br>
54 Finish integrating lttctl with lttd.<br>
55 fix lttctl signal waiting : use a flag.<br>
56 Add ltt_write_commit_counter call to genevent.<br>
57 Add information in the buffer header : buffer size, etc etc...<br>
58 -> this information is so small that we can repeat it. Makes flight recorder
59 easier to decode.<br>
60 Add trace start structure to buffer start header.<br>
61 fix genevent : take no lock if num traces active is 0.<br>
62 Add type information per facility : it will help having a standard way
63 to understand information coming from both kernel space and user space, and deal
64 easily with 64 bits kernel with 64 and 32 bits processes (and with size_t know
65 at compile time which can differ inside the same process from one library to
66 another).<br>
67 fix structures alignment, array and sequences too. -> trace dynamic.<br>
68 add per facility alignment (inside structures).<br>
69 add control of alignment.<br>
70 add control for subbuffer size and number of subbuffers.<br>
71 Add reserve - get TSC - alignment atomicity through the use of cmpxchg.<br>
72 Add configurable alignment (LTT_ALIGNMENT).<br>
73 Get ultra-precise logging with use of TSC (only) : only one do_gettimeofday
74 read, and then we don't want the time flow to be altered by ntp.<br>
75 Debian kernel package<br>
76 <br>
77 <br>
78 <br>
79 * TODO (low priority)<br>
80 Integrate header generation (genevent) in kernel build system.<br>
81 Multithreaded lttd.<br>
82 Find a different way to printk from instrumentation : forbidden from schedule
83 and wakeup (causes a deadlock).<br>
84 <br>
85 * Need to be discussed<br>
86 Drop ltt-module-register and ltt-module-unregister, use exported variables.<br>
87 RelayFS ioctl interface vs control through LTT netlink interface.<br>
88 drop ltt_filter_control, use functions pointers instead.<br>
89 Merge facilities headers into one big header.<br>
90 Change the name of XML files from XML to something else.<br>
91 Remove ltt-base.c.<br>
92 <br>
93 * Not planned for integration<br>
94 Remove the callback struct from the trace struct.<br>
95 <br>
96 <br>
97 <br>
98 * lttng patch division (0.4.2+) :<br>
99 <br>
100 ltt-instrumentation.diff<br>
101 ltt-facilities-headers.diff<br>
102 ltt-facilities-loader.diff<br>
103 ltt-facilities.diff<br>
104 ltt-relayfs.diff<br>
105 ltt-core.diff<br>
106 <br>
107 <br>
108 Mathieu Desnoyers<br>
109
110
111 </body>
112 </html>
This page took 0.038305 seconds and 4 git commands to generate.