Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754017AbZDMWZ2 (ORCPT ); Mon, 13 Apr 2009 18:25:28 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754598AbZDMWYn (ORCPT ); Mon, 13 Apr 2009 18:24:43 -0400 Received: from mx3.mail.elte.hu ([157.181.1.138]:49080 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754740AbZDMWYm (ORCPT ); Mon, 13 Apr 2009 18:24:42 -0400 Date: Tue, 14 Apr 2009 00:24:36 +0200 From: Ingo Molnar To: Frederic Weisbecker Cc: Zhaolei , Steven Rostedt , Tom Zanussi , linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] tracing, boottrace: Move include/trace/boot.h to include/linux/boottrace.h Message-ID: <20090413222436.GF8514@elte.hu> References: <49E2B763.8060706@cn.fujitsu.com> <20090413142531.GC5977@nowhere> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090413142531.GC5977@nowhere> User-Agent: Mutt/1.5.18 (2008-05-17) X-ELTE-VirusStatus: clean X-ELTE-SpamScore: -1.5 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.5 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.5 -1.5 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1724 Lines: 43 * Frederic Weisbecker wrote: > On Mon, Apr 13, 2009 at 11:54:11AM +0800, Zhaolei wrote: > > Impact: refactor code, no functionality changed > > > > Files in include/trace/ should be definition of tracepoints, and header > > file for boot trace should put to include/linux/. > > > > Signed-off-by: Zhao Lei > > --- > > Until now I had the opinion that it's good to let every tracing > headers to be placed in include/trace/* because they are not > useful for anything else than the tracer itself so that we don't > encumber include/linux for private things. > > So that we have both tracepoints/trace_events plus the low-level > tracers headers in include/trace/* > > I'm not opposite to this change, but seeing this patch and the > recent divide of kmemtrace headers, I would like to know the > opinion of Ingo and Steven about the strict role of > include/trace/* Is it only for tracepoints-like bits, or oslo > intended for every private tracing purposes? The header split itself is probably good to do - to keep the 'pure' portions of tracepoint definitions cleanly separated from more functional details like kmem tracer initialization. The move to include/linux/ is indeed more debatable. I think if a header says 'footrace.h' in its name, it could easily be in include/trace/foo.h instead? Makes for a tidier structure - include/linux/ is massively over-crowded already. Steve, what do you think? Ingo -- 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/