]> git.lttng.org Git - lttng-tools.git/commitdiff
Fix: uprobe event-rule: logging mentions pattern instead of name
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 15 Nov 2024 14:38:09 +0000 (09:38 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 22 Nov 2024 20:32:54 +0000 (20:32 +0000)
A uprobe event rule names a new event; it does not match existing
events. Thus, it doesn't make sense to use the "pattern" terminology
used by some other event rule types.

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

src/common/event-rule/kernel-uprobe.cpp

index 6e750576cf1e69040a441c9e61e66f381de8da01..0e078211db5bde7faca6154ab236b7688f4dbc26 100644 (file)
@@ -46,7 +46,7 @@ static bool lttng_event_rule_kernel_uprobe_validate(const struct lttng_event_rul
 
        /* Required field. */
        if (!uprobe->name) {
-               ERR("Invalid uprobe event rule: a pattern must be set.");
+               ERR("Invalid uprobe event rule: an event name must be set.");
                goto end;
        }
 
This page took 0.02948 seconds and 4 git commands to generate.