sessiond: action-executor: log trigger name rather than its address
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 11 Feb 2021 16:43:51 +0000 (11:43 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 11 Feb 2021 16:43:55 +0000 (11:43 -0500)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: If262ee1d77bc0ea5d7c1c7dc7de286f5047d35f2

src/bin/lttng-sessiond/action-executor.c

index 418a6de75f6e23edf28dd668aa75b1240a89d54e..8f8bae406c8994db1577f8ce455bb71163784cb6 100644 (file)
@@ -425,9 +425,9 @@ static int action_executor_snapshot_session_handler(struct action_executor *exec
        session_lock_list();
        session = session_find_by_name(session_name);
        if (!session) {
-               DBG("Failed to find session `%s` by name while executing `%s` action of trigger `%p`",
+               DBG("Failed to find session `%s` by name while executing `%s` action of trigger `%s`",
                                session_name, get_action_name(action),
-                   work_item->trigger);
+                               get_trigger_name(work_item->trigger));
                goto error_unlock_list;
        }
 
This page took 0.026199 seconds and 4 git commands to generate.