summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorNikhil Solanke <nikhilsolanke5@gmail.com>2026-07-29 01:21:58 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-08-03 17:25:35 +0200
commit37a6e2f9c30245d06de4d5755a9d8cc1de3923f6 (patch)
tree446a79f9737d6adf8a173e8d5089428d84097262 /tools/perf/scripts/python/task-analyzer.py
parent152f174a13618bec1f842d2deb69245cb2ace51f (diff)
usb: hub: Split announce_device() to log device identity before enumeration
announce_device() currently logs the device VID:PID and string descriptors only after successful enumeration. This means that if enumeration fails, no identifying information about the device appears in the kernel log, making it difficult to diagnose failures. Split announce_device() into announce_device_ids(), which logs the VID:PID and bcdDevice immediately after the device descriptor is read, and announce_device_strings(), which logs the product, manufacturer, and serial number strings after successful enumeration. This ensures that a device's identity is always visible in the log regardless of whether enumeration succeeds or fails. Suggested-by: Michal Pecio <michal.pecio@gmail.com> Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Nikhil Solanke <nikhilsolanke5@gmail.com> Link: https://patch.msgid.link/20260728195158.65162-3-nikhilsolanke5@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions