diff options
author | 2020-11-18 21:45:21 +0100 | |
---|---|---|
committer | 2020-11-20 12:51:54 -0800 | |
commit | 9e48ee80ac4e04c9985379d58248dd2a96a170ef (patch) | |
tree | 49b1250028d0732de49384d407f9b562080ed496 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | selftests: extract common functions in ethtool-common.sh (diff) | |
download | wireguard-linux-9e48ee80ac4e04c9985379d58248dd2a96a170ef.tar.xz wireguard-linux-9e48ee80ac4e04c9985379d58248dd2a96a170ef.zip |
selftests: refactor get_netdev_name function
As pointed out by Michal Kubecek, getting the name
with the previous approach was racy, it's better
and easier to get the name of the device with this
patch's approach.
Essentialy the function doesn't need to exist
anymore as it's a simple 'ls' command.
Signed-off-by: Antonio Cardace <acardace@redhat.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions