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
_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Reply via email to