Received: from eggs.gnu.org ([140.186.70.92]:34130) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R3pCB-0007Z4-MZ for qemu-devel@nongnu.org; Wed, 14 Sep 2011 09:08:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R3pC6-0004Yv-1w for qemu-devel@nongnu.org; Wed, 14 Sep 2011 09:08:07 -0400 Received: from mx1.redhat.com ([209.132.183.28]:45634) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R3pC5-0004Yl-R0 for qemu-devel@nongnu.org; Wed, 14 Sep 2011 09:08:02 -0400 From: Markus Armbruster References: Date: Wed, 14 Sep 2011 15:07:57 +0200 In-Reply-To: (Amit Shah's message of "Wed, 14 Sep 2011 12:59:07 +0530") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [Qemu-devel] [PATCH 3/3] virtio-serial-bus: Add per-port stats for received, sent, discarded bytes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Amit Shah Cc: qemu list , Juan Quintela Amit Shah writes: > This commit adds port-specific stats for the number of bytes received, > sent and discarded. They can be seen in the 'info qtree' monitor output > for the specific port. > > This data can be used to check for data loss bugs (or disprove such > claims). It can also be used for accounting, if there's such a need. > > The stats remain valid throughout the lifetime of the port. Unplugging a > port will reset the stats. The numbers are not reset across port > opens/closes. > > Signed-off-by: Amit Shah I'm not sure "info qtree" is the right place to show device stats. I guess it's the only existing place that comes to mind. Anthony, what do you think?