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) {