Rename lttng_abi_create_event to lttng_abi_create_event_recorder_enabler
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 10 Feb 2022 20:53:59 +0000 (15:53 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 15 Jul 2024 20:58:48 +0000 (16:58 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I39b2e288b952e0316b6511f4f79014700cbc42e5

src/lttng-abi.c

index 06b13c6e39830ead5af03fbd5378ee0ccd0b5e14..02eb71a7dbf58c931b55bafe9414257bf3fe8523 100644 (file)
@@ -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:
        {
This page took 0.029306 seconds and 4 git commands to generate.