Fix: section mismatch warning caused by __exit annotation
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Tue, 7 Mar 2017 14:12:31 +0000 (09:12 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 7 Mar 2017 14:17:05 +0000 (09:17 -0500)
lttng_logger_exit is used in a non-exit function so it should not be
annotated with `__exit`.

Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
probes/lttng.c

index 58aa51548d2c1baa00f481d9d43dc3cd4e22870b..8810fa223893b302b5e0b7c42426e9e2748c1cd4 100644 (file)
@@ -129,7 +129,7 @@ error:
        return ret;
 }
 
-void __exit lttng_logger_exit(void)
+void lttng_logger_exit(void)
 {
        __lttng_events_exit__lttng();
        if (lttng_logger_dentry)
This page took 0.025433 seconds and 4 git commands to generate.