projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup: app is never used by alloc_ust_app_session()
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
consumer.c
diff --git
a/src/bin/lttng-sessiond/consumer.c
b/src/bin/lttng-sessiond/consumer.c
index 4a19c93475802af9e4e5f98a37325b1db207a7c4..1ed1d7f81991422f9666541f7c24e85ec5549bf2 100644
(file)
--- a/
src/bin/lttng-sessiond/consumer.c
+++ b/
src/bin/lttng-sessiond/consumer.c
@@
-890,8
+890,7
@@
void consumer_init_ask_channel_comm_msg(struct lttcomm_consumer_msg *msg,
/*
* Init channel communication message structure.
*/
/*
* Init channel communication message structure.
*/
-void consumer_init_channel_comm_msg(struct lttcomm_consumer_msg *msg,
- enum lttng_consumer_command cmd,
+void consumer_init_add_channel_comm_msg(struct lttcomm_consumer_msg *msg,
uint64_t channel_key,
uint64_t session_id,
const char *pathname,
uint64_t channel_key,
uint64_t session_id,
const char *pathname,
@@
-914,7
+913,7
@@
void consumer_init_channel_comm_msg(struct lttcomm_consumer_msg *msg,
memset(msg, 0, sizeof(struct lttcomm_consumer_msg));
/* Send channel */
memset(msg, 0, sizeof(struct lttcomm_consumer_msg));
/* Send channel */
- msg->cmd_type =
cmd
;
+ msg->cmd_type =
LTTNG_CONSUMER_ADD_CHANNEL
;
msg->u.channel.channel_key = channel_key;
msg->u.channel.session_id = session_id;
msg->u.channel.uid = uid;
msg->u.channel.channel_key = channel_key;
msg->u.channel.session_id = session_id;
msg->u.channel.uid = uid;
This page took
0.023536 seconds
and
4
git commands to generate.