projects
/
deliverable
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Backport: Relayd: introduce --group-output-by-session
[deliverable/lttng-tools.git]
/
src
/
bin
/
lttng-relayd
/
cmd-2-1.c
diff --git
a/src/bin/lttng-relayd/cmd-2-1.c
b/src/bin/lttng-relayd/cmd-2-1.c
index 99aa86668048e719daa4100a09ff425de806dd3a..291e1e3806998afeefee43f32e587f100f3e2ae4 100644
(file)
--- a/
src/bin/lttng-relayd/cmd-2-1.c
+++ b/
src/bin/lttng-relayd/cmd-2-1.c
@@
-32,7
+32,8
@@
* cmd_recv_stream_2_1 allocates path_name and channel_name.
*/
int cmd_recv_stream_2_1(const struct lttng_buffer_view *payload,
* cmd_recv_stream_2_1 allocates path_name and channel_name.
*/
int cmd_recv_stream_2_1(const struct lttng_buffer_view *payload,
- char **ret_path_name, char **ret_channel_name)
+ char **ret_path_name, char **ret_channel_name,
+ struct relay_session *session)
{
int ret;
struct lttcomm_relayd_add_stream stream_info;
{
int ret;
struct lttcomm_relayd_add_stream stream_info;
@@
-55,7
+56,7
@@
int cmd_recv_stream_2_1(const struct lttng_buffer_view *payload,
ERR("Path name too long");
goto error;
}
ERR("Path name too long");
goto error;
}
- path_name = create_output_path(stream_info.pathname);
+ path_name = create_output_path(stream_info.pathname
, session->session_name
);
if (!path_name) {
PERROR("Path name allocation");
ret = -ENOMEM;
if (!path_name) {
PERROR("Path name allocation");
ret = -ENOMEM;
This page took
0.026372 seconds
and
5
git commands to generate.