mirror of https://github.com/OpenIPC/firmware.git
				
				
				
			
		
			
				
	
	
		
			24 lines
		
	
	
		
			960 B
		
	
	
	
		
			Diff
		
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			960 B
		
	
	
	
		
			Diff
		
	
	
| --- linux-4.9.37/drivers/usb/gadget/udc/trace.h	2017-07-12 16:42:41.000000000 +0300
 | |
| +++ linux-4.9.y/drivers/usb/gadget/udc/trace.h	2021-06-07 13:01:34.000000000 +0300
 | |
| @@ -236,6 +236,7 @@
 | |
|  		__field(unsigned, short_not_ok)
 | |
|  		__field(int, status)
 | |
|  		__field(int, ret)
 | |
| +		__field(struct usb_request *, req)
 | |
|  	),
 | |
|  	TP_fast_assign(
 | |
|  		snprintf(__get_str(name), UDC_TRACE_STR_MAX, "%s", ep->name);
 | |
| @@ -249,9 +250,10 @@
 | |
|  		__entry->short_not_ok = req->short_not_ok;
 | |
|  		__entry->status = req->status;
 | |
|  		__entry->ret = ret;
 | |
| +		__entry->req = req;
 | |
|  	),
 | |
| -	TP_printk("%s: length %d/%d sgs %d/%d stream %d %s%s%s status %d --> %d",
 | |
| -		__get_str(name), __entry->actual, __entry->length,
 | |
| +	TP_printk("%s: req %p length %d/%d sgs %d/%d stream %d %s%s%s status %d --> %d",
 | |
| +		__get_str(name),__entry->req,  __entry->actual, __entry->length,
 | |
|  		__entry->num_mapped_sgs, __entry->num_sgs, __entry->stream_id,
 | |
|  		__entry->zero ? "Z" : "z",
 | |
|  		__entry->short_not_ok ? "S" : "s",
 |