X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=src%2Flib%2Flttng-ust%2Flttng-bytecode.c;h=33d50db64f5550adb94dc6ea1d814582fc24862a;hb=8cd08025a83fe1907c6fd04f94c8f9ae362c3da7;hp=68108192d08158ca68e868e76fdcf590778862a5;hpb=6339062a5bbe886493d0691d13e28e37a7206362;p=lttng-ust.git diff --git a/src/lib/lttng-ust/lttng-bytecode.c b/src/lib/lttng-ust/lttng-bytecode.c index 68108192..33d50db6 100644 --- a/src/lib/lttng-ust/lttng-bytecode.c +++ b/src/lib/lttng-ust/lttng-bytecode.c @@ -14,8 +14,9 @@ #include "context-internal.h" #include "lttng-bytecode.h" -#include "ust-events-internal.h" +#include "lib/lttng-ust/events.h" #include "common/macros.h" +#include "common/tracer.h" static const char *opnames[] = { [ BYTECODE_OP_UNKNOWN ] = "UNKNOWN", @@ -179,7 +180,7 @@ int apply_field_reloc(const struct lttng_ust_event_desc *event_desc, const char *field_name, enum bytecode_op bytecode_op) { - const struct lttng_ust_event_field **fields, *field = NULL; + const struct lttng_ust_event_field * const *fields, *field = NULL; unsigned int nr_fields, i; struct load_op *op; uint32_t field_offset = 0;