Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757994AbYGOPOA (ORCPT ); Tue, 15 Jul 2008 11:14:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753475AbYGOPNt (ORCPT ); Tue, 15 Jul 2008 11:13:49 -0400 Received: from casper.infradead.org ([85.118.1.10]:51140 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753363AbYGOPNs (ORCPT ); Tue, 15 Jul 2008 11:13:48 -0400 Subject: Re: [patch 01/15] Kernel Tracepoints From: Peter Zijlstra To: Mathieu Desnoyers Cc: akpm@linux-foundation.org, Ingo Molnar , linux-kernel@vger.kernel.org, Masami Hiramatsu , "Frank Ch. Eigler" , Hideo AOKI , Takashi Nishiie , Steven Rostedt , Alexander Viro , Eduard - Gabriel Munteanu , Paul E McKenney In-Reply-To: <20080715144628.GD20037@Krystal> References: <20080709145929.352201601@polymtl.ca> <20080709150043.693920317@polymtl.ca> <1216108237.12595.122.camel@twins> <20080715132543.GB20037@Krystal> <1216130593.12595.189.camel@twins> <20080715144628.GD20037@Krystal> Content-Type: text/plain Date: Tue, 15 Jul 2008 17:13:49 +0200 Message-Id: <1216134829.12595.207.camel@twins> Mime-Version: 1.0 X-Mailer: Evolution 2.22.2 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 874 Lines: 21 On Tue, 2008-07-15 at 10:46 -0400, Mathieu Desnoyers wrote: > Talking about headers, I have noticed that placing headers with the code > may not be as clean as I would hope. For instance, the kernel/irq-trace.h > header, when included from kernel/irq/handle.c, has to be included with: > > #include "../irq-trace.h" > > Which is not _that_ bad, but we we want to instrument the irq handler > found in arch/x86/kernel/cpu/mcheck/mce_intel_64.c, including > #include "../../../../../kernel/irq-trace.h" makes me go "yeeeek!" > > How about creating include/trace/irq.h and friends ? Might as well.. anybody else got opinions? -- 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/