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.2.4~4 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=75b37e1061cfe57a50b9ca7cbf40f6e53ec9d1c2;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 285c73bc..246540e2 100644 --- a/lttng-events.c +++ b/lttng-events.c @@ -430,7 +430,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)