projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Support the add operation of urcu hash table
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
kernel-consumer.c
diff --git
a/src/bin/lttng-sessiond/kernel-consumer.c
b/src/bin/lttng-sessiond/kernel-consumer.c
index 825121382529fcd3d8504ee3aeead9403cef838a..33cbbed3e679a42df9db3951b0a2040b681b481c 100644
(file)
--- a/
src/bin/lttng-sessiond/kernel-consumer.c
+++ b/
src/bin/lttng-sessiond/kernel-consumer.c
@@
-48,7
+48,8
@@
int kernel_consumer_add_channel(int sock, struct ltt_kernel_channel *channel)
channel->fd,
channel->channel->attr.subbuf_size,
0, /* Kernel */
channel->fd,
channel->channel->attr.subbuf_size,
0, /* Kernel */
- channel->channel->name);
+ channel->channel->name,
+ channel->stream_count);
ret = consumer_send_channel(sock, &lkm);
if (ret < 0) {
ret = consumer_send_channel(sock, &lkm);
if (ret < 0) {
@@
-116,7
+117,8
@@
int kernel_consumer_add_metadata(int sock, struct ltt_kernel_session *session)
session->metadata->fd,
session->metadata->conf->attr.subbuf_size,
0, /* for kernel */
session->metadata->fd,
session->metadata->conf->attr.subbuf_size,
0, /* for kernel */
- "metadata");
+ "metadata",
+ 1);
ret = consumer_send_channel(sock, &lkm);
if (ret < 0) {
ret = consumer_send_channel(sock, &lkm);
if (ret < 0) {
This page took
0.02357 seconds
and
4
git commands to generate.