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.3.5~6 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=00d77bc17aa3d17e71585f0c91cd7b8f64d71a3f;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 5b3416ab..7eb78cdd 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)