xhci: add xhci_cmd_completion trace event
authorXenia Ragiadakou <burzalodowa@gmail.com>
Tue, 6 Aug 2013 04:52:48 +0000 (07:52 +0300)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Tue, 13 Aug 2013 23:05:46 +0000 (16:05 -0700)
commit63a23b9a7451660525c90b08219e14e701e294f1
tree7452bc6169dbb35906bfdcd7801b69d9ccc47c86
parent1d27fabec068a204186c6af10e05f23911c0c902
xhci: add xhci_cmd_completion trace event

This patch creates a new event class, called xhci_log_event,
and defines the xhci_cmd_completion trace event used for
tracing the commands issued to xHC that generate a completion
event in the event ring.

This info can be used, later, to print, in a human readable
way, the completion status and flags as well as the command's
type and fields using the trace-cmd tool and the appropriate
plugin.

Also, a tracepoint is added in handle_cmd_completion().

Signed-off-by: Xenia Ragiadakou <burzalodowa@gmail.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
drivers/usb/host/xhci-ring.c
drivers/usb/host/xhci-trace.h
This page took 0.059795 seconds and 5 git commands to generate.