From: Greg KH <greg@kroah.com>
To: Pete Zaitcev <zaitcev@redhat.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Patch to add usbmon
Date: Fri, 4 Feb 2005 15:47:34 -0800 [thread overview]
Message-ID: <20050204234734.GA28862@kroah.com> (raw)
In-Reply-To: <20050201222513.358d1db6@localhost.localdomain>
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
prev parent reply other threads:[~2005-02-04 23:54 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-01 5:29 Patch to add usbmon Pete Zaitcev
2005-02-01 7:10 ` Greg KH
2005-02-01 8:32 ` Pete Zaitcev
2005-02-01 11:13 ` Marcel Holtmann
2005-02-01 17:55 ` Pete Zaitcev
2005-02-01 21:37 ` Marcel Holtmann
2005-02-02 5:59 ` Pete Zaitcev
2005-02-02 16:40 ` Marcel Holtmann
2005-02-02 18:54 ` Pete Zaitcev
2005-02-05 0:19 ` Marcel Holtmann
2005-02-02 6:25 ` Pete Zaitcev
2005-02-04 23:47 ` Greg KH [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050204234734.GA28862@kroah.com \
--to=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=zaitcev@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.