sessiond: kernel: misleading log message on event rule creation failure
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 9 Feb 2021 21:10:18 +0000 (16:10 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 9 Feb 2021 23:39:30 +0000 (18:39 -0500)
A logging message referring to "triggers" is emitted when failing to
create an event notifier rule in the kernel domain.

The name trigger was left-over since the terminology used to refer to
those internal objects changed.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I6d655093b83110a97cef21d7e917572a35a8c8d7

src/bin/lttng-sessiond/kernel.c

index 3216ffcf519f6fc53749b8a10e13d94db8322ac3..dcd33a1b7df241b5a232f4dbcafee18e9cb771e4 100644 (file)
@@ -2461,7 +2461,7 @@ enum lttng_error_code kernel_register_event_notifier(
 
        ret = kernel_create_event_notifier_rule(trigger, cmd_creds, token);
        if (ret != LTTNG_OK) {
-               ERR("Failed to create kernel trigger");
+               ERR("Failed to create kernel event notifier rule");
        }
 
        return ret;
This page took 0.035435 seconds and 4 git commands to generate.