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
/
bin
/
lttng-sessiond
/
main.c
diff --git
a/src/bin/lttng-sessiond/main.c
b/src/bin/lttng-sessiond/main.c
index 958aa0d04f0830385b9ad215fb38219489ce0847..ee50db21e38b2c29a400b1ccec0065f72f28900c 100644
(file)
--- a/
src/bin/lttng-sessiond/main.c
+++ b/
src/bin/lttng-sessiond/main.c
@@
-2937,7
+2937,7
@@
static int receive_userspace_probe(struct command_ctx *cmd_ctx, int sock,
{
int fd, ret;
struct lttng_userspace_probe_location *probe_location;
{
int fd, ret;
struct lttng_userspace_probe_location *probe_location;
- struct lttng_userspace_probe_location_lookup_method *lookup = NULL;
+
const
struct lttng_userspace_probe_location_lookup_method *lookup = NULL;
struct lttng_dynamic_buffer probe_location_buffer;
struct lttng_buffer_view buffer_view;
struct lttng_dynamic_buffer probe_location_buffer;
struct lttng_buffer_view buffer_view;
This page took
0.023914 seconds
and
5
git commands to generate.