summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2021-01-28 19:21:45 +0300
committerJakub Kicinski <kuba@kernel.org>2021-01-30 07:59:53 +0300
commit0d6cd689f9ba47deffffe9dfd204843ce8f1a51e (patch)
tree3e5c70083f679eb9054fa4f4d8ff2aa026ea278b /tools/perf/scripts/python/check-perf-trace.py
parentdf610cd9163b90adc3b5c23868089a0349580551 (diff)
downloadlinux-0d6cd689f9ba47deffffe9dfd204843ce8f1a51e.tar.xz
net: proc: speedup /proc/net/netstat
Use cache friendly helpers to better use cpu caches while reading /proc/net/netstat Tested on a platform with 256 threads (AMD Rome) Before: 305 usec spent in netstat_seq_show() After: 130 usec spent in netstat_seq_show() Signed-off-by: Eric Dumazet <edumazet@google.com> Link: https://lore.kernel.org/r/20210128162145.1703601-1-eric.dumazet@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions