aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2021-09-29 18:03:32 -0700
committerDavid S. Miller <davem@davemloft.net>2021-09-30 14:17:10 +0100
commit59f09ae8fac4a990070fc6bdc889d0e0118664ea (patch)
treeb2a2ae1c36876b2ef1aea66848d36b9b51cc41f2 /tools/perf/scripts/python/export-to-postgresql.py
parentnet/mlx4_en: Add XDP_REDIRECT statistics (diff)
downloadlinux-dev-59f09ae8fac4a990070fc6bdc889d0e0118664ea.tar.xz
linux-dev-59f09ae8fac4a990070fc6bdc889d0e0118664ea.zip
net: snmp: inline snmp_get_cpu_field()
This trivial function is called ~90,000 times on 256 cpus hosts, when reading /proc/net/netstat. And this number keeps inflating. Inlining it saves many cycles. Signed-off-by: Eric Dumazet <edumazet@google.com> 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