Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754773AbZDNVFN (ORCPT ); Tue, 14 Apr 2009 17:05:13 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753343AbZDNVE7 (ORCPT ); Tue, 14 Apr 2009 17:04:59 -0400 Received: from thunk.org ([69.25.196.29]:43796 "EHLO thunker.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753225AbZDNVE6 (ORCPT ); Tue, 14 Apr 2009 17:04:58 -0400 Date: Tue, 14 Apr 2009 17:04:45 -0400 From: Theodore Tso To: Steven Rostedt Cc: linux-kernel@vger.kernel.org, Ingo Molnar , Andrew Morton , Thomas Gleixner , Peter Zijlstra , Frederic Weisbecker , Arjan van de Ven , Christoph Hellwig , Mathieu Desnoyers , Jeremy Fitzhardinge , Lai Jiangshan , Zhaolei , Li Zefan , KOSAKI Motohiro , Masami Hiramatsu , "Frank Ch. Eigler" , Tom Zanussi , Jiaying Zhang , Michael Rubin , Martin Bligh Subject: Re: [PATCH 0/8] [GIT PULL] TRACE_EVENT for modules Message-ID: <20090414210445.GM955@mit.edu> Mail-Followup-To: Theodore Tso , Steven Rostedt , linux-kernel@vger.kernel.org, Ingo Molnar , Andrew Morton , Thomas Gleixner , Peter Zijlstra , Frederic Weisbecker , Arjan van de Ven , Christoph Hellwig , Mathieu Desnoyers , Jeremy Fitzhardinge , Lai Jiangshan , Zhaolei , Li Zefan , KOSAKI Motohiro , Masami Hiramatsu , "Frank Ch. Eigler" , Tom Zanussi , Jiaying Zhang , Michael Rubin , Martin Bligh References: <20090414172337.280621613@goodmis.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090414172337.280621613@goodmis.org> User-Agent: Mutt/1.5.18 (2008-05-17) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: tytso@mit.edu X-SA-Exim-Scanned: No (on thunker.thunk.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1940 Lines: 43 On Tue, Apr 14, 2009 at 01:23:37PM -0400, Steven Rostedt wrote: > > Removal of the two headers per trace system. No need to have > include/trace/sched.h and include/linux/sched_event_types.h > All the changes go into include/trace/sched.h. But note that how that > file is made is important. One could look at the sched.h file, or > skb.h, lockdep.h and kmem.h as an example. Hi Steven, One thing which I would really like is to avoid needing to drop the header file in include/trace/. The problem that I have with this is that for ext4, we need to access private data structures which are defined in header files in fs/ext4/*.h --- which we moved into fs/ext4 a long time ago at the request of those who felt include/linux/* was getting rather cluttered, and if a subsystem had header files which were only needed by files for that particular subsystems, they should be moved out of include/linux. I supported the above-mentioned cleanup, but it's causing problems given that include/trace/ext4_events_types.h (or include/trace/ext4.h in the new world order) needs access to various structure definitions in fs/ext4/*.h. I could move the required header files into include/linux/ext4_tracing_types.h --- which has the downside that it is a very random collection of data structures --- or I could entirely revert the cleanup we did long ago and move all of the ext4 header files back into include/linux. But better yet would be if there was some way we could tell the tracing subsystem that tracing header file for ext4 could be found in fs/ext4/ext4_trace.h. Any chance you could support something like this? Thanks, regards, - Ted -- 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/