Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161382AbWJKVBn (ORCPT ); Wed, 11 Oct 2006 17:01:43 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1161379AbWJKVBm (ORCPT ); Wed, 11 Oct 2006 17:01:42 -0400 Received: from cantor.suse.de ([195.135.220.2]:27013 "EHLO mx1.suse.de") by vger.kernel.org with ESMTP id S1161376AbWJKVBl (ORCPT ); Wed, 11 Oct 2006 17:01:41 -0400 Date: Wed, 11 Oct 2006 14:01:37 -0700 From: Greg KH To: Alan Stern Cc: Pete Zaitcev , Pavel Machek , Paolo Abeni , linux-usb-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org Subject: Re: [linux-usb-devel] [PATCH] usbmon: add binary interface Message-ID: <20061011210137.GA16427@suse.de> References: <20061011134351.0c79445a.zaitcev@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1363 Lines: 31 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... 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/