On 2017年10月11日 03:11, Willem de Bruijn wrote:
On Tue, Oct 10, 2017 at 1:39 PM, David Miller <da...@davemloft.net> wrote:
From: Willem de Bruijn <willemdebruijn.ker...@gmail.com>
Date: Tue, 10 Oct 2017 11:29:33 -0400

If there is a way to expose these stats through vhost_net directly,
instead of through tun, that may be better. But I did not see a
suitable interface. Perhaps debugfs.
Please don't use debugfs, thank you :-)
Okay. I'll take a look at tracing for on-demand measurement.

This reminds me a past series that adding tracepoints to vhost/net[1]. It can count zero/datacopy independently and even contains a sample program to show the stats.

Thanks

[1] https://lists.oasis-open.org/archives/virtio-dev/201403/msg00025.html

Reply via email to