From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:41042) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8q97-00010V-B4 for qemu-devel@nongnu.org; Wed, 28 Sep 2011 05:09:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R8q93-0007XC-9a for qemu-devel@nongnu.org; Wed, 28 Sep 2011 05:09:41 -0400 Received: from mx1.redhat.com ([209.132.183.28]:16612) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8q93-0007Wn-2b for qemu-devel@nongnu.org; Wed, 28 Sep 2011 05:09:37 -0400 Date: Wed, 28 Sep 2011 14:39:29 +0530 From: Amit Shah Message-ID: <20110928090929.GA12218@amit-x200.redhat.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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: Markus Armbruster , Anthony Liguori Cc: qemu list , Juan Quintela On (Wed) 14 Sep 2011 [15:07:57], Markus Armbruster wrote: > 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? Ping? Amit