projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add utils.c and recursive mkdir function
[lttng-tools.git]
/
ltt-sessiond
/
kernel-ctl.c
diff --git
a/ltt-sessiond/kernel-ctl.c
b/ltt-sessiond/kernel-ctl.c
index 95463aa50fc96c6d6dfc67b8837fc08daa507dbf..02b01414a4f76296cb4a9b97a2fd7661dbe9aab7 100644
(file)
--- a/
ltt-sessiond/kernel-ctl.c
+++ b/
ltt-sessiond/kernel-ctl.c
@@
-491,8
+491,8
@@
int kernel_open_channel_stream(struct ltt_kernel_channel *channel)
perror("fcntl session fd");
}
perror("fcntl session fd");
}
- ret = asprintf(&lks->pathname, "%s/
trace
_%d",
- channel->pathname, channel->stream_count);
+ ret = asprintf(&lks->pathname, "%s/
%s
_%d",
+ channel->pathname, channel->
channel->name, channel->
stream_count);
if (ret < 0) {
perror("asprintf kernel create stream");
goto error;
if (ret < 0) {
perror("asprintf kernel create stream");
goto error;
This page took
0.023685 seconds
and
4
git commands to generate.