Fix: missing value handling for lttng_event_context_type
[lttng-tools.git] / src / common / mi-lttng.c
index 9c1597b363f67a7ed230443160f81a434f6dea35..f0244d9fdd46d012dee437f335b495a6a8b188cf 100644 (file)
@@ -375,6 +375,14 @@ const char *mi_lttng_event_contexttype_string(enum lttng_event_context_type val)
                return config_event_context_hostname;
        case LTTNG_EVENT_CONTEXT_IP:
                return config_event_context_ip;
+       case LTTNG_EVENT_CONTEXT_INTERRUPTIBLE:
+               return config_event_context_interruptible;
+       case LTTNG_EVENT_CONTEXT_PREEMPTIBLE:
+               return config_event_context_preemptible;
+       case LTTNG_EVENT_CONTEXT_NEED_RESCHEDULE:
+               return config_event_context_need_reschedule;
+       case LTTNG_EVENT_CONTEXT_MIGRATABLE:
+               return config_event_context_migratable;
        default:
                return NULL;
        }
This page took 0.024246 seconds and 5 git commands to generate.