Cleanup: remove kprobes/kretprobes/uprobes unused exports
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 22 Feb 2022 16:59:09 +0000 (11:59 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 15 Jul 2024 20:58:48 +0000 (16:58 -0400)
Can be removed now that those are embedded in the tracer core.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I14f4b011c562d7a2e669749159fda23ee964554f

src/lttng-kprobes.c
src/lttng-kretprobes.c
src/lttng-uprobes.c

index bb6decc084181a670c698236ab8cf2b21bdbb822..11d1d35cd1db520a5617ed29b6810d2f52abb757 100644 (file)
@@ -221,13 +221,11 @@ register_error:
 error:
        return ret;
 }
-EXPORT_SYMBOL_GPL(lttng_kprobes_register_event);
 
 void lttng_kprobes_unregister_event(struct lttng_kernel_event_common *event)
 {
        unregister_kprobe(&event->priv->u.kprobe.kp);
 }
-EXPORT_SYMBOL_GPL(lttng_kprobes_unregister_event);
 
 void lttng_kprobes_destroy_event_private(struct lttng_kernel_event_common *event)
 {
@@ -235,7 +233,6 @@ void lttng_kprobes_destroy_event_private(struct lttng_kernel_event_common *event
        kfree(event->priv->desc->event_name);
        kfree(event->priv->desc);
 }
-EXPORT_SYMBOL_GPL(lttng_kprobes_destroy_event_private);
 
 MODULE_LICENSE("GPL and additional rights");
 MODULE_AUTHOR("Mathieu Desnoyers <mathieu.desnoyers@efficios.com>");
index 55866a82d7787e932589841cc1426970e458dddb..b1f4f7f805d5d6fec6b33c2ff74f6903fcc70e32 100644 (file)
@@ -274,7 +274,6 @@ event_exit_error:
 error:
        return ret;
 }
-EXPORT_SYMBOL_GPL(lttng_kretprobes_register);
 
 static
 void _lttng_kretprobes_unregister_release(struct kref *kref)
@@ -289,7 +288,6 @@ void lttng_kretprobes_unregister(struct lttng_kernel_event_common *event)
        kref_put(&event->priv->u.kretprobe.lttng_krp->kref_register,
                _lttng_kretprobes_unregister_release);
 }
-EXPORT_SYMBOL_GPL(lttng_kretprobes_unregister);
 
 static
 void _lttng_kretprobes_release(struct kref *kref)
@@ -306,7 +304,6 @@ void lttng_kretprobes_destroy_private(struct lttng_kernel_event_common *event)
        kref_put(&event->priv->u.kretprobe.lttng_krp->kref_alloc,
                _lttng_kretprobes_release);
 }
-EXPORT_SYMBOL_GPL(lttng_kretprobes_destroy_private);
 
 int lttng_kretprobes_event_enable_state(struct lttng_kernel_event_common *event,
                int enable)
@@ -326,7 +323,6 @@ int lttng_kretprobes_event_enable_state(struct lttng_kernel_event_common *event,
        WRITE_ONCE(event_exit->enabled, enable);
        return 0;
 }
-EXPORT_SYMBOL_GPL(lttng_kretprobes_event_enable_state);
 
 MODULE_LICENSE("GPL and additional rights");
 MODULE_AUTHOR("Mathieu Desnoyers <mathieu.desnoyers@efficios.com>");
index bf4305f37fe77b1753ef3bb38551b9514b4b6e77..63a6595f1b66b02dc0c7d853bf9b2f202805e541 100644 (file)
@@ -255,7 +255,6 @@ int lttng_uprobes_event_add_callsite(struct lttng_kernel_event_common *event,
        return lttng_uprobes_add_callsite(&event->priv->u.uprobe, callsite,
                lttng_uprobes_event_handler_pre, event);
 }
-EXPORT_SYMBOL_GPL(lttng_uprobes_event_add_callsite);
 
 static
 int lttng_uprobes_register(struct lttng_uprobe *uprobe, int fd)
@@ -296,7 +295,6 @@ register_error:
 error:
        return ret;
 }
-EXPORT_SYMBOL_GPL(lttng_uprobes_register_event);
 
 static
 void lttng_uprobes_unregister(struct inode *inode, struct list_head *head)
@@ -318,7 +316,6 @@ void lttng_uprobes_unregister_event(struct lttng_kernel_event_common *event)
 {
        lttng_uprobes_unregister(event->priv->u.uprobe.inode, &event->priv->u.uprobe.head);
 }
-EXPORT_SYMBOL_GPL(lttng_uprobes_unregister_event);
 
 void lttng_uprobes_destroy_event_private(struct lttng_kernel_event_common *event)
 {
@@ -326,7 +323,6 @@ void lttng_uprobes_destroy_event_private(struct lttng_kernel_event_common *event
        kfree(event->priv->desc->event_name);
        kfree(event->priv->desc);
 }
-EXPORT_SYMBOL_GPL(lttng_uprobes_destroy_event_private);
 
 MODULE_LICENSE("GPL and additional rights");
 MODULE_AUTHOR("Yannick Brosseau");
This page took 0.028593 seconds and 4 git commands to generate.