From: compudj Date: Wed, 25 Jan 2006 20:51:28 +0000 (+0000) Subject: roadmap update X-Git-Tag: v0.12.20~1999 X-Git-Url: http://git.lttng.org./?a=commitdiff_plain;h=3f43b8fbe6cf55fb25e49134f3d0d9cf9e242c9c;hp=f32e1ba0d4cbaf80e4c56b325396cecdb99aa1d8;p=lttv.git roadmap update git-svn-id: http://ltt.polymtl.ca/svn@1490 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/doc/developer/lttng-lttv-roadmap.html b/ltt/branches/poly/doc/developer/lttng-lttv-roadmap.html index 088ea626..3c4a5203 100644 --- a/ltt/branches/poly/doc/developer/lttng-lttv-roadmap.html +++ b/ltt/branches/poly/doc/developer/lttng-lttv-roadmap.html @@ -47,6 +47,7 @@ The % symbol marks who is interested in the realisation of the item.
never hit the facility channel. Use the complete 64 bits TSC for the facility channel in every case. That's because this channel must never be overwritten even in "flight recorder" mode.
+(5) Support CPUs with scalable frequency.
(5) Integrate LTTng and lttd with LKCD.
(6) Add Xen support.
(7) add gcc -finstrument-functions instrumentation
diff --git a/ltt/branches/poly/doc/developer/lttng-userspace-tracing.txt b/ltt/branches/poly/doc/developer/lttng-userspace-tracing.txt index 4bf221c3..beb56cac 100644 --- a/ltt/branches/poly/doc/developer/lttng-userspace-tracing.txt +++ b/ltt/branches/poly/doc/developer/lttng-userspace-tracing.txt @@ -49,7 +49,7 @@ status. My suggestion is to go for a system call, but only call it : - when the thread starts -- when receiving a SIG_UPDTRACING (multithread ?) +- when receiving a SIGRTMIN+3 (multithread ?) Note : save the thread ID (process ID) in the logging function and the update handler. Use it as a comparison to check if we are a forked child thread. @@ -192,18 +192,30 @@ API : syscall 1 : -int update_tracing_info(void *buffer, int *active, int *filter); +in : +buffer : NULL means get new traces + non NULL means to get the information for the specified buffer +out : +buffer : returns the address of the trace buffer +active : is the trace active ? +filter : 32 bits filter mask +return : 0 on success, 1 on error. + +int ltt_update(void **buffer, int *active, int *filter); syscall 2 : -int tracing_buffer_switch(void *buffer); +in : +buffer : Switch the specified buffer. +return : 0 on success, 1 on error. + +int ltt_switch(void *buffer); Signal : -UPD_TRACING -Default : SIG IGNORE +SIGRTMIN+3 (like hardware fault and expiring timer : to the thread, see p. 413 of Advances prog. in the UNIX env.)