From 32fe46fb8640cf2e50103ba2f2efd1ef5c245eaf Mon Sep 17 00:00:00 2001 From: Francis Deslauriers Date: Tue, 7 Mar 2017 09:12:31 -0500 Subject: [PATCH] Fix: section mismatch warning caused by __exit annotation lttng_logger_exit is used in a non-exit function so it should not be annotated with `__exit`. Signed-off-by: Francis Deslauriers Signed-off-by: Mathieu Desnoyers --- probes/lttng.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/probes/lttng.c b/probes/lttng.c index 58aa5154..8810fa22 100644 --- a/probes/lttng.c +++ b/probes/lttng.c @@ -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) -- 2.34.1