diff options
author | Mathias Nyman <mathias.nyman@linux.intel.com> | 2017-12-08 17:59:14 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-12-08 17:43:53 +0100 |
commit | 28c06e58602fe48eb03ec8d4bdd005094fb6a31f (patch) | |
tree | 3e86480235f77e5155f9a92992ee749b7691efdd /drivers/usb/host/xhci-trace.h | |
parent | ab725cbec3e83dc29cc00b733bd26063b588fa98 (diff) | |
download | lwn-28c06e58602fe48eb03ec8d4bdd005094fb6a31f.tar.gz lwn-28c06e58602fe48eb03ec8d4bdd005094fb6a31f.zip |
xhci: add port status tracing for Get Port Status hub requests
Add tracing showing the port status register content each time
the xhci roothub receives a Get Port 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 67ff314a6f41..6c093db5a4ed 100644 --- a/drivers/usb/host/xhci-trace.h +++ b/drivers/usb/host/xhci-trace.h @@ -494,6 +494,11 @@ DEFINE_EVENT(xhci_log_portsc, xhci_handle_port_status, TP_ARGS(portnum, portsc) ); +DEFINE_EVENT(xhci_log_portsc, xhci_get_port_status, + 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), |