From: Greg KH <gregkh@suse.de>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: Pete Zaitcev <zaitcev@redhat.com>, Pavel Machek <pavel@suse.cz>,
Paolo Abeni <paolo.abeni@email.it>,
linux-usb-devel@lists.sourceforge.net,
linux-kernel@vger.kernel.org
Subject: Re: [linux-usb-devel] [PATCH] usbmon: add binary interface
Date: Wed, 11 Oct 2006 14:01:37 -0700 [thread overview]
Message-ID: <20061011210137.GA16427@suse.de> (raw)
In-Reply-To: <Pine.LNX.4.44L0.0610111649440.6437-100000@iolanthe.rowland.org>
On Wed, Oct 11, 2006 at 04:51:09PM -0400, Alan Stern wrote:
> On Wed, 11 Oct 2006, Pete Zaitcev wrote:
>
> > On Wed, 11 Oct 2006 19:44:43 +0000, Pavel Machek <pavel@suse.cz> wrote:
> >
> > > Does it mean text interface is now deprecated? Or perhaps ioctl should
> > > be added to text interface too? Or maybe we do not need binary
> > > interface if we allow resizing on text interface?
> >
> > I haven't reviewed Paolo's patch yet, but with that in mind:
> > - No, text is not deprecated yet. That is only possible when a simplified
> > command-line tool is written and distributed (e.g. usbmon(8)).
> > - No, I do not think an ioctl in debugfs or a text API is a good idea.
> > - Resizing on text interface magnifies sprintf contribution to CPU burn,
> > so once we have the binary one, there's only disadvantage and
> > no advantage in implementing that.
>
> Would relayfs be a better choice than debugfs for exporting potentially
> large quantities of binary data?
You can put relayfs files in debugfs. Or at least that was the goal a
long time ago, hopefully it still works...
thanks,
greg k-h
next prev parent reply other threads:[~2006-10-11 21:01 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-11 8:57 [PATCH] usbmon: add binary interface Paolo Abeni
2006-10-11 14:09 ` [linux-usb-devel] " Alan Stern
2006-10-11 19:44 ` Pavel Machek
2006-10-11 20:43 ` Pete Zaitcev
2006-10-11 20:51 ` [linux-usb-devel] " Alan Stern
2006-10-11 21:01 ` Greg KH [this message]
2006-10-11 21:29 ` Pete Zaitcev
2006-10-16 10:07 ` [linux-usb-devel] " Marcel Holtmann
2006-10-12 8:17 ` Duncan Sands
2006-10-12 15:13 ` Pete Zaitcev
2006-10-18 4:48 ` Pete Zaitcev
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=20061011210137.GA16427@suse.de \
--to=gregkh@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb-devel@lists.sourceforge.net \
--cc=paolo.abeni@email.it \
--cc=pavel@suse.cz \
--cc=stern@rowland.harvard.edu \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox