projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve the lttng list feature
[lttng-tools.git]
/
liblttkconsumerd
/
liblttkconsumerd.c
diff --git
a/liblttkconsumerd/liblttkconsumerd.c
b/liblttkconsumerd/liblttkconsumerd.c
index 1d69a4c463faffc1fa764141e287f725a625c535..f60888a83fc8f5ebc5758155770876973216c01e 100644
(file)
--- a/
liblttkconsumerd/liblttkconsumerd.c
+++ b/
liblttkconsumerd/liblttkconsumerd.c
@@
-597,12
+597,8
@@
static int kconsumerd_consumerd_recv_fd(int sfd,
nb_fd = size / sizeof(struct lttcomm_kconsumerd_msg);
/*
nb_fd = size / sizeof(struct lttcomm_kconsumerd_msg);
/*
- * Note: only supporting receiving one FD at a time for now.
- * This code needs fixing if we wish to receive more (a single
- * receive for the whole fd batch rather than one per fd).
+ * nb_fd is the number of fds we receive. One fd per recvmsg.
*/
*/
- assert(nb_fd == 1);
-
for (i = 0; i < nb_fd; i++) {
struct msghdr msg = { 0 };
for (i = 0; i < nb_fd; i++) {
struct msghdr msg = { 0 };
This page took
0.02759 seconds
and
5
git commands to generate.