[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 3/3] virtio-serial-bus: Add per-port stats for r

From: Markus Armbruster
Subject: Re: [Qemu-devel] [PATCH 3/3] virtio-serial-bus: Add per-port stats for received, sent, discarded bytes
Date: Wed, 14 Sep 2011 15:07:57 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Amit Shah <address@hidden> 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 <address@hidden>

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?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]