sequence and variant types: use previous field for length/tag if NULL
[lttng-modules.git] / include / instrumentation / syscalls / headers / syscalls_pointers_override.h
index 2b4918104e24990597f8881f1eda099e056b2824..cbd226aa454a7ff93d7155045488d3c15a6d11b6 100644 (file)
@@ -306,8 +306,7 @@ end:        ; /* Label at end of compound statement. */                                     \
        )                                                                                               \
        ctf_custom_field(                                                                               \
                ctf_custom_type(                                                                        \
-                       lttng_kernel_static_type_sequence(                                              \
-                               "_" #name "_length",                                                    \
+                       lttng_kernel_static_type_sequence(NULL,                                         \
                                lttng_kernel_static_type_integer_from_type(uint8_t, __BYTE_ORDER, 16),  \
                                0,                                                                      \
                                none)                                                                   \
@@ -352,7 +351,7 @@ end:        ; /* Label at end of compound statement. */                                     \
        )                                                                                               \
        ctf_custom_field(                                                                               \
                ctf_custom_type(                                                                        \
-                       lttng_kernel_static_type_sequence("_" #name "_length",                          \
+                       lttng_kernel_static_type_sequence(NULL,                                         \
                                lttng_kernel_static_type_integer_from_type(uint8_t, __BYTE_ORDER, 16),  \
                                0,                                                                      \
                                none)                                                                   \
This page took 0.024821 seconds and 4 git commands to generate.