projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Modernize README using Markdown
[lttng-ust.git]
/
liblttng-ust-ctl
/
ustctl.c
diff --git
a/liblttng-ust-ctl/ustctl.c
b/liblttng-ust-ctl/ustctl.c
index 854d8ae391d25c43a2179193c99dc398a9ee7ef4..49ae3e6cf94dfc12f6ae32c176841d8a8e71cc79 100644
(file)
--- a/
liblttng-ust-ctl/ustctl.c
+++ b/
liblttng-ust-ctl/ustctl.c
@@
-230,7
+230,7
@@
int ustctl_add_context(int sock, struct lttng_ust_context *ctx,
memset(&lum, 0, sizeof(lum));
lum.handle = obj_data->handle;
lum.cmd = LTTNG_UST_CONTEXT;
memset(&lum, 0, sizeof(lum));
lum.handle = obj_data->handle;
lum.cmd = LTTNG_UST_CONTEXT;
- lum.u.context
.ctx = ctx->
ctx;
+ lum.u.context
= *
ctx;
ret = ustcomm_send_app_cmd(sock, &lum, &lur);
if (ret) {
free(context_data);
ret = ustcomm_send_app_cmd(sock, &lum, &lur);
if (ret) {
free(context_data);
@@
-294,7
+294,7
@@
int ustctl_set_exclusion(int sock, struct lttng_ust_event_exclusion *exclusion,
return ret;
}
return ret;
}
- /* send var len
bytecode
*/
+ /* send var len
exclusion names
*/
ret = ustcomm_send_unix_sock(sock,
exclusion->names,
exclusion->count * LTTNG_UST_SYM_NAME_LEN);
ret = ustcomm_send_unix_sock(sock,
exclusion->names,
exclusion->count * LTTNG_UST_SYM_NAME_LEN);
This page took
0.024922 seconds
and
4
git commands to generate.