From e6b7a668ee20553d83bc63a3e38fea75acdf7a3e Mon Sep 17 00:00:00 2001 From: Dennis Potter Date: Thu, 12 Jul 2018 17:26:37 +0200 Subject: [PATCH] Added some more verbosity to a warning --- src/villas-pipe.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/villas-pipe.cpp b/src/villas-pipe.cpp index 8b09fcfe7..1f8183c92 100644 --- a/src/villas-pipe.cpp +++ b/src/villas-pipe.cpp @@ -211,7 +211,7 @@ static void * recv_loop(void *ctx) if (allocated < 0) error("Failed to allocate %u samples from receive pool.", node->in.vectorize); else if (allocated < node->in.vectorize) - warn("Receive pool underrun"); + warn("Receive pool underrun: allocated only %i of %i samples", allocated, node->in.vectorize); release = allocated; @@ -219,6 +219,7 @@ static void * recv_loop(void *ctx) if (recv < 0) warn("Failed to receive samples from node %s: reason=%d", node_name(node), recv); + io_print(&io, smps, recv); sample_put_many(smps, release);