Implement structure, compound array/sequence types
[lttng-modules.git] / lttng-context.c
index 9f5cb249c984a94ea154f0cdc2ee8f3cbf82b069..933732266e9eb076ff26d0adefa1381a351b6399 100644 (file)
@@ -141,6 +141,9 @@ void lttng_context_update(struct lttng_ctx *ctx)
 
                        case atype_array:
                        case atype_sequence:
+                       case atype_struct:
+                       case atype_array_compound:
+                       case atype_sequence_compound:
                        default:
                                WARN_ON_ONCE(1);
                                break;
@@ -160,6 +163,9 @@ void lttng_context_update(struct lttng_ctx *ctx)
                        case atype_string:
                        case atype_array:
                        case atype_sequence:
+                       case atype_struct:
+                       case atype_array_compound:
+                       case atype_sequence_compound:
                        default:
                                WARN_ON_ONCE(1);
                                break;
@@ -178,6 +184,9 @@ void lttng_context_update(struct lttng_ctx *ctx)
 
                        case atype_array:
                        case atype_sequence:
+                       case atype_struct:
+                       case atype_array_compound:
+                       case atype_sequence_compound:
                        default:
                                WARN_ON_ONCE(1);
                                break;
@@ -187,6 +196,11 @@ void lttng_context_update(struct lttng_ctx *ctx)
                case atype_string:
                        break;
 
+               case atype_struct:
+               case atype_array_compound:
+               case atype_sequence_compound:
+                       break;
+
                case atype_enum:
                default:
                        WARN_ON_ONCE(1);
This page took 0.023282 seconds and 4 git commands to generate.