lttng-tools.git
13 years agoAdd listing session option
David Goulet [Thu, 21 Apr 2011 18:50:18 +0000 (14:50 -0400)] 
Add listing session option

The lttng client can now list available sessions using the liblttngctl
API and session daemon support.

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
13 years agoReplace daemonize function by std glibc daemon()
David Goulet [Thu, 21 Apr 2011 16:31:00 +0000 (12:31 -0400)] 
Replace daemonize function by std glibc daemon()

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
13 years agoAdd support for session daemon auto spawn
David Goulet [Tue, 19 Apr 2011 16:41:02 +0000 (12:41 -0400)] 
Add support for session daemon auto spawn

The lttng tool now spawns a session daemon if no ltt-sessiond is
running. Two new options added to control this behavior.

Introduce --sessiond-path and --no-sessiond to lttng command line tool.

Add --sig-parent to ltt-sessiond that sends a SIGCHLD to the parent pid
when the daemon is ready to process client command.

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
13 years agoMinor fix for ERR() call in lttng
David Goulet [Wed, 20 Apr 2011 19:56:29 +0000 (15:56 -0400)] 
Minor fix for ERR() call in lttng

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
13 years agoChange client message processing
David Goulet [Wed, 20 Apr 2011 19:33:23 +0000 (15:33 -0400)] 
Change client message processing

ltt-sessiond can now send multiple response to the client for only one
command.

The list traceable apps command was modified accordingly to that
modification and now send one response per pid.

The liblttnctl was also changed to handle multiple reply and the
recvfrom_sessiond internal function is added removing the recv from the
ask_sessiond() function. Fine grained control helps.

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
13 years agoMinor code cleanup
Mathieu Desnoyers [Wed, 13 Apr 2011 21:56:21 +0000 (17:56 -0400)] 
Minor code cleanup

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoCopyright notices cleanup
Mathieu Desnoyers [Wed, 13 Apr 2011 21:39:52 +0000 (17:39 -0400)] 
Copyright notices cleanup

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoInitial import
David Goulet [Wed, 13 Apr 2011 20:15:24 +0000 (16:15 -0400)] 
Initial import

This is the first import of the lttng-tools tree.

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
This page took 0.026569 seconds and 4 git commands to generate.