Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758273AbZDNSV4 (ORCPT ); Tue, 14 Apr 2009 14:21:56 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752032AbZDNSVr (ORCPT ); Tue, 14 Apr 2009 14:21:47 -0400 Received: from mx3.mail.elte.hu ([157.181.1.138]:37935 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751636AbZDNSVq (ORCPT ); Tue, 14 Apr 2009 14:21:46 -0400 Date: Tue, 14 Apr 2009 20:21:00 +0200 From: Ingo Molnar To: Steven Rostedt Cc: linux-kernel@vger.kernel.org, Andrew Morton , Thomas Gleixner , Peter Zijlstra , Frederic Weisbecker , Theodore Tso , 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: <20090414182100.GB19814@elte.hu> 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-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: 1690 Lines: 41 * Steven Rostedt wrote: > include/trace/define_trace.h | 79 ++++++ > include/trace/ftrace.h | 493 +++++++++++++++++++++++++++++++++++ > include/trace/irq.h | 56 ++++- > include/trace/irq_event_types.h | 55 ---- > include/trace/kmem.h | 189 +++++++++++++- > include/trace/lockdep.h | 55 ++++- > include/trace/lockdep_event_types.h | 57 ---- > include/trace/sched.h | 336 +++++++++++++++++++++++- > include/trace/sched_event_types.h | 337 ------------------------ > include/trace/skb.h | 39 +++- > include/trace/skb_event_types.h | 38 --- > include/trace/trace_event_types.h | 7 - > include/trace/trace_events.h | 7 - Detail: we still have include/trace/kmem_event_types.h around - is that intentional? It isnt actually used by anything so we can git-rm it. Also, we mix tracepoint definition headers with other misc headers such as syscall.h or boot.h. I think it would be cleaner and better sructured to have these centrally enumerated tracepoint definitions separated in include/trace/events/. That sub-directory would _only_ include the TRACE_EVENT() definitions - nothing else. Hence it would also be a nice in-situ template collection for anyone adding new tracepoints. The existence of other headers really distracts from that. 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/