Configurable kernel module probes support
[lttng-tools.git] / src / common / utils.c
index 9821815ba06298dfbb7e76de02bbc385b9d49d0d..bf93386c46147eca75e33c59a13b9f8214f49ba4 100644 (file)
@@ -869,6 +869,16 @@ end:
        return home_dir;
 }
 
+/*
+ * Obtain the value of LTTNG_KMOD_PROBES environment variable, if exists.
+ * Otherwise returns an empty string.
+ */
+LTTNG_HIDDEN
+char *utils_get_kmod_probes_list(void)
+{
+       return getenv(DEFAULT_LTTNG_KMOD_PROBES);
+}
+
 /*
  * With the given format, fill dst with the time of len maximum siz.
  *
This page took 0.023396 seconds and 4 git commands to generate.