projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: remove unused path variables from session obj
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
kernel.c
diff --git
a/src/bin/lttng-sessiond/kernel.c
b/src/bin/lttng-sessiond/kernel.c
index d3a64537546406a8a30bb161e244b45858897c78..856d4231004b02c558ea32f7cc86a7e315734331 100644
(file)
--- a/
src/bin/lttng-sessiond/kernel.c
+++ b/
src/bin/lttng-sessiond/kernel.c
@@
-81,7
+81,7
@@
int kernel_create_session(struct ltt_session *session, int tracer_fd)
assert(session);
/* Allocate data structure */
assert(session);
/* Allocate data structure */
- lks = trace_kernel_create_session(
session->path
);
+ lks = trace_kernel_create_session();
if (lks == NULL) {
ret = -1;
goto error;
if (lks == NULL) {
ret = -1;
goto error;
@@
-536,6
+536,9
@@
int kernel_open_channel_stream(struct ltt_kernel_channel *channel)
PERROR("fcntl session fd");
}
PERROR("fcntl session fd");
}
+ lks->tracefile_size = channel->channel->attr.tracefile_size;
+ lks->tracefile_count = channel->channel->attr.tracefile_count;
+
/* Add stream to channe stream list */
cds_list_add(&lks->list, &channel->stream_list.head);
channel->stream_count++;
/* Add stream to channe stream list */
cds_list_add(&lks->list, &channel->stream_list.head);
channel->stream_count++;
This page took
0.026645 seconds
and
5
git commands to generate.