Re: [PATCH 0/2] small xhci cleanups

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

 



 > "On" or "off" doesn't really help when you're trying to debug different
 > parts of the driver.  If you're trying to debug a command, messages
 > about wrapping rings or enqueueing transfers doesn't really matter.

For this debugging stuff, you could look at using the trace events
infrastructure, which gives very fine control over what output is
enabled and overall is pretty awesome.  You can look in
include/trace/events for examples, eg look at
include/trace/events/ext4.h and then look in fs/ext4 to see where
trace_ext4_xxx() functions get called.

 - R.
-- 
Roland Dreier  <rolandd@xxxxxxxxx>
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/index.html
--
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