projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: userspace probe accessors are not const-correct
[lttng-tools.git]
/
src
/
lib
/
lttng-ctl
/
event.c
diff --git
a/src/lib/lttng-ctl/event.c
b/src/lib/lttng-ctl/event.c
index 046028cd219a46b25866770c1d8c96b8405092a2..44e4864c02cdb0552663b4a57537df2b3dde75fb 100644
(file)
--- a/
src/lib/lttng-ctl/event.c
+++ b/
src/lib/lttng-ctl/event.c
@@
-197,8
+197,8
@@
end:
return ret;
}
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;
{
struct lttng_userspace_probe_location *probe_location = NULL;
struct lttng_event_extended *event_extended;
This page took
0.02651 seconds
and
4
git commands to generate.