Fix: use utils_get_home_dir for anonymous trace chunk path
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Mon, 12 Aug 2019 21:30:45 +0000 (17:30 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 5 Sep 2019 20:39:15 +0000 (16:39 -0400)
commitcc871152d000c06fa7a7e6e75559f1147bf72e70
tree3d1c8645c98ef1cd3f5ae8459ced596a5d530d42
parente00dde93876c77bac548139070fadd1484ff363f
Fix: use utils_get_home_dir for anonymous trace chunk path

The default behaviour of lttng_directory_handle_init will set
the current working directory if opt_output_path is null.

Instead we want to honour LTTNG_HOME/HOME.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-relayd/session.c
This page took 0.024718 seconds and 4 git commands to generate.