X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=liblttng-ust%2Fevent-notifier-notification.c;h=b3e2c94f1bd7a2d7180ad64256bcb325ea393e85;hb=4e48b5d;hp=422233265944f0dc991a90110f5027dabd508358;hpb=9af5d97a36b0cd4ed5d5868855f03c810d171aad;p=lttng-ust.git diff --git a/liblttng-ust/event-notifier-notification.c b/liblttng-ust/event-notifier-notification.c index 42223326..b3e2c94f 100644 --- a/liblttng-ust/event-notifier-notification.c +++ b/liblttng-ust/event-notifier-notification.c @@ -14,6 +14,7 @@ #include #include +#include "lttng-tracer-core.h" #include "ust-events-internal.h" #include "../libmsgpack/msgpack.h" #include "lttng-bytecode.h" @@ -63,7 +64,7 @@ void capture_enum(struct lttng_msgpack_writer *writer, static int64_t capture_sequence_element_signed(uint8_t *ptr, - struct lttng_ust_type_integer *integer_type) + const struct lttng_ust_type_integer *integer_type) { int64_t value; unsigned int size = integer_type->size; @@ -112,7 +113,7 @@ int64_t capture_sequence_element_signed(uint8_t *ptr, static uint64_t capture_sequence_element_unsigned(uint8_t *ptr, - struct lttng_ust_type_integer *integer_type) + const struct lttng_ust_type_integer *integer_type) { uint64_t value; unsigned int size = integer_type->size; @@ -163,8 +164,8 @@ static void capture_sequence(struct lttng_msgpack_writer *writer, struct lttng_interpreter_output *output) { - struct lttng_ust_type_integer *integer_type; - struct lttng_ust_type_common *nested_type; + const struct lttng_ust_type_integer *integer_type; + const struct lttng_ust_type_common *nested_type; uint8_t *ptr; bool signedness; int i;