aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2024-02-11 21:44:04 +0000
committerJakub Kicinski <[email protected]>2024-02-13 18:34:50 -0800
commit3e41af90767dcf8e5ca91cfbbbcb772584940df9 (patch)
tree7b3db30c1a7b8b6d9b4d27c52d5285bd59020955 /tools/perf/scripts/python/Perf-Trace-Util/lib
parentf383ced24d6ae6c1989394d052d3109b9d645f11 (diff)
rtnetlink: use xarray iterator to implement rtnl_dump_ifinfo()
Adopt net->dev_by_index as I did in commit 0e0939c0adf9 ("net-procfs: use xarray iterator to implement /proc/net/dev") This makes sure an existing device is always visible in the dump, regardless of concurrent insertions/deletions. v2: added suggestions from Jakub Kicinski and Ido Schimmel, thanks for the help ! Link: https://lore.kernel.org/all/[email protected]/ Link: https://lore.kernel.org/all/ZckR-XOsULLI9EHc@shredder/ Signed-off-by: Eric Dumazet <[email protected]> Reviewed-by: Ido Schimmel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions