common: Add index allocator for error counters
[lttng-tools.git] / src / bin / lttng-sessiond / client.c
index 00b5ec7e4ab7bb4db6a67c0c32855d2e77236162..770a2ee4464f0b6962b9bd731095823b1feb9021 100644 (file)
@@ -1556,7 +1556,7 @@ error_add_context:
        {
                struct lttng_event *ev = NULL;
                struct lttng_event_exclusion *exclusion = NULL;
-               struct lttng_filter_bytecode *bytecode = NULL;
+               struct lttng_bytecode *bytecode = NULL;
                char *filter_expression = NULL;
 
                /* Handle exclusion events and receive it from the client. */
@@ -2618,7 +2618,10 @@ static void *thread_manage_clients(void *data)
                }
 
                if (ret < LTTNG_OK || ret >= LTTNG_ERR_NR) {
-                       WARN("Command returned an invalid status code, returning unknown error: command type = %d, ret = %d", cmd_ctx.lsm.cmd_type, ret);
+                       WARN("Command returned an invalid status code, returning unknown error: "
+                                       "command type = %s (%d), ret = %d",
+                                       lttcomm_sessiond_command_str(cmd_ctx.lsm.cmd_type),
+                                       cmd_ctx.lsm.cmd_type, ret);
                        ret = LTTNG_ERR_UNK;
                }
 
This page took 0.025682 seconds and 4 git commands to generate.