lkml.org 
[lkml]   [2005]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Patch to add usbmon
On Tue, Feb 01, 2005 at 10:25:13PM -0800, Pete Zaitcev wrote:
> This patch adds so-called "usbmon", or USB monitoring framework, similar
> to what tcpdump provides for Ethernet. This is an initial version, but
> it should be safe and useful. It adds an overhead of an if () statement
> into submission and giveback paths even when not monitoring, but this
> was deemed a lesser evil than stealth manipulation of function pointers.
>
> The patch makes two changes to hcd.c which make usbmon more useful:
> - Change the way we determine that DMA should not be mapped for root
> hubs, so that usbmon knows easily when it's safe to capture data.
> - Return exports of usb_bus_list and usb_bus_list_lock for those who
> wish to build usbmon as a module.
>
> This version of the patch changes #define to inlines for hooks and
> drops extra mod_ops.
>
> Signed-off-by: Pete Zaitcev

Applied, thanks.

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:10    [W:0.091 / U:0.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site