1f2c88b1 |
1 | <html> |
2 | <body> |
e3a30a9e |
3 | <center><big><big>LTTV & LTTng roadmap<small><small></center> |
674fa3b3 |
4 | <br> |
5 | <br> |
5e11a375 |
6 | Here are the roadmaps for the LTTV and LTTng development. I use a priority indice |
fc5993d2 |
7 | for the TODO items :<br> |
90d65afc |
8 | (1) : very high priority<br> |
9 | (10): lowest priority<br> |
fc5993d2 |
10 | <br> |
11 | <br> |
c8a111eb |
12 | <big>LTTV Roadmap<small><br> |
13 | <br> |
14 | * TODO<br> |
90d65afc |
15 | (4) create a event rate graphical view : Will be useful in conjonction with the |
c8a111eb |
16 | filter.<br> |
90d65afc |
17 | (6) migrate align to lttv parser.<br> |
18 | (7) create an analysis of function time (like a precise gprof)<br> |
c8a111eb |
19 | -> with gcc -f inline-functions<br> |
20 | <br> |
21 | <br> |
0c4b3d55 |
22 | * Done<br> |
3490c00c |
23 | Buffer aligned on page boundary -> use valloc.<br> |
d6533ec7 |
24 | per struct (struct align=x) support added to genevent (partial).<br> |
b8b5f119 |
25 | Add offset align generation for structs to genevent.<br> |
81d2643e |
26 | make lttv aware of the per facility long, void* and size_t types.<br> |
27 | Read current trace header and buffer header.<br> |
6da6b02c |
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> |
0c4b3d55 |
32 | <br> |
c8a111eb |
33 | <big>LTT Next Generation Roadmap<small><br> |
0c4b3d55 |
34 | <br> |
c8a111eb |
35 | * TODO<br> |
90d65afc |
36 | (1) make LTT tracing code completely atomic (thus remove locks)<br> |
37 | (2) add efficient and secure user space tracing. (1 month)<br> |
38 | (3) integrate LTTng State Dump : missing irq and process state.<br> |
39 | (9) add genevent full functionnality : alignment, array, sequences, nested |
c8a111eb |
40 | structures.<br> |
90d65afc |
41 | (7) add gcc -finstrument-functions instrumentation<br> |
0c4b3d55 |
42 | <br> |
15e89ad6 |
43 | <br> |
b720b182 |
44 | * Done<br> |
b720b182 |
45 | remove ltt-headers.h<br> |
46 | remove ltt-log.h<br> |
c9eaf4ed |
47 | Put trace->active later in _ltt_trace_start()<br> |
48 | ltt_trace_create() remove sleep in spinlock use GFP_ATOMIC kmalloc<br> |
1502fa62 |
49 | Fix the locking of module hooks.<br> |
50 | Fix the traps -> disable nested logging for now.<br> |
51 | Use per cpu spinlock on trace list.<br> |
24c78300 |
52 | Finish the control module, libltt and lttctl : netlink interface<br> |
baffa645 |
53 | Finish integrating lttctl with lttd.<br> |
ada84671 |
54 | fix lttctl signal waiting : use a flag.<br> |
4e4d11b3 |
55 | Add ltt_write_commit_counter call to genevent.<br> |
24c78300 |
56 | Add information in the buffer header : buffer size, etc etc...<br> |
57 | -> this information is so small that we can repeat it. Makes flight recorder |
58 | easier to decode.<br> |
4e4d11b3 |
59 | Add trace start structure to buffer start header.<br> |
ada84671 |
60 | fix genevent : take no lock if num traces active is 0.<br> |
4e4d11b3 |
61 | Add type information per facility : it will help having a standard way |
62 | to understand information coming from both kernel space and user space, and deal |
63 | easily with 64 bits kernel with 64 and 32 bits processes (and with size_t know |
64 | at compile time which can differ inside the same process from one library to |
65 | another).<br> |
66 | fix structures alignment, array and sequences too. -> trace dynamic.<br> |
67 | add per facility alignment (inside structures).<br> |
68 | add control of alignment.<br> |
0c4b3d55 |
69 | add control for subbuffer size and number of subbuffers.<br> |
b6dfdc9c |
70 | Add reserve - get TSC - alignment atomicity through the use of cmpxchg.<br> |
71 | Add configurable alignment (LTT_ALIGNMENT).<br> |
6da6b02c |
72 | Get ultra-precise logging with use of TSC (only) : only one do_gettimeofday |
73 | read, and then we don't want the time flow to be altered by ntp.<br> |
74 | Debian kernel package<br> |
0c4b3d55 |
75 | <br> |
76 | <br> |
b720b182 |
77 | <br> |
78 | * TODO (low priority)<br> |
cbe85414 |
79 | enhance RPM packages for lttng kernel<br> |
b720b182 |
80 | Integrate header generation (genevent) in kernel build system.<br> |
c9eaf4ed |
81 | Multithreaded lttd.<br> |
baffa645 |
82 | Find a different way to printk from instrumentation : forbidden from schedule |
83 | and wakeup (causes a deadlock).<br> |
b720b182 |
84 | <br> |
15e89ad6 |
85 | * Need to be discussed<br> |
b720b182 |
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> |
b720b182 |
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> |
15e89ad6 |
93 | * Not planned for integration<br> |
4f782cda |
94 | Remove the callback struct from the trace struct.<br> |
15e89ad6 |
95 | <br> |
96 | <br> |
b720b182 |
97 | <br> |
81d2643e |
98 | * lttng patch division (0.4.2+) :<br> |
b720b182 |
99 | <br> |
100 | ltt-instrumentation.diff<br> |
b720b182 |
101 | ltt-facilities-headers.diff<br> |
102 | ltt-facilities-loader.diff<br> |
103 | ltt-facilities.diff<br> |
b720b182 |
104 | ltt-relayfs.diff<br> |
b720b182 |
105 | ltt-core.diff<br> |
106 | <br> |
107 | <br> |
108 | Mathieu Desnoyers<br> |
1f2c88b1 |
109 | |
110 | |
111 | </body> |
112 | </html> |