Re: [RFC 3/3] ohci: rewrite ohci_dump() for dynamic debug

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

 



On Tue, 12 Nov 2013 oliver@xxxxxxxxxx wrote:

> From: Oliver Neukum <oneukum@xxxxxxx>
> 
> As this function is called from interrupt care must
> be taken that as little as possible overhead is used
> if dynamic debbuging is not enabled.

Firstly, the function is called in interrupt context only when an 
Unrecoverable Error occurs.  I think we can afford a little extra 
overhead in that case.

Secondly, this patch creates a duplicate copy of ohci_dump_status(), 
which is a rather lengthy debugging function.  This is hardly elegant.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




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

  Powered by Linux