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