X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fmi-lttng.c;h=69b3cc041de0d42c44333d7ab8c84d5ff7e52473;hp=0191cbd0f6d09f7e6c83db096027f209c7f91795;hb=87597c2c3bbaa1502ad2025cbf16704829f3b464;hpb=272839375cd306a6a824bab1018655a65b39fd9d diff --git a/src/common/mi-lttng.c b/src/common/mi-lttng.c index 0191cbd0f..69b3cc041 100644 --- a/src/common/mi-lttng.c +++ b/src/common/mi-lttng.c @@ -1280,8 +1280,8 @@ int mi_lttng_event_userspace_probe(struct mi_writer *writer, struct lttng_event *event) { int ret; - struct lttng_userspace_probe_location *location; - struct lttng_userspace_probe_location_lookup_method *lookup_method; + const struct lttng_userspace_probe_location *location; + const struct lttng_userspace_probe_location_lookup_method *lookup_method; enum lttng_userspace_probe_location_lookup_method_type lookup_type; location = lttng_event_get_userspace_probe_location(event);