aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorKai-Heng Feng <[email protected]>2020-07-23 17:45:04 +0300
committerGreg Kroah-Hartman <[email protected]>2020-07-23 17:05:26 +0200
commit8aaf19b8ec78748b80c73319d48413dd26fecb3d (patch)
treedc5890470bd49c2067264f8e379aec117a6eed5a /tools/perf/scripts/python/exported-sql-viewer.py
parentc17536d0abde2fd24afca542e3bb73b45a299633 (diff)
xhci: Make debug message consistent with bus and port number
Current xhci debug message doesn't always output bus number, so it's hard to figure out it's from USB2 or USB3 root hub. In addition to that, some port numbers are offset to 0 and others are offset to 1. Use the latter to match the USB core. So use "bus number - port index + 1" to make debug message consistent. Signed-off-by: Kai-Heng Feng <[email protected]> Signed-off-by: Mathias Nyman <[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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions