projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sessiond: Add --extra-kmod-probes option
[lttng-tools.git]
/
src
/
common
/
utils.c
diff --git
a/src/common/utils.c
b/src/common/utils.c
index ff6d1c22337200e69e24807b1c871530ce6ea09e..1d07cb31cc01511aedb781124de609277410075d 100644
(file)
--- a/
src/common/utils.c
+++ b/
src/common/utils.c
@@
-927,7
+927,7
@@
end:
/*
* Obtain the value of LTTNG_KMOD_PROBES environment variable, if exists.
/*
* Obtain the value of LTTNG_KMOD_PROBES environment variable, if exists.
- * Otherwise returns
an empty string
.
+ * Otherwise returns
NULL
.
*/
LTTNG_HIDDEN
char *utils_get_kmod_probes_list(void)
*/
LTTNG_HIDDEN
char *utils_get_kmod_probes_list(void)
@@
-935,6
+935,16
@@
char *utils_get_kmod_probes_list(void)
return getenv(DEFAULT_LTTNG_KMOD_PROBES);
}
return getenv(DEFAULT_LTTNG_KMOD_PROBES);
}
+/*
+ * Obtain the value of LTTNG_EXTRA_KMOD_PROBES environment variable, if
+ * exists. Otherwise returns NULL.
+ */
+LTTNG_HIDDEN
+char *utils_get_extra_kmod_probes_list(void)
+{
+ return getenv(DEFAULT_LTTNG_EXTRA_KMOD_PROBES);
+}
+
/*
* With the given format, fill dst with the time of len maximum siz.
*
/*
* With the given format, fill dst with the time of len maximum siz.
*
This page took
0.023761 seconds
and
4
git commands to generate.