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.2.4~2 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=df56ddd82ae3886325f93be0dfb01760280e6e02;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 7f903a71..7dd4f56e 100755 --- a/lttng-statedump-impl.c +++ b/lttng-statedump-impl.c @@ -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");