Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751807AbWISPqz (ORCPT ); Tue, 19 Sep 2006 11:46:55 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751799AbWISPqz (ORCPT ); Tue, 19 Sep 2006 11:46:55 -0400 Received: from mx1.redhat.com ([66.187.233.31]:49876 "EHLO mx1.redhat.com") by vger.kernel.org with ESMTP id S1751807AbWISPqy (ORCPT ); Tue, 19 Sep 2006 11:46:54 -0400 Date: Tue, 19 Sep 2006 11:46:12 -0400 From: "Frank Ch. Eigler" 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 Message-ID: <20060919154612.GU3951@redhat.com> References: <20060918234502.GA197@Krystal> <20060919081124.GA30394@elte.hu> <451008AC.6030006@google.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qYrsQHciA3Wqs7Iv" Content-Disposition: inline In-Reply-To: <451008AC.6030006@google.com> User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1300 Lines: 45 --qYrsQHciA3Wqs7Iv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi - On Tue, Sep 19, 2006 at 08:11:40AM -0700, 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)? Then > reroute all the function calls through it [...] Interesting idea. Are you imagining this instrumented copy being built at kernel compile time (something like building a "-g -O0" parallel)? Or compiled anew from original sources after deployment? Or on-the-fly binary-level rewriting a la SPIN? > OK, it's not completely trivial to do, but simpler than kprobes [...] None of the three above are that easy. Do you have an implementation idea? - FChE --qYrsQHciA3Wqs7Iv Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFFEBDEVZbdDOm/ZT0RAgfzAJwJe38+wQbOEZ49RC1KKoXi0I/8UwCeMApv zO9M+y47+NCkPVB0ZlDEpyo= =qhrb -----END PGP SIGNATURE----- --qYrsQHciA3Wqs7Iv-- - 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/