diff options
author | 2017-02-17 11:33:09 +0800 | |
---|---|---|
committer | 2017-02-19 18:15:23 -0500 | |
commit | 61845d2072150e896f2f18f1d879956e453ee8fd (patch) | |
tree | 70f3c92a8839438416ca67eb93f9760aa6ade34a /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | mlx4: fix potential divide by 0 in mlx4_en_auto_moderation() (diff) | |
download | linux-dev-61845d2072150e896f2f18f1d879956e453ee8fd.tar.xz linux-dev-61845d2072150e896f2f18f1d879956e453ee8fd.zip |
virtio-net: batch stats updating
We already have counters for sent/recv packets and sent/recv bytes.
Doing a batched update to reduce the number of
u64_stats_update_begin/end().
Take care not to bother with stats update when called
speculatively.
Cc: Willem de Bruijn <willemb@google.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions