Fix: Add statedump exit so module is not permanent
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 11 Feb 2014 23:02:32 +0000 (18:02 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 11 Feb 2014 23:03:02 +0000 (18:03 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lttng-statedump-impl.c

index 7f903a71f1d3d74b1795ff99c2204ed7653d44a2..7dd4f56e936ca0ea4a4bfe73d7b937c4e35437f4 100755 (executable)
@@ -432,6 +432,13 @@ int __init lttng_statedump_init(void)
 
 module_init(lttng_statedump_init);
 
+static
+void __exit lttng_statedump_exit(void)
+{
+}
+
+module_exit(lttng_statedump_exit);
+
 MODULE_LICENSE("GPL and additional rights");
 MODULE_AUTHOR("Jean-Hugues Deschenes");
 MODULE_DESCRIPTION("Linux Trace Toolkit Next Generation Statedump");
This page took 0.026503 seconds and 4 git commands to generate.