From: Mathieu Desnoyers Date: Thu, 10 Feb 2022 20:53:59 +0000 (-0500) Subject: Rename lttng_abi_create_event to lttng_abi_create_event_recorder_enabler X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=6674c9bd9ebd6c7231245aa0f5b13eac095da0ae;p=lttng-modules.git Rename lttng_abi_create_event to lttng_abi_create_event_recorder_enabler Signed-off-by: Mathieu Desnoyers Change-Id: I39b2e288b952e0316b6511f4f79014700cbc42e5 --- diff --git a/src/lttng-abi.c b/src/lttng-abi.c index 06b13c6e..02eb71a7 100644 --- a/src/lttng-abi.c +++ b/src/lttng-abi.c @@ -1815,7 +1815,7 @@ int lttng_abi_validate_event_param(struct lttng_kernel_abi_event *event_param) } static -int lttng_abi_create_event(struct file *channel_file, +int lttng_abi_create_event_recorder_enabler(struct file *channel_file, struct lttng_kernel_abi_event *event_param) { const struct file_operations *fops; @@ -2458,7 +2458,7 @@ long lttng_channel_ioctl(struct file *file, unsigned int cmd, unsigned long arg) default: break; } - ret = lttng_abi_create_event(file, uevent_param); + ret = lttng_abi_create_event_recorder_enabler(file, uevent_param); old_event_error_free_old_param: kfree(old_uevent_param); @@ -2475,7 +2475,7 @@ old_event_end: (struct lttng_kernel_abi_event __user *) arg, sizeof(uevent_param))) return -EFAULT; - return lttng_abi_create_event(file, &uevent_param); + return lttng_abi_create_event_recorder_enabler(file, &uevent_param); } case LTTNG_KERNEL_ABI_OLD_CONTEXT: {