From: Mathieu Desnoyers Date: Sat, 6 Aug 2011 05:50:23 +0000 (-0400) Subject: Fix module unload order X-Git-Tag: v2.0-pre7~6 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=d2abc4ee14cc1bb86ffa6cd024f18a671de8a32c Fix module unload order Signed-off-by: Mathieu Desnoyers --- diff --git a/ltt-sessiond/ltt-sessiond.h b/ltt-sessiond/ltt-sessiond.h index 0882d40a8..febc4eb12 100644 --- a/ltt-sessiond/ltt-sessiond.h +++ b/ltt-sessiond/ltt-sessiond.h @@ -31,13 +31,11 @@ struct module_param { /* LTTng kernel tracer modules list */ const struct module_param kernel_modules_list[] = { - /* used by ltt-relay, unload last */ + { "ltt-relay", 1 }, { "lttng-ftrace", 0 }, { "lttng-kprobes", 0 }, { "lttng-kretprobes", 0 }, - { "lib-ring-buffer", 1 }, - { "ltt-relay", 1 }, { "ltt-ring-buffer-client-discard", 1 }, { "ltt-ring-buffer-client-overwrite", 1 }, { "ltt-ring-buffer-metadata-client", 1 },