summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2025-02-21 08:12:23 +0300
committerJakub Kicinski <kuba@kernel.org>2025-02-25 01:21:23 +0300
commit75bc3dab4e49b4daccb27ad6ce8ce2fcd253fc1b (patch)
treec66af71d41b6f7672008d1e50a3450af39c3f22e /tools/perf/scripts/python/intel-pt-events.py
parent98f9928843331fc4e91b25d9969a9458c3f9c552 (diff)
downloadlinux-75bc3dab4e49b4daccb27ad6ce8ce2fcd253fc1b.tar.xz
net-sysfs: restore behavior for not running devices
modprobe dummy dumdummies=1 Old behavior : $ cat /sys/class/net/dummy0/carrier cat: /sys/class/net/dummy0/carrier: Invalid argument After blamed commit, an empty string is reported. $ cat /sys/class/net/dummy0/carrier $ In this commit, I restore the old behavior for carrier, speed and duplex attributes. Fixes: 79c61899b5ee ("net-sysfs: remove rtnl_trylock from device attributes") Signed-off-by: Eric Dumazet <edumazet@google.com> Reported-by: Marco Leogrande <leogrande@google.com> Reviewed-by: Antoine Tenart <atenart@kernel.org> Link: https://patch.msgid.link/20250221051223.576726-1-edumazet@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions