summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorTal Gilboa <talgi@mellanox.com>2018-03-30 16:56:47 +0300
committerBjorn Helgaas <helgaas@kernel.org>2018-04-03 16:58:30 +0300
commit9e506a7b51474241f0c900e53e85512780275c05 (patch)
tree95063571274cdd55ff08841a6dcbbdc5c20bc045 /tools/perf/scripts/python/call-graph-from-sql.py
parent6db79a88c67e4679d9c1e4a3f05c6385e21f6e9a (diff)
downloadlinux-9e506a7b51474241f0c900e53e85512780275c05.tar.xz
PCI: Add pcie_print_link_status() to log link speed and whether it's limited
Add pcie_print_link_status(). This logs the current settings of the link (speed, width, and total available bandwidth). If the device is capable of more bandwidth but is limited by a slower upstream link, we include information about the link that limits the device's performance. The user may be able to move the device to a different slot for better performance. This provides a unified method for all PCI devices to report status and issues, instead of each device reporting in a different way, using different code. Signed-off-by: Tal Gilboa <talgi@mellanox.com> [bhelgaas: changelog, reword log messages, print device capabilities when not limited, print bandwidth in Gb/s] Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions