projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add data structure for the data available command
[lttng-tools.git]
/
src
/
common
/
ust-consumer
/
ust-consumer.c
diff --git
a/src/common/ust-consumer/ust-consumer.c
b/src/common/ust-consumer/ust-consumer.c
index dea92ac2374f3f5127dc97389ed6f054d8f49d69..f802c462d4393565d5c3da60be70bd6b8d1cad3e 100644
(file)
--- a/
src/common/ust-consumer/ust-consumer.c
+++ b/
src/common/ust-consumer/ust-consumer.c
@@
-205,6
+205,7
@@
int lttng_ustconsumer_recv_cmd(struct lttng_consumer_local_data *ctx,
msg.u.stream.gid,
msg.u.stream.net_index,
msg.u.stream.metadata_flag,
msg.u.stream.gid,
msg.u.stream.net_index,
msg.u.stream.metadata_flag,
+ msg.u.stream.session_id,
&alloc_ret);
if (new_stream == NULL) {
switch (alloc_ret) {
&alloc_ret);
if (new_stream == NULL) {
switch (alloc_ret) {
@@
-309,6
+310,11
@@
int lttng_ustconsumer_recv_cmd(struct lttng_consumer_local_data *ctx,
rcu_read_unlock();
return -ENOSYS;
}
rcu_read_unlock();
return -ENOSYS;
}
+ case LTTNG_CONSUMER_DATA_AVAILABLE:
+ {
+ rcu_read_unlock();
+ return -ENOSYS;
+ }
default:
break;
}
default:
break;
}
This page took
0.025119 seconds
and
4
git commands to generate.