X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Flttng-events.c;h=41bbd7098ddae75f57c7df7a9ee61bddbc0f1258;hb=8bf17deb525927d1191c59a1765d5b11b37c4320;hp=1338f1295e268ab6a2a150ec7346c5a59d1cf9ec;hpb=b01155bac7199bfef02b9bc06e85421c28859626;p=lttng-modules.git diff --git a/src/lttng-events.c b/src/lttng-events.c index 1338f129..41bbd709 100644 --- a/src/lttng-events.c +++ b/src/lttng-events.c @@ -838,7 +838,7 @@ struct lttng_event *_lttng_event_create(struct lttng_channel *chan, * registration. */ smp_wmb(); - ret = lttng_kprobes_register(event_name, + ret = lttng_kprobes_register_event(event_name, event_param->u.kprobe.symbol_name, event_param->u.kprobe.offset, event_param->u.kprobe.addr, @@ -1163,7 +1163,7 @@ int _lttng_event_unregister(struct lttng_event *event) event); break; case LTTNG_KERNEL_KPROBE: - lttng_kprobes_unregister(event); + lttng_kprobes_unregister_event(event); ret = 0; break; case LTTNG_KERNEL_KRETPROBE: @@ -1262,7 +1262,7 @@ void _lttng_event_destroy(struct lttng_event *event) break; case LTTNG_KERNEL_KPROBE: module_put(event->desc->owner); - lttng_kprobes_destroy_private(event); + lttng_kprobes_destroy_event_private(event); break; case LTTNG_KERNEL_KRETPROBE: module_put(event->desc->owner);