projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Using LTTNG_HOME environment variable if exists, with fallback to HOME
[lttng-tools.git]
/
src
/
bin
/
lttng
/
utils.c
diff --git
a/src/bin/lttng/utils.c
b/src/bin/lttng/utils.c
index 94c4527d97ff293029f99dbdca79e3cbf6956caa..6041655ddda0f6eb42de5b829cb29688c11f1a24 100644
(file)
--- a/
src/bin/lttng/utils.c
+++ b/
src/bin/lttng/utils.c
@@
-21,6
+21,7
@@
#include <limits.h>
#include <common/error.h>
#include <limits.h>
#include <common/error.h>
+#include <common/utils.h>
#include "conf.h"
#include "utils.h"
#include "conf.h"
#include "utils.h"
@@
-36,7
+37,7
@@
char *get_session_name(void)
char *path, *session_name = NULL;
/* Get path to config file */
char *path, *session_name = NULL;
/* Get path to config file */
- path =
config_get_default_path
();
+ path =
utils_get_home_dir
();
if (path == NULL) {
goto error;
}
if (path == NULL) {
goto error;
}
This page took
0.023731 seconds
and
4
git commands to generate.