Re: [PATCH] usb: dwc3: add tracepoints to aid debugging

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

changed one detail

On Fri, Jul 25, 2014 at 11:19:05AM -0500, Felipe Balbi wrote:
> +DECLARE_EVENT_CLASS(dwc3_log_ctrl,
> +	TP_PROTO(struct usb_ctrlrequest *ctrl),
> +	TP_ARGS(ctrl),
> +	TP_STRUCT__entry(
> +		__field(struct usb_ctrlrequest *, ctrl)
> +	),
> +	TP_fast_assign(
> +		__entry->ctrl = ctrl;
> +	),
> +	TP_printk("bRequestType %x bRequest %x wValue %02x wIndex %02x wLength %02x",

fixed this for proper field sizes so it looks like:

         TP_printk("bRequestType %02x bRequest %02x wValue %04x wIndex %04x wLength %d",

-- 
balbi

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux