summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2024-02-07 19:53:18 +0300
committerJakub Kicinski <kuba@kernel.org>2024-02-09 06:06:09 +0300
commit0e0939c0adf90a3233392e2a9650290b1ad8068c (patch)
tree84584345d7ba4e8fab8303f6d5c6f210eded1307 /tools/perf/scripts/python/exported-sql-viewer.py
parent6fb5dfee274cfbb97646dc4d94fb8e2fd9e33001 (diff)
downloadlinux-0e0939c0adf90a3233392e2a9650290b1ad8068c.tar.xz
net-procfs: use xarray iterator to implement /proc/net/dev
In commit 759ab1edb56c ("net: store netdevs in an xarray") Jakub added net->dev_by_index to map ifindex to netdevices. We can get rid of the old hash table (net->dev_index_head), one patch at a time, if performance is acceptable. This patch removes unpleasant code to something more readable. As a bonus, /proc/net/dev gets netdevices sorted by their ifindex. Signed-off-by: Eric Dumazet <edumazet@google.com> Link: https://lore.kernel.org/r/20240207165318.3814525-1-edumazet@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions