From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 37F6EA0519 for ; Thu, 25 Jun 2020 00:22:19 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 19D244C81; Thu, 25 Jun 2020 00:22:19 +0200 (CEST) Received: from new1-smtp.messagingengine.com (new1-smtp.messagingengine.com [66.111.4.221]) by dpdk.org (Postfix) with ESMTP id 8F748CF3; Thu, 25 Jun 2020 00:22:15 +0200 (CEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailnew.nyi.internal (Postfix) with ESMTP id CCC4C580138; Wed, 24 Jun 2020 18:22:14 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Wed, 24 Jun 2020 18:22:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm1; bh= IMAhJveVKqy350A1JdNt6YBO86ersIuPcNx5qneAGJQ=; b=qqf/zS+66FDmc8hi AIbNERskwttz/X5QENJ2vkncVhitge3/T0efPv4Wg/UCM2cM0Fx1m0yj7c3xXmZI ex1n+nB6LpUrbiuaaapELrTM3CwtCu9nB+8WFYRNCw6iS7J8H4lG5clEXKN3/fsZ yRH9gVBkS4rqpESmJhOcb753iw2IMmxCTicEIr/4TmbWfnRlwwWo53qJbFr8tWQ6 q0tLf/NnIjXXYOQMBiZ7new7jm+GknLeXuNSh3KiiXHeX3mxZEPYNY/VFi4zPbYs FNUT30Ih2DDb+x1h7U7fXlxKn3P/M0INA8YuVcYeI1nIpwJ4P4qm7qorhV6zivY7 DUQXgQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=IMAhJveVKqy350A1JdNt6YBO86ersIuPcNx5qneAG JQ=; b=Gz/JXEw070c14vwBmuCREZT+7Iskp4BU/Ug9E3vTaM9y5z9vuOvqpZDTZ JYf/on8yTk0E8dz7trQFcQHAN4p3QPA6mu0biBdmQsStnIrUE/vkL1UdY7wXm/Kk XK0AqRUplzq1+P+tVwEQkyndtzIXrm4aUCJupY+6ZKuRboqeJQNTSYqqgBKqXOM7 mk1Kj8+0jA3gmEBpRYOYh7AAcVVP5jkwA+BM20N7s3IlEdpYTUMIkx7y/X+PZZ92 91wLMqli7rCjuTaDyqzY1AgN+5mBB21A4WMm3yuhvWIk/ZqIUgDIfk8lCj8oPD2R UR2LMbwpSt68E3lgI5NkYv81xtZEg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudekkedgtdekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu ieeivdffgeehnecukfhppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghl ohhnrdhnvght X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 02CEE3280060; Wed, 24 Jun 2020 18:22:10 -0400 (EDT) From: Thomas Monjalon To: Georgiy Levashov Cc: Nicolas Chautru , Bruce Richardson , Ferruh Yigit , Declan Doherty , Marko Kovacevic , Ori Kam , Radu Nicolau , Akhil Goyal , Tomasz Kantecki , Sunil Kumar Kori , Pavan Nikhilesh , John McNamara , Kirill Rybalchenko , Harry van Haaren , Xiaoyun Li , Maxime Coquelin , Zhihong Wang , dev@dpdk.org, stable@dpdk.org, Andrew Rybchenko Date: Thu, 25 Jun 2020 00:22:09 +0200 Message-ID: <6332827.LBNadDuDc9@thomas> In-Reply-To: <1588080462-32393-1-git-send-email-arybchenko@solarflare.com> References: <1588080462-32393-1-git-send-email-arybchenko@solarflare.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH] examples: add flush after stats printing X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" 28/04/2020 15:27, Andrew Rybchenko: > From: Georgiy Levashov > > When printf()'s stdout is line-buffered for terminal, it is fully > buffered for pipes. So, stdout listener can only get the output > when it is flushed (on program termination, when buffer is filled or > manual flush). > > stdout buffer might fill slowly since every stats report could be small. > > Also when it is fully filled it might contain a part of the last stats > report which makes it very inconvenient for any automation which reads > and parses the output. > > Fixes: af75078fece3 ("first public release") > Cc: stable@dpdk.org > > Signed-off-by: Georgiy Levashov > Signed-off-by: Andrew Rybchenko Applied, thanks