projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: Discard disable event command filter payload
[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 628201e07c0f4477eafb1079a5cd96cf0677ecee..87d5f34387befba860e31feefe0059a9c8c12f9b 100644
(file)
--- a/
src/bin/lttng-sessiond/consumer.c
+++ b/
src/bin/lttng-sessiond/consumer.c
@@
-802,6
+802,7
@@
void consumer_init_ask_channel_comm_msg(struct lttcomm_consumer_msg *msg,
uint64_t session_id_per_pid,
unsigned int monitor,
uint32_t ust_app_uid,
uint64_t session_id_per_pid,
unsigned int monitor,
uint32_t ust_app_uid,
+ const char *root_shm_path,
const char *shm_path)
{
assert(msg);
const char *shm_path)
{
assert(msg);
@@
-841,6
+842,11
@@
void consumer_init_ask_channel_comm_msg(struct lttcomm_consumer_msg *msg,
strncpy(msg->u.ask_channel.name, name, sizeof(msg->u.ask_channel.name));
msg->u.ask_channel.name[sizeof(msg->u.ask_channel.name) - 1] = '\0';
strncpy(msg->u.ask_channel.name, name, sizeof(msg->u.ask_channel.name));
msg->u.ask_channel.name[sizeof(msg->u.ask_channel.name) - 1] = '\0';
+ if (root_shm_path) {
+ strncpy(msg->u.ask_channel.root_shm_path, root_shm_path,
+ sizeof(msg->u.ask_channel.root_shm_path));
+ msg->u.ask_channel.root_shm_path[sizeof(msg->u.ask_channel.root_shm_path) - 1] = '\0';
+ }
if (shm_path) {
strncpy(msg->u.ask_channel.shm_path, shm_path,
sizeof(msg->u.ask_channel.shm_path));
if (shm_path) {
strncpy(msg->u.ask_channel.shm_path, shm_path,
sizeof(msg->u.ask_channel.shm_path));
This page took
0.024546 seconds
and
4
git commands to generate.