X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Ftrace-kernel.c;h=a8aa01b269e9bc05bd4aeb28148899f38a154a06;hb=82b69413fa2d05d8643c4fb900b88f5d41206cfc;hp=dcb1bd647b9a0a622b6cbd39c94979d1e0d30e1a;hpb=dcabc1905756b2999886313ec33705f7571a3fb9;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/trace-kernel.c b/src/bin/lttng-sessiond/trace-kernel.c index dcb1bd647..a8aa01b26 100644 --- a/src/bin/lttng-sessiond/trace-kernel.c +++ b/src/bin/lttng-sessiond/trace-kernel.c @@ -28,6 +28,7 @@ #include #include +#include #include "consumer.h" #include "trace-kernel.h" @@ -328,8 +329,8 @@ enum lttng_error_code trace_kernel_create_event( break; case LTTNG_EVENT_USERSPACE_PROBE: { - struct lttng_userspace_probe_location* location = NULL; - struct lttng_userspace_probe_location_lookup_method *lookup = NULL; + const struct lttng_userspace_probe_location* location = NULL; + const struct lttng_userspace_probe_location_lookup_method *lookup = NULL; location = lttng_event_get_userspace_probe_location(ev); if (!location) {