[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ada634t710i.fsf@roland-alpha.cisco.com>
Date: Thu, 18 Mar 2010 14:50:21 -0700
From: Roland Dreier <rdreier@...co.com>
To: Sarah Sharp <sarah.a.sharp@...ux.intel.com>
Cc: Greg KH <greg@...ah.com>, Alex Chiang <achiang@...com>,
linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 0/2] small xhci cleanups
> "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@...co.com>
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-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists