summaryrefslogtreecommitdiff
path: root/hw/usb
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2013-08-27 16:59:37 +0200
committerGerd Hoffmann <kraxel@redhat.com>2013-09-02 11:06:20 +0200
commitb8cbc1374acdc1d8081f1dc57ef1249d263cf389 (patch)
tree94ca2bc279221deceb8916fadf77fb6d313b6a4e /hw/usb
parentc96c41ed0d38d68a6c8b6f84751afebafeae31be (diff)
downloadqemu-b8cbc1374acdc1d8081f1dc57ef1249d263cf389.zip
usb-hub: add tracepoint for status reports
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/usb')
-rw-r--r--hw/usb/dev-hub.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/usb/dev-hub.c b/hw/usb/dev-hub.c
index e865a98751..54f63c0d47 100644
--- a/hw/usb/dev-hub.c
+++ b/hw/usb/dev-hub.c
@@ -475,6 +475,7 @@ static void usb_hub_handle_data(USBDevice *dev, USBPacket *p)
port->wPortChange_reported = port->wPortChange;
}
if (status != 0) {
+ trace_usb_hub_status_report(s->dev.addr, status);
for(i = 0; i < n; i++) {
buf[i] = status >> (8 * i);
}