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>
Thu, 10 Jul 2014 14:52:17 +0000 (10:52 -0400)
commit13b5639ddc159b1a0396ae0bbca3674192107ed4
tree5f1727972fd4ddd0f67b2a3d9ef881b44ada5895
parente4b5eb8a2efd2fcfb031c8d14402f563dcb7f9ae
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.02659 seconds and 4 git commands to generate.