diff options
author | Mathias Nyman <mathias.nyman@linux.intel.com> | 2017-10-05 11:21:48 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-10-05 11:01:58 +0200 |
commit | e3a78ff022c64b518d3efd9ea0f26a784dc0b629 (patch) | |
tree | fe341f35e289328b4448b8f77acd9e08b273fe9a /drivers/usb/host/xhci-trace.h | |
parent | 49d5b05e191d4486c125ff00a01fc5e9e7ba452c (diff) | |
download | lwn-e3a78ff022c64b518d3efd9ea0f26a784dc0b629.tar.gz lwn-e3a78ff022c64b518d3efd9ea0f26a784dc0b629.zip |
xhci: trace slot context when calling xhci_configure_endpoint()
Add trace showing content of input slot context for
configure endpoint and evaluate context commands
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 f20753b99624..754dfb0e1a02 100644 --- a/drivers/usb/host/xhci-trace.h +++ b/drivers/usb/host/xhci-trace.h @@ -388,6 +388,11 @@ DEFINE_EVENT(xhci_log_slot_ctx, xhci_handle_cmd_set_deq, TP_ARGS(ctx) ); +DEFINE_EVENT(xhci_log_slot_ctx, xhci_configure_endpoint, + TP_PROTO(struct xhci_slot_ctx *ctx), + TP_ARGS(ctx) +); + DECLARE_EVENT_CLASS(xhci_log_ring, TP_PROTO(struct xhci_ring *ring), TP_ARGS(ring), |