Fix: auto load session in the auto/ directory
authorDavid Goulet <dgoulet@efficios.com>
Thu, 26 Jun 2014 19:41:42 +0000 (15:41 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Wed, 9 Jul 2014 17:39:38 +0000 (13:39 -0400)
commitab38c13fcac04787654a446443d562770af9d602
tree0cae9d16469811033046939c4cd1b27715ba4b61
parentbf102181f086ebabec996ee7dda01d3dcd131d02
Fix: auto load session in the auto/ directory

The session daemon will now automatically load sessions from the auto/
directory in the session config path. Both system config path and home
config path are used. The session is only loaded if the UID of the
session file matches the UID of the session daemon (or root).

For that, a autoload parameter has been added to the
config_load_session() function to indicate that we want to auto load
sessions.

Fixes #812

Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-sessiond/load-session-thread.c
src/bin/lttng/commands/load.c
src/common/config/config.c
src/common/config/config.h
src/common/defaults.h
src/lib/lttng-ctl/load.c
This page took 0.029292 seconds and 5 git commands to generate.