aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorTony Luck <[email protected]>2022-04-06 22:01:50 +0000
committerGreg Kroah-Hartman <[email protected]>2022-04-20 16:56:39 +0000
commitaa63a74d4535a1d97b60e46655a1361c42565b89 (patch)
tree25f6eaeaf8e1493a5cf06969bfa3a4e249f54083 /tools/perf/scripts/python/netdev-times.py
parentLinux 5.18-rc2 (diff)
downloadkernel-aa63a74d4535a1d97b60e46655a1361c42565b89.tar.gz
kernel-aa63a74d4535a1d97b60e46655a1361c42565b89.zip
topology/sysfs: Hide PPIN on systems that do not support it.
Systems that do not support a Protected Processor Identification Number currently report: # cat /sys/devices/system/cpu/cpu0/topology/ppin 0x0 which is confusing/wrong. Add a ".is_visible" function to suppress inclusion of the ppin file. Fixes: ab28e944197f ("topology/sysfs: Add PPIN in sysfs under cpu topology") Signed-off-by: Tony Luck <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions