X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=liblttng-ust%2Flttng-bytecode.h;h=04dd2520205e47c8e570b3c8b08e55bd286b9d72;hb=e016c06adf51c2e213303343026c2b5d3d7776e1;hp=180dfbda0934bf845d9e2f2259d0bcf7914c0996;hpb=ddabe860f4cf41a4206a8157d83e6b9354f85cb5;p=lttng-ust.git diff --git a/liblttng-ust/lttng-bytecode.h b/liblttng-ust/lttng-bytecode.h index 180dfbda..04dd2520 100644 --- a/liblttng-ust/lttng-bytecode.h +++ b/liblttng-ust/lttng-bytecode.h @@ -119,7 +119,7 @@ struct bytecode_get_index_data { * interpreter needs to find it from the event fields and types to * support variants. */ - const struct lttng_ust_event_field *field; + struct lttng_ust_event_field *field; struct { size_t len; enum object_type type; @@ -131,7 +131,7 @@ struct bytecode_get_index_data { struct vstack_load { enum load_type type; enum object_type object_type; - const struct lttng_ust_event_field *field; + struct lttng_ust_event_field *field; bool rev_bo; /* reverse byte order */ }; @@ -309,7 +309,7 @@ struct lttng_interpreter_output { size_t nr_elem; /* Inner type. */ - const struct lttng_type *nested_type; + struct lttng_ust_type_common *nested_type; } sequence; } u; }; @@ -327,7 +327,7 @@ __attribute__((visibility("hidden"))) int lttng_bytecode_validate(struct bytecode_runtime *bytecode); __attribute__((visibility("hidden"))) -int lttng_bytecode_specialize(const struct lttng_ust_event_desc *event_desc, +int lttng_bytecode_specialize(struct lttng_ust_event_desc *event_desc, struct bytecode_runtime *bytecode); __attribute__((visibility("hidden")))