projects
/
ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add context to both channel and event
[ust.git]
/
libustctl
/
ustctl.c
diff --git
a/libustctl/ustctl.c
b/libustctl/ustctl.c
index 27ba0e5f3fa48f36b6e6c3d32c27237a53d9ca21..429cc445a0333b046eaad68247f188daacf53e1b 100644
(file)
--- a/
libustctl/ustctl.c
+++ b/
libustctl/ustctl.c
@@
-291,7
+291,7
@@
int ustctl_create_event(int sock, struct lttng_ust_event *ev,
}
int ustctl_add_context(int sock, struct lttng_ust_context *ctx,
}
int ustctl_add_context(int sock, struct lttng_ust_context *ctx,
- struct object_data *
channel
_data,
+ struct object_data *
obj
_data,
struct object_data **_context_data)
{
struct ustcomm_ust_msg lum;
struct object_data **_context_data)
{
struct ustcomm_ust_msg lum;
@@
-304,7
+304,7
@@
int ustctl_add_context(int sock, struct lttng_ust_context *ctx,
return -ENOMEM;
init_object(context_data);
memset(&lum, 0, sizeof(lum));
return -ENOMEM;
init_object(context_data);
memset(&lum, 0, sizeof(lum));
- lum.handle =
channel
_data->handle;
+ lum.handle =
obj
_data->handle;
lum.cmd = LTTNG_UST_CONTEXT;
lum.u.context.ctx = ctx->ctx;
ret = ustcomm_send_app_cmd(sock, &lum, &lur);
lum.cmd = LTTNG_UST_CONTEXT;
lum.u.context.ctx = ctx->ctx;
ret = ustcomm_send_app_cmd(sock, &lum, &lur);
This page took
0.022911 seconds
and
4
git commands to generate.