From: Mathieu Desnoyers Date: Sat, 25 Jan 2014 20:58:08 +0000 (-0500) Subject: Fix: tracepoint event name mapping at unregister X-Git-Tag: v2.4.0-rc3~1 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=4fcd3d967a4adc2eaf0cb4aa74c402dcdd58cc3f;p=lttng-modules.git Fix: tracepoint event name mapping at unregister Signed-off-by: Mathieu Desnoyers --- diff --git a/lttng-events.c b/lttng-events.c index f47e9dcf..72646861 100644 --- a/lttng-events.c +++ b/lttng-events.c @@ -519,7 +519,7 @@ int _lttng_event_unregister(struct lttng_event *event) switch (event->instrumentation) { case LTTNG_KERNEL_TRACEPOINT: - ret = kabi_2635_tracepoint_probe_unregister(event->desc->name, + ret = kabi_2635_tracepoint_probe_unregister(event->desc->kname, event->desc->probe_callback, event); if (ret)