[lkml]   [2006]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [linux-usb-devel] [PATCH] usbmon: add binary interface
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 <> 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...


greg k-h
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2006-10-11 23:05    [W:0.059 / U:11.872 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site