Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750898AbWISQNH (ORCPT ); Tue, 19 Sep 2006 12:13:07 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750905AbWISQNH (ORCPT ); Tue, 19 Sep 2006 12:13:07 -0400 Received: from opersys.com ([64.40.108.71]:23568 "EHLO www.opersys.com") by vger.kernel.org with ESMTP id S1750898AbWISQNG (ORCPT ); Tue, 19 Sep 2006 12:13:06 -0400 Message-ID: <45101965.3050509@opersys.com> Date: Tue, 19 Sep 2006 12:23:01 -0400 From: Karim Yaghmour Reply-To: karim@opersys.com Organization: Opersys inc. User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.0.6) Gecko/20060804 Fedora/1.0.4-0.5.1.fc5 SeaMonkey/1.0.4 MIME-Version: 1.0 To: "Martin J. Bligh" CC: Ingo Molnar , Mathieu Desnoyers , "Frank Ch. Eigler" , Paul Mundt , linux-kernel , Jes Sorensen , Andrew Morton , Tom Zanussi , Richard J Moore , Michel Dagenais , Christoph Hellwig , Greg Kroah-Hartman , Thomas Gleixner , William Cohen , ltt-dev@shafik.org, systemtap@sources.redhat.com, Alan Cox Subject: Re: [PATCH] Linux Kernel Markers References: <20060918234502.GA197@Krystal> <20060919081124.GA30394@elte.hu> <451008AC.6030006@google.com> In-Reply-To: <451008AC.6030006@google.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 939 Lines: 21 Martin J. Bligh wrote: > Why don't we just copy the whole damned function somewhere else, and > make an instrumented copy (as a kernel module)? If you're going to go with that, then why not just use a comment-based markup? Then your alternate copy gets to be generated from the same codebase. It also solves the inherent problem of decided on whether a macro-based markup is far too intrusive, since you can mildly allow yourself more verbosity in a comment. Not only that, but if it's comment-based, it's even forseable, though maybe not desirable, than *everything* that deals with this type of markup be maintained out of tree (i.e. scripts generating alternate functions and all.) Karim - 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/