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);
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));