From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751012AbWDUJea (ORCPT ); Fri, 21 Apr 2006 05:34:30 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751127AbWDUJea (ORCPT ); Fri, 21 Apr 2006 05:34:30 -0400 Received: from mailout.stusta.mhn.de ([141.84.69.5]:56838 "HELO mailout.stusta.mhn.de") by vger.kernel.org with SMTP id S1751012AbWDUJe3 (ORCPT ); Fri, 21 Apr 2006 05:34:29 -0400 Date: Fri, 21 Apr 2006 11:34:28 +0200 From: Adrian Bunk To: Sam Ravnborg Cc: Ram Pai , linux-kernel@vger.kernel.org, akpm@osdl.org, arjan@infradead.org, greg@kroah.com, hch@infradead.org, mathur@us.ibm.com Subject: Re: [RFC PATCH 1/3] export symbol report: overview Message-ID: <20060421093428.GC19754@stusta.de> References: <20060420223653.EF73E470030@localhost> <20060421074317.GB17492@mars.ravnborg.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060421074317.GB17492@mars.ravnborg.org> User-Agent: Mutt/1.5.11+cvs20060403 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 21, 2006 at 09:43:17AM +0200, Sam Ravnborg wrote: > On Thu, Apr 20, 2006 at 03:36:53PM -0700, Ram Pai wrote: > > This patch series enables on-demand report generation of export symbol usage by > > inkernel modules. The report is available at > > > > A report generated by executing > > make allmodconfig > > make export_report > > is available at http://www.sudhaa.com/~ram/misc/export_report.txt > > > > This report lists: > > 1. the usage count of all exported symbols by in-kernel modules. > > 2. For each in-kernel module lists > > a) the in-kernel modules it depend on. > > b) list of exported symbols from that in-kernel modules it depend on. > > > > Highlights: > > On x86 architecture > > (1) 880 exported symbols not used by any in-kernel modules. > > (2) 1792 exported symbols used only once. > > > > This patch series has comments by Adrian Bunk incorporated. > > Hi Ram Pai. > > In principle what your patch does is a simple port-processign of > Module.symvers. > Insead of introducing another step in the buildprocess then for this > functionality we should just call your script direct. > This is not something the average users will do often, so having to > type: > ./scripts/export-report.pl >... Adding an exportcheck target similar to e.g. the namespacecheck or checkstack targets calling an external script shouldn't be a problem. > Sam cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed