From: Mathieu Desnoyers Date: Tue, 11 Feb 2014 23:02:32 +0000 (-0500) Subject: Fix: Add statedump exit so module is not permanent X-Git-Tag: v2.3.5~4 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=1d8abf2fe67af7ade5193fec5f38e7cccbc5441e;p=lttng-modules.git Fix: Add statedump exit so module is not permanent Signed-off-by: Mathieu Desnoyers --- diff --git a/lttng-statedump-impl.c b/lttng-statedump-impl.c index ce47f041..35e18a47 100755 --- a/lttng-statedump-impl.c +++ b/lttng-statedump-impl.c @@ -431,6 +431,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");