diff options
author | Mathias Nyman <mathias.nyman@linux.intel.com> | 2017-12-08 16:59:15 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-12-08 17:43:53 +0100 |
commit | 3f8499ac7cd838199eacd9d9a002e37227f1f2c7 (patch) | |
tree | c1d3080968aa06a65011f4d0d4e37bfd2600804c /drivers/usb/host/xhci-trace.h | |
parent | xhci: add port status tracing for Get Port Status hub requests (diff) | |
download | linux-3f8499ac7cd838199eacd9d9a002e37227f1f2c7.tar.xz linux-3f8499ac7cd838199eacd9d9a002e37227f1f2c7.zip |
xhci: add port status tracing for Get Hub Status requests
Trace the port status of each port of a roothub when
the xhci roothub receives a Get Hub Status request.
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/xhci-trace.h')
-rw-r--r-- | drivers/usb/host/xhci-trace.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/usb/host/xhci-trace.h b/drivers/usb/host/xhci-trace.h index 6c093db5a4ed..410544ffe78f 100644 --- a/drivers/usb/host/xhci-trace.h +++ b/drivers/usb/host/xhci-trace.h @@ -499,6 +499,11 @@ DEFINE_EVENT(xhci_log_portsc, xhci_get_port_status, TP_ARGS(portnum, portsc) ); +DEFINE_EVENT(xhci_log_portsc, xhci_hub_status_data, + TP_PROTO(u32 portnum, u32 portsc), + TP_ARGS(portnum, portsc) +); + DECLARE_EVENT_CLASS(xhci_dbc_log_request, TP_PROTO(struct dbc_request *req), TP_ARGS(req), |