aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>2013-08-13 08:25:21 -0400
committerJason Cooper <jason@lakedaemon.net>2013-09-30 10:58:35 -0400
commitbf09b6ae588f7567bcf31d9eff313d4d9fdc664e (patch)
treeeb59c23af7b7a6f5bf8e0e3076f15b4894e13ba7 /tools/perf/scripts/python/sctop.py
parentb42285f66f871a9898a0e79e2d74bc7e7a101995 (diff)
PCI: mvebu: increment nports only for registered ports
The number of ports is probed by counting the number of available child nodes. Later on, the registration of a port can fail and cause a mismatch between the ->nports counter and registered ports. This patch modifies the counting strategy, to make ->nports represent the number of registered ports instead of the number of available childs. Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions