X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Flib%2Flttng-ctl%2Fevent.c;h=44e4864c02cdb0552663b4a57537df2b3dde75fb;hp=046028cd219a46b25866770c1d8c96b8405092a2;hb=87597c2c3bbaa1502ad2025cbf16704829f3b464;hpb=abcc74facc86124042abdb9fd4391b6eadda2b9e diff --git a/src/lib/lttng-ctl/event.c b/src/lib/lttng-ctl/event.c index 046028cd2..44e4864c0 100644 --- a/src/lib/lttng-ctl/event.c +++ b/src/lib/lttng-ctl/event.c @@ -197,8 +197,8 @@ end: return ret; } -struct lttng_userspace_probe_location * -lttng_event_get_userspace_probe_location(struct lttng_event *event) +const struct lttng_userspace_probe_location * +lttng_event_get_userspace_probe_location(const struct lttng_event *event) { struct lttng_userspace_probe_location *probe_location = NULL; struct lttng_event_extended *event_extended;