*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
+ * as published by the Free Software Foundation; only version 2
+ * of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
#define DEFAULT_GLOBAL_APPS_PIPE DEFAULT_UST_SOCK_DIR "/global"
#define DEFAULT_TRACE_OUTPUT DEFAULT_HOME_DIR "/lttng"
-/*
- * Kernel tracer defines
- */
-#define DEFAULT_KERNEL_TRACER_PATH "/mnt/debugfs/lttng"
+/* LTTng kernel tracer modules list */
+const char *kernel_modules_list[] = {
+ "lib-ring-buffer",
+ "ltt-relay",
+ "ltt-ring-buffer-client-discard",
+ "ltt-ring-buffer-client-overwrite",
+ "ltt-ring-buffer-metadata-client",
+ "ltt-ring-buffer-client-mmap-discard",
+ "ltt-ring-buffer-client-mmap-overwrite",
+ "ltt-ring-buffer-metadata-mmap-client",
+ "lttng-ftrace",
+ "lttng-kprobes",
+ "lttng-probe-block",
+ "lttng-probe-irq",
+ "lttng-probe-kvm",
+ "lttng-probe-lttng",
+ "lttng-probe-sched",
+ "lttng-probe-syscalls",
+ "lttng-types",
+ NULL,
+};
extern const char default_home_dir[],
default_tracing_group[],