1f2c88b1 |
1 | <html> |
2 | <body> |
e3a30a9e |
3 | <center><big><big>LTTV & LTTng roadmap<small><small></center> |
674fa3b3 |
4 | <br> |
5 | <br> |
fc5993d2 |
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> |
c8a111eb |
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> |
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> |
0c4b3d55 |
28 | <br> |
c8a111eb |
29 | <big>LTT Next Generation Roadmap<small><br> |
0c4b3d55 |
30 | <br> |
c8a111eb |
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> |
0c4b3d55 |
38 | <br> |
15e89ad6 |
39 | <br> |
b720b182 |
40 | * Done<br> |
b720b182 |
41 | remove ltt-headers.h<br> |
42 | remove ltt-log.h<br> |
c9eaf4ed |
43 | Put trace->active later in _ltt_trace_start()<br> |
44 | ltt_trace_create() remove sleep in spinlock use GFP_ATOMIC kmalloc<br> |
1502fa62 |
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> |
24c78300 |
48 | Finish the control module, libltt and lttctl : netlink interface<br> |
baffa645 |
49 | Finish integrating lttctl with lttd.<br> |
ada84671 |
50 | fix lttctl signal waiting : use a flag.<br> |
4e4d11b3 |
51 | Add ltt_write_commit_counter call to genevent.<br> |
24c78300 |
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> |
4e4d11b3 |
55 | Add trace start structure to buffer start header.<br> |
ada84671 |
56 | fix genevent : take no lock if num traces active is 0.<br> |
4e4d11b3 |
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> |
0c4b3d55 |
65 | add control for subbuffer size and number of subbuffers.<br> |
b6dfdc9c |
66 | Add reserve - get TSC - alignment atomicity through the use of cmpxchg.<br> |
67 | Add configurable alignment (LTT_ALIGNMENT).<br> |
0c4b3d55 |
68 | <br> |
69 | <br> |
b720b182 |
70 | <br> |
71 | * TODO (low priority)<br> |
b720b182 |
72 | Integrate header generation (genevent) in kernel build system.<br> |
c9eaf4ed |
73 | Multithreaded lttd.<br> |
baffa645 |
74 | Find a different way to printk from instrumentation : forbidden from schedule |
75 | and wakeup (causes a deadlock).<br> |
b720b182 |
76 | <br> |
15e89ad6 |
77 | * Need to be discussed<br> |
b720b182 |
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> |
b720b182 |
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> |
15e89ad6 |
85 | * Not planned for integration<br> |
4f782cda |
86 | Remove the callback struct from the trace struct.<br> |
15e89ad6 |
87 | <br> |
88 | <br> |
b720b182 |
89 | <br> |
81d2643e |
90 | * lttng patch division (0.4.2+) :<br> |
b720b182 |
91 | <br> |
92 | ltt-instrumentation.diff<br> |
b720b182 |
93 | ltt-facilities-headers.diff<br> |
94 | ltt-facilities-loader.diff<br> |
95 | ltt-facilities.diff<br> |
b720b182 |
96 | ltt-relayfs.diff<br> |
b720b182 |
97 | ltt-core.diff<br> |
98 | <br> |
99 | <br> |
100 | Mathieu Desnoyers<br> |
1f2c88b1 |
101 | |
102 | |
103 | </body> |
104 | </html> |