From: Jérémie Galarneau Date: Tue, 9 Feb 2021 21:10:18 +0000 (-0500) Subject: sessiond: kernel: misleading log message on event rule creation failure X-Git-Tag: v2.13.0-rc1~344 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=124dda43f22f62524ec86e0db478810f8383ae64;p=lttng-tools.git sessiond: kernel: misleading log message on event rule creation failure 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 Change-Id: I6d655093b83110a97cef21d7e917572a35a8c8d7 --- diff --git a/src/bin/lttng-sessiond/kernel.c b/src/bin/lttng-sessiond/kernel.c index 3216ffcf5..dcd33a1b7 100644 --- a/src/bin/lttng-sessiond/kernel.c +++ b/src/bin/lttng-sessiond/kernel.c @@ -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;