[lttng-dev] Problem saving session in custom LTTNG_HOME
Shehab Elsayed
shehabyomn at gmail.com
Fri Feb 16 18:10:02 EST 2018
Hi All,
I am running into a problem when setting LTTNG_HOME and trying to save a
session. When I do so, it always ends up saving the session to
$HOME/.lttng/sessions instead of $LTTNG_HOME/.lttng/sessions.
I looked at tools/src/bin/lttng-sessiond/save.c and in the save_session
function it executes this line when there is no provided path
char *home_dir = utils_get_user_home_dir ....
Shouldn't it be calling utils_get_home_dir instead?
When I do change the function, "lttng save" always ends up in an error
of invalid pointer.
Any idea why this might be happening?
Thanks,
Shehab Elsayed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20180216/0e14ab05/attachment.html>
More information about the lttng-dev
mailing list