aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorLi Zetao <lizetao1@huawei.com>2023-08-10 16:56:41 +0800
committerDavid S. Miller <davem@davemloft.net>2023-08-14 08:06:24 +0100
commitbf98bbe985539ffb61898bd4d855df727b1a80c7 (patch)
tree00b85837721962f1ddfd12e2621ff3862f4fdaf0 /tools/perf/scripts/python/export-to-postgresql.py
parentvmxnet3: Add XDP support. (diff)
downloadwireguard-linux-bf98bbe985539ffb61898bd4d855df727b1a80c7.tar.xz
wireguard-linux-bf98bbe985539ffb61898bd4d855df727b1a80c7.zip
net: macsec: Use helper functions to update stats
Use the helper functions dev_sw_netstats_rx_add() and dev_sw_netstats_tx_add() to update stats, which helps to provide code readability. Signed-off-by: Li Zetao <lizetao1@huawei.com> Reviewed-by: Simon Horman <horms@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions